# $Id: Portfile,v 1.5 2005/10/19 08:10:14 blb Exp $ PortSystem 1.0 name getopt version 1.1.3 revision 3 categories sysutils maintainers blb@opendarwin.org description Replacement getopt for shell script use long_description \ Getopt(1) is a program to help shell scripts parse command-line \ parameters. It can do anything that the GNU getopt(3) routines can do. \ It can cope with spaces and shell metacharacters within arguments. \ It can parse long parameters. \ It can shuffle parameters, so you can mix options and other parameters on \ the command-line. \ It can be easily identified as an enhanced getopt(1) from within shell \ scripts. \ It can report parse errors as coming from the shell script. \ It is fully compatible with other getopt(1) implementations. platforms darwin homepage http://huizen.dds.nl/~frodol/getopt.html master_sites http://huizen.dds.nl/~frodol/ checksums md5 7b7637dcb0ac531f1af29f4d6b018e86 patchfiles patch-Makefile depends_lib lib:libintl.3:gettext use_configure no build.args LIBCGETOPT=0 prefix=${prefix} mandir=${prefix}/share/man destroot.args ${build.args} post-destroot { xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name} xinstall -m 644 -W ${worksrcpath} COPYING Changelog README TODO \ ${destroot}${prefix}/share/doc/${name} }