Ticket #331: Portfile.2

File Portfile.2, 1003 bytes (added by sean@…, 21 years ago)

*NEW* Portfile for libgnugetopt

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