1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-01 05:45:45 +00:00
freebsd-ports/devel/gengetopt/Makefile
Renato Botelho 906853f642 - Update to 2.16. This version adds the following features:
* a --full-help option is generated that shows also hidden options
        * multiple parsers can be linked into the same executable (even
          when using configuration files, thanks to Andre Noll)
        * when invoking getopt_long, discard any pointers to previously
          scanned command lines (thanks to Andre Noll)
        * fixed a bug in generation of help strings that might cause
          a seg fault (reported by Paul Biggar)

PR:		ports/95329
Submitted by:	maintainer
2006-04-05 19:44:29 +00:00

37 lines
884 B
Makefile

# ex:ts=8
# New ports collection makefile for: gengetopt
# Date created: 12 October 2000
# Whom: Cyrille Lefevre <clefevre@citeweb.net>
#
# $FreeBSD$
#
PORTNAME= gengetopt
PORTVERSION= 2.16
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= laszlof@vonostingroup.com
COMMENT= A tool for generating a C function which parses command line arguments
GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
USE_GMAKE= yes
MAN1= gengetopt.1
INFO= gengetopt
post-patch:
@${RM} ${WRKSRC}/doc/gengetopt.info
.if defined(NOPORTDOCS)
do-install:
@cd ${INSTALL_WRKSRC}/src && ${SETENV} ${MAKE_ENV} ${GMAKE} \
${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} install
@cd ${INSTALL_WRKSRC}/doc && ${SETENV} ${MAKE_ENV} ${GMAKE} \
${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} install-man
.endif
.include <bsd.port.mk>