# $Id: Portfile 53071 2009-06-29 02:35:29Z jmr@macports.org $

PortSystem 1.0
name		gengetopt
version		2.22
categories	devel
maintainers	waqar
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 346f35c9e0607733b26dcbba9fbbfa8c \
		sha1 50b7c422a46d1d620eb1d2a039beaf77dc0cc5de
configure.args   --enable-warnings \
	--infodir=${prefix}/share/info --mandir=${prefix}/share/man

use_parallel_build no

test.run	yes
test.target	check
