Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 May 2014 15:51:11 +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: r353845 - head/java/jakarta-commons-httpclient
Message-ID:  <201405121551.s4CFpBAb007622@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ale
Date: Mon May 12 15:51:11 2014
New Revision: 353845
URL: http://svnweb.freebsd.org/changeset/ports/353845
QAT: https://qat.redports.org/buildarchive/r353845/

Log:
  Stagify.

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

Modified: head/java/jakarta-commons-httpclient/Makefile
==============================================================================
--- head/java/jakarta-commons-httpclient/Makefile	Mon May 12 15:50:19 2014	(r353844)
+++ head/java/jakarta-commons-httpclient/Makefile	Mon May 12 15:51:11 2014	(r353845)
@@ -20,6 +20,8 @@ BUILD_DEPENDS+=	${JAVAJARDIR}/commons-co
 RUN_DEPENDS=	${JAVAJARDIR}/commons-logging.jar:${PORTSDIR}/java/jakarta-commons-logging
 RUN_DEPENDS+=	${JAVAJARDIR}/commons-codec.jar:${PORTSDIR}/java/jakarta-commons-codec
 
+OPTIONS_DEFINE=	DOCS
+
 USE_JAVA=	yes
 JAVA_VERSION=	1.6+
 USE_ANT=	yes
@@ -32,10 +34,6 @@ PLIST_FILES=	%%JAVAJARDIR%%/${PORTNAME}.
 
 PORTDOCS=	*
 
-NO_STAGE=	yes
-
-OPTIONS_DEFINE=	DOCS
-
 .include <bsd.port.options.mk>
 
 post-patch:
@@ -45,13 +43,13 @@ post-patch:
 
 do-install:
 	@${ECHO_MSG} -n ">> Installing JAR file as ${JAVAJARDIR}/${PORTNAME}.jar..."
-	@${INSTALL_DATA} ${WRKSRC}/dist/${PORTNAME}.jar ${JAVAJARDIR}/
+	@${INSTALL_DATA} ${WRKSRC}/dist/${PORTNAME}.jar ${STAGEDIR}${JAVAJARDIR}/
 	@${ECHO_MSG} " [DONE]"
 .if ${PORT_OPTIONS:MDOCS}
 	@${ECHO_MSG} -n ">> Installing documentation..."
-	@${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.s4CFpBAb007622>