# $Id: Portfile,v 1.6 2004/11/29 22:29:02 toby Exp $ PortSystem 1.0 name gnugetopt version 1.2 distname libgnugetopt-${version} categories devel maintainers sean@sfarc.net description GNU getopt library platforms darwin master_sites freebsd:lioux checksums md5 356d12620d006a71a307f339803a86a2 use_bzip2 yes patchfiles patch-Makefile.am patch-configure.ac post-patch { set path "${worksrcpath}" system "aclocal -I .; glibtoolize --automake" reinplace "s|-flat_namespace -undefined suppress|-undefined error|g" aclocal.m4 } use_automake yes automake.args --add-missing use_autoconf yes configure.args --disable-static long_description GNU getopt library similar but more powerful than the \ standard getopt(3). It includes the GNU-style getopt_long() function.