bcallah aa495b01f4 Import devel/gengetopt
ok benoit@ landry@

gengetopt generates a C function that uses getopt_long function to parse
the command line options, to validate them and fill a struct.

gengetopt is perfect if you are too lazy 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.
2014-11-13 20:39:46 +00:00

21 lines
423 B
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2014/11/13 20:39:46 bcallah Exp $
V = 2.22.6
COMMENT = command line parser for c programs
DISTNAME = gengetopt-${V}
CATEGORIES = devel
MAINTAINER = Brian Callahan <bcallah@openbsd.org>
HOMEPAGE = http://www.gnu.org/software/gengetopt/
# GPLv3+
PERMIT_PACKAGE_CDROM = Yes
WANTLIB += c m stdc++
MASTER_SITES = ${MASTER_SITE_GNU:=gengetopt/}
CONFIGURE_STYLE = gnu
.include <bsd.port.mk>