1 | # $Id: Portfile,v 1.2 2003/03/03 06:18:04 mij Exp $ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | name libgnugetopt |
---|
5 | version 1.2 |
---|
6 | categories devel |
---|
7 | maintainers sean@sfarc.net |
---|
8 | description GNU getopt library |
---|
9 | platforms darwin |
---|
10 | master_sites ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/lioux/ \ |
---|
11 | ftp://ftp.se.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/lioux/ \ |
---|
12 | ftp://ftp.uk.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/lioux/ \ |
---|
13 | ftp://ftp.ru.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/lioux/ \ |
---|
14 | ftp://ftp.jp.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/lioux/ \ |
---|
15 | ftp://ftp.tw.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/lioux/ |
---|
16 | checksums md5 356d12620d006a71a307f339803a86a2 |
---|
17 | use_bzip2 yes |
---|
18 | patchfiles patch-Makefile.am patch-configure.ac |
---|
19 | post-patch { |
---|
20 | set path "${worksrcpath}" |
---|
21 | system "aclocal -I .; glibtoolize --automake" |
---|
22 | reinplace "s|-flat_namespace -undefined suppress|-undefined error|g" aclocal.m4 |
---|
23 | } |
---|
24 | use_automake yes |
---|
25 | automake.args --add-missing |
---|
26 | use_autoconf yes |
---|
27 | configure.args --disable-static |
---|
28 | |
---|
29 | |
---|
30 | long_description GNU getopt library similar but more powerful than the \ |
---|
31 | standard getopt(3). It includes the GNU-style getopt_long() function. |
---|