# $Id: Portfile,v 1.9 2005/09/03 22:12:22 toby Exp $

PortSystem 1.0
name		gengetopt
version		2.14
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 de069887122ab0d8471cca92ebd5dadb
configure.args   --enable-warnings \
	--infodir=${prefix}/share/info --mandir=${prefix}/share/man

test.run	yes
test.target	check
