svn commit: r309743 - head/archivers/szip
Baptiste Daroussin
bapt at FreeBSD.org
Mon Dec 31 14:08:49 UTC 2012
Author: bapt
Date: Mon Dec 31 14:08:48 2012
New Revision: 309743
URL: http://svnweb.freebsd.org/changeset/ports/309743
Log:
Use PORT_OPTIONS:MDOCS instead of NOPORTDOCS
Modified:
head/archivers/szip/Makefile
Modified: head/archivers/szip/Makefile
==============================================================================
--- head/archivers/szip/Makefile Mon Dec 31 14:07:52 2012 (r309742)
+++ head/archivers/szip/Makefile Mon Dec 31 14:08:48 2012 (r309743)
@@ -20,6 +20,8 @@ WRKSRC= ${WRKDIR}
PLIST_FILES= bin/${PORTNAME}
PORTDOCS= *.txt
+.include <bsd.port.options.mk>
+
post-patch:
@${REINPLACE_CMD} -e 's,more logfile,cat logfile,' \
-e "s,^CFLAGS.*,CFLAGS= ${CFLAGS}," \
@@ -30,7 +32,7 @@ do-build:
do-install:
${INSTALL_PROGRAM} ${WRKDIR}/${PORTNAME} ${PREFIX}/bin
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKDIR}/*.txt ${DOCSDIR}
.endif
More information about the svn-ports-head
mailing list