Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Dec 2015 18:33:24 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r403333 - head/java/jakarta-commons-codec
Message-ID:  <201512081833.tB8IXOe0005320@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Tue Dec  8 18:33:24 2015
New Revision: 403333
URL: https://svnweb.freebsd.org/changeset/ports/403333

Log:
  - Switch to options helpers
  
  Approved by:	portmgr blanket

Modified:
  head/java/jakarta-commons-codec/Makefile

Modified: head/java/jakarta-commons-codec/Makefile
==============================================================================
--- head/java/jakarta-commons-codec/Makefile	Tue Dec  8 18:23:29 2015	(r403332)
+++ head/java/jakarta-commons-codec/Makefile	Tue Dec  8 18:33:24 2015	(r403333)
@@ -24,8 +24,6 @@ PLIST_FILES=	%%JAVAJARDIR%%/${PORTNAME}.
 
 PORTDOCS=	*
 
-.include <bsd.port.options.mk>
-
 post-patch:
 	@${REINPLACE_CMD} 's/1.9-SNAPSHOT/1.10/' ${WRKSRC}/default.properties
 
@@ -34,7 +32,8 @@ do-install:
 	@${INSTALL_DATA} ${WRKSRC}/dist/${PORTNAME}-${PORTVERSION}.jar \
 		${STAGEDIR}${JAVAJARDIR}/${PORTNAME}.jar
 	@${ECHO_MSG} " [DONE]"
-.if ${PORT_OPTIONS:MDOCS}
+
+do-install-DOCS-on:
 	@${ECHO_MSG} -n ">> Installing documentation..."
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	@cd ${WRKSRC}/dist/docs && ${FIND} api \
@@ -42,6 +41,5 @@ do-install:
 	@${INSTALL_DATA} ${WRKSRC}/dist/RELEASE-NOTES.txt \
 		${STAGEDIR}${DOCSDIR}/
 	@${ECHO_MSG} " [DONE]"
-.endif
 
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201512081833.tB8IXOe0005320>