# $Id: Portfile,v 1.6 2004/02/03 00:30:07 waqar Exp $ PortSystem 1.0 name gengetopt version 2.11 categories devel maintainers waqar@opendarwin.org description Generates a C function that uses getopt_long function long_description \ This program generates a C function that uses getopt_long \ function to parse the command line options, to validate them \ and fills a struct. Thus your program can now handle options \ such as: \ myprog --input foo.c -o foo.o --no-tabs -i 100 *.class \ And both long options (those that start with --) and short \ options (start with - and consist of only one character) can \ be handled. gengetopt is perfect if you are too lazy (like me) \ to write all stuff required to call getopt_long, and when you \ have a program and wish it took options. Generated code works \ if you use GNU Autoconf or GNU Automake . homepage http://www.gnu.org/software/gengetopt/gengetopt.html platforms darwin master_sites gnu checksums md5 4ddcd17c7fb3c79f99fad1506b192baf configure.args --infodir=${prefix}/share/info --mandir=${prefix}/share/man