Date: Mon, 12 May 2014 15:50:20 +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: r353844 - head/java/jakarta-commons-dbcp Message-ID: <201405121550.s4CFoKUj005192@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ale Date: Mon May 12 15:50:19 2014 New Revision: 353844 URL: http://svnweb.freebsd.org/changeset/ports/353844 QAT: https://qat.redports.org/buildarchive/r353844/ Log: Stagify. Modified: head/java/jakarta-commons-dbcp/Makefile Modified: head/java/jakarta-commons-dbcp/Makefile ============================================================================== --- head/java/jakarta-commons-dbcp/Makefile Mon May 12 15:49:02 2014 (r353843) +++ head/java/jakarta-commons-dbcp/Makefile Mon May 12 15:50:19 2014 (r353844) @@ -12,35 +12,41 @@ DISTNAME= ${PORTNAME}-${PORTVERSION}-src MAINTAINER= ale@FreeBSD.org COMMENT= The DBCP Component +LICENSE= APACHE20 + BUILD_DEPENDS= ${JAVALIBDIR}/commons-pool.jar:${PORTSDIR}/java/jakarta-commons-pool \ ${JAVALIBDIR}/jta.jar:${PORTSDIR}/java/jta RUN_DEPENDS= ${JAVALIBDIR}/commons-pool.jar:${PORTSDIR}/java/jakarta-commons-pool \ ${JAVALIBDIR}/jta.jar:${PORTSDIR}/java/jta +OPTIONS_DEFINE= DOCS + USE_JAVA= yes JAVA_VERSION= 1.6+ USE_ANT= yes MAKE_ENV= ANT_INCLUDE_SHARED_JARS=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} -n ">> Installing JAR as ${JAVAJARDIR}/${PORTNAME}.jar..." - @${INSTALL_DATA} ${WRKSRC}/dist/${PORTNAME}.jar ${JAVAJARDIR}/ + @${INSTALL_DATA} ${WRKSRC}/dist/${PORTNAME}.jar ${STAGEDIR}${JAVAJARDIR}/ @${ECHO} " [ DONE ]" -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} @${ECHO} -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} " [ DONE ]" .endif
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201405121550.s4CFoKUj005192>