Convert to OptionsNG

Feature safe:	yes
This commit is contained in:
Eitan Adler 2012-10-20 14:59:43 +00:00
parent 3e21c82eb1
commit 990e3a8060
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=306182

View file

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= getopt
PORTVERSION= 1.1.4
PORTVERSION= 1.1.5
PORTREVISION= 2
CATEGORIES= misc
MASTER_SITES= http://software.frodo.looijaard.name/getopt/files/
@ -20,10 +20,12 @@ MAKE_ENV= LIBCGETOPT=0
MAN1= getopt.1
DOCS= Changelog README
.include <bsd.port.options.mk>
post-patch:
@${REINPLACE_CMD} -e 's|CC=gcc|CC=${CC}|' ${WRKSRC}/Makefile
.if !defined(NOPORTDOCS)
.if ${PORT_OPTIONS:MDOCS}
post-install:
@${MKDIR} ${DOCSDIR}
@cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}