aboutsummaryrefslogtreecommitdiff
path: root/misc/getopt
diff options
context:
space:
mode:
authorEitan Adler <eadler@FreeBSD.org>2012-10-20 14:59:43 +0000
committerEitan Adler <eadler@FreeBSD.org>2012-10-20 14:59:43 +0000
commit990e3a8060128f7d47915f54d64dfce43de220cf (patch)
treeee221fc0d484643f80fe53645981d0fd3072222b /misc/getopt
parent3e21c82eb1d7b4ea400c1dacff1abde1fcd16626 (diff)
downloadports-990e3a8060128f7d47915f54d64dfce43de220cf.tar.gz
ports-990e3a8060128f7d47915f54d64dfce43de220cf.zip
Notes
Diffstat (limited to 'misc/getopt')
-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}