From owner-svn-ports-all@FreeBSD.ORG Mon May 12 15:50:20 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 84D4CAB3; Mon, 12 May 2014 15:50:20 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 583E22352; Mon, 12 May 2014 15:50:20 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s4CFoKsr005193; Mon, 12 May 2014 15:50:20 GMT (envelope-from ale@svn.freebsd.org) Received: (from ale@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s4CFoKUj005192; Mon, 12 May 2014 15:50:20 GMT (envelope-from ale@svn.freebsd.org) Message-Id: <201405121550.s4CFoKUj005192@svn.freebsd.org> From: Alex Dupre Date: Mon, 12 May 2014 15:50:20 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r353844 - head/java/jakarta-commons-dbcp X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 May 2014 15:50:20 -0000 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 + +.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