aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authoreadler <eadler@FreeBSD.org>2012-10-20 22:59:43 +0800
committereadler <eadler@FreeBSD.org>2012-10-20 22:59:43 +0800
commit1d4373f590d4f06af4d258e0f7883ba58d4080bc (patch)
treeee221fc0d484643f80fe53645981d0fd3072222b /misc
parentca889b6e36714294707d40de3183eb1f44dd703c (diff)
downloadfreebsd-ports-gnome-1d4373f590d4f06af4d258e0f7883ba58d4080bc.tar.gz
freebsd-ports-gnome-1d4373f590d4f06af4d258e0f7883ba58d4080bc.tar.zst
freebsd-ports-gnome-1d4373f590d4f06af4d258e0f7883ba58d4080bc.zip
Convert to OptionsNG
Feature safe: yes
Diffstat (limited to 'misc')
-rw-r--r--misc/getopt/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/misc/getopt/Makefile b/misc/getopt/Makefile
index f8bfc81a98c1..fa43ed0fdf40 100644
--- a/misc/getopt/Makefile
+++ b/misc/getopt/Makefile
@@ -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}