Date: Mon, 12 May 2014 15:51:52 +0000 (UTC) From: Alex Dupre <ale@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r353847 - head/java/jakarta-commons-pool Message-ID: <201405121551.s4CFpqXw008845@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ale Date: Mon May 12 15:51:52 2014 New Revision: 353847 URL: http://svnweb.freebsd.org/changeset/ports/353847 QAT: https://qat.redports.org/buildarchive/r353847/ Log: Stagify. Modified: head/java/jakarta-commons-pool/Makefile Modified: head/java/jakarta-commons-pool/Makefile ============================================================================== --- head/java/jakarta-commons-pool/Makefile Mon May 12 15:51:34 2014 (r353846) +++ head/java/jakarta-commons-pool/Makefile Mon May 12 15:51:52 2014 (r353847) @@ -12,30 +12,36 @@ DISTNAME= ${PORTNAME}-${PORTVERSION}-src MAINTAINER= ale@FreeBSD.org COMMENT= Jakarta Object-pooling API +LICENSE= APACHE20 + +OPTIONS_DEFINE= DOCS + USE_JAVA= yes JAVA_VERSION= 1.6+ USE_ANT= yes ALL_TARGET= build-jar -.if !defined(NOPORTDOCS) -ALL_TARGET+= javadoc -.endif + +PLIST_FILES= %%JAVAJARDIR%%/${PORTNAME}.jar PORTDOCS= * -PLIST_FILES= %%JAVAJARDIR%%/${PORTNAME}.jar +.include <bsd.port.options.mk> + +.if ${PORT_OPTIONS:MDOCS} +ALL_TARGET+= javadoc +.endif -NO_STAGE= yes do-install: @${ECHO_MSG} -n ">> Installing JAR as ${JAVAJARDIR}/${PORTNAME}.jar..." @${INSTALL_DATA} ${WRKSRC}/dist/${PORTNAME}-${PORTVERSION}.jar \ - ${JAVAJARDIR}/${PORTNAME}.jar + ${STAGEDIR}${JAVAJARDIR}/${PORTNAME}.jar @${ECHO_MSG} " [ DONE ]" -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} @${ECHO_MSG} -n ">> Installing documentation in ${DOCSDIR}..." - @${MKDIR} ${DOCSDIR} + @${MKDIR} ${STAGEDIR}${DOCSDIR} @cd ${WRKSRC}/dist/docs && ${FIND} api \ - | ${CPIO} -pdmu -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR} > /dev/null 2>&1 + | ${CPIO} -pdmu -R ${SHAREOWN}:${SHAREGRP} ${STAGEDIR}${DOCSDIR} > /dev/null 2>&1 @${ECHO_MSG} " [ DONE ]" .endif
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201405121551.s4CFpqXw008845>