a project to simplify installation of open source software
on Mac OS X and Darwin
# $Id: Portfile 20265 2006-11-01 00:54:52Z blair@macports.org $
PortSystem 1.0
name argtable
version 2.4
revision 0
categories devel
maintainers waqar@macports.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
}