Ticket #10853: Portfile

File Portfile, 1.5 KB (added by blair (Blair Zajac), 18 years ago)
Line 
1PortSystem 1.0
2name             coreutils
3version          5.97
4categories       sysutils
5maintainers      toby@opendarwin.org
6description      GNU File, Shell, and Text utilities
7long_description \
8    The GNU Core Utilities are the basic file, shell, and text manipulation \
9    utilities of the GNU operating system. These are the core utilities which \
10    are expected to exist on every operating system. Previously these \
11    utilities were offered as three individual sets of GNU utilities, \
12    fileutils, shellutils, and textutils. Those three have been combined into \
13    a single set of utilities called the coreutils.
14homepage         http://www.gnu.org/software/coreutils/
15platforms        darwin
16
17master_sites     gnu
18use_bzip2        yes
19checksums        md5 1537379b6264a1def443713988a78020 \
20                 sha1 6a5cf0b15433569af0de9a7bc3f4ef281d876b31 \
21                 rmd160 96750ad46f0ae1d4af3c714076b5c384a2b901a9
22
23configure.args   --program-prefix=g \
24                 --infodir=${prefix}/share/info \
25                 --mandir=${prefix}/share/man \
26                 --disable-nls
27
28test.run        yes
29test.env        RUN_EXPENSIVE_TESTS=yes
30test.target     check
31
32post-destroot {
33        file delete -force ${destroot}${prefix}/share/info/dir
34        file delete -force ${destroot}${prefix}/lib/charset.alias
35}
36
37post-destroot {
38        if {[variant_isset normal_install_names]} {
39                system "cd ${destroot}${prefix}/bin && for f in g*; do ln -s \$f `echo \$f | sed -e 's/^g//'`; done"
40        }
41}
42
43variant normal_install_names {
44}