This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Add the files from dist/meta to perl's repo
[metaconfig.git] / dist / U / pkgsrc.U
1 ?RCS: $Id: pkgsrc.U 1 2006-08-24 12:32:52Z rmanfredi $
2 ?RCS:
3 ?RCS: Copyright (c) 1991-1997, 2004-2006, Raphael Manfredi
4 ?RCS: 
5 ?RCS: You may redistribute only under the terms of the Artistic Licence,
6 ?RCS: as specified in the README file that comes with the distribution.
7 ?RCS: You may reuse parts of this distribution only within the terms of
8 ?RCS: that same Artistic Licence; a copy of which may be found at the root
9 ?RCS: of the source tree for dist 4.0.
10 ?RCS:
11 ?MAKE:pkgsrc: src rsrc
12 ?MAKE:  -pick add $@ %<
13 ?S:pkgsrc:
14 ?S:     This variable holds the absolute path of the package source.
15 ?S:.
16 ?C:PACKAGE_SOURCE_DIR:
17 ?C: Holds the directory name holding the package source.
18 ?C:.
19 ?H:#define PACKAGE_SOURCE_DIR "$pkgsrc"
20 ?H:.
21 : define absolute package source directory
22 case "$src" in
23 /*) pkgsrc=$src;;
24 *) pkgsrc=`cd $rsrc; pwd`;;
25 esac
26