svn commit: r309740 - head/archivers/jzlib

Baptiste Daroussin bapt at FreeBSD.org
Mon Dec 31 14:06:00 UTC 2012


Author: bapt
Date: Mon Dec 31 14:05:59 2012
New Revision: 309740
URL: http://svnweb.freebsd.org/changeset/ports/309740

Log:
  Use PORT_OPTIONS:MDOCS instead of NOPORTDOCS

Modified:
  head/archivers/jzlib/Makefile

Modified: head/archivers/jzlib/Makefile
==============================================================================
--- head/archivers/jzlib/Makefile	Mon Dec 31 13:34:42 2012	(r309739)
+++ head/archivers/jzlib/Makefile	Mon Dec 31 14:05:59 2012	(r309740)
@@ -39,6 +39,7 @@ PLIST_FILES+=	%%EXAMPLESDIR%%/${file}
 PLIST_DIRS+=	\
 		%%EXAMPLESDIR%%
 
+.include <bsd.port.options.mk>
 do-build:
 	@cd ${WRKSRC}/src/main/java && ${FIND} com -name "*.java" | \
 		${XARGS} -n 10 -x \
@@ -49,7 +50,7 @@ do-build:
 
 do-install:
 # docs
-.ifndef(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
 	@${MKDIR} ${DOCSDIR}
 . for file in ${DOC_FILES}
 	@${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}


More information about the svn-ports-all mailing list