Ticket #331: Portfile.3

File Portfile.3, 1.4 KB (added by sean@…, 21 years ago)

NEW Portfile

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