# $Id: Portfile,v 1.1 2005/02/01 04:33:40 waqar Exp $

PortSystem	1.0
name		argtable 
version		2.4
revision	0
categories	devel
maintainers	waqar@opendarwin.org
description	ANSI C library for parsing GNU style command line arguments
long_description	\
	Argtable is an ANSI C library for parsing GNU style command 	\
	line arguments, as in foo -abc -o myfile --help --count=7. 	\
	It enables a program's command line syntax to be defined in 	\
	the source code as an array of argtable structs. The parsing 	\
	itself is done using GNU getopt and so is 100% GNU compatible.
homepage	http://argtable.sourceforge.net
platforms	darwin
master_sites	sourceforge
checksums	md5 82314de9a369565deef02d76332e1d27			\
		sha1 b82f629937335c09d69038cbe6594676396738bf
worksrcdir	${name}2
configure.args  --mandir=${prefix}/share/man				\
		--infodir=${prefix}/share/info
post-configure	{
	reinplace "s|${prefix}|${destroot}${prefix}|g" ${worksrcpath}/Makefile
}
