1 | # $Id: Portfile,v 1.14 2004/12/10 19:48:12 landonf Exp $ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | name popt |
---|
5 | version 1.7 |
---|
6 | revision 3 |
---|
7 | categories devel |
---|
8 | maintainers landonf@opendarwin.org |
---|
9 | description A getopt(3) like library with a number of enhancements |
---|
10 | long_description popt is a command line parsing library. It contains a number of enhancements over getopt(3), including being fully reentrant, allowing users to alias command line arguments, providing convience functions for parsing strings into argv[] style arrays and popt can parse arbitrary argv[] style arrays. |
---|
11 | |
---|
12 | platforms darwin |
---|
13 | master_sites ftp://ftp.rpm.org/pub/rpm/dist/rpm-4.1.x/ \ |
---|
14 | ftp://ftp.mirror.ac.uk/sites/ftp.rpm.org/pub/rpm/dist/rpm-4.1.x/ |
---|
15 | |
---|
16 | depends_lib lib:libintl.3:gettext |
---|
17 | |
---|
18 | post-patch { |
---|
19 | file copy -force /usr/share/libtool/config.guess ${worksrcpath}/config.guess |
---|
20 | file copy -force /usr/share/libtool/config.sub ${worksrcpath}/config.sub |
---|
21 | } |
---|
22 | |
---|
23 | configure.args --mandir=${prefix}/share/man |
---|
24 | |
---|
25 | destroot.args localedir=${prefix}/share/locale |
---|
26 | post-destroot { |
---|
27 | file delete -force ${destroot}${prefix}/share/locale/locale.alias |
---|
28 | file delete -force ${destroot}${prefix}/lib/charset.alias |
---|
29 | } |
---|
30 | |
---|
31 | checksums md5 5988e7aeb0ae4dac8d83561265984cc9 |
---|
32 | |
---|
33 | platform darwin 6 { |
---|
34 | configure.args --mandir=${prefix}/share/man --with-included-gettext |
---|
35 | } |
---|
36 | |
---|
37 | platform darwin 8 { |
---|
38 | configure.args --mandir=${prefix}/share/man --with-included-gettext |
---|
39 | } |
---|