# $Id: Portfile,v 1.3 2003/07/31 22:07:46 waqar Exp $ PortSystem 1.0 name gengetopt version 2.10 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:${name} checksums md5 36f65ef33f937252636dd16e75da6681