aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>2014-05-19 08:14:33 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>2014-05-19 08:14:33 +0000
commitd1b5697e9f20ceb0944dbea4599d4261314ca9b6 (patch)
tree3223613ccd7101e55e4cab4db40cfe3091261959
parent583bad418784d541b7c9faf5bdd69cc85819dd4d (diff)
downloadports-d1b5697e9f20ceb0944dbea4599d4261314ca9b6.tar.gz
ports-d1b5697e9f20ceb0944dbea4599d4261314ca9b6.zip
support staging.
Approved by: portmgr@
Notes
Notes: svn path=/head/; revision=354515
-rw-r--r--databases/jakarta-commons-dbutils/Makefile9
1 files changed, 4 insertions, 5 deletions
diff --git a/databases/jakarta-commons-dbutils/Makefile b/databases/jakarta-commons-dbutils/Makefile
index e580c66f5e27..8c82d04354ca 100644
--- a/databases/jakarta-commons-dbutils/Makefile
+++ b/databases/jakarta-commons-dbutils/Makefile
@@ -27,22 +27,21 @@ PLIST_FILES= %%JAVAJARDIR%%/${PORTNAME}.jar
PORTDOCS= LICENSE.txt api
.endif
-NO_STAGE= yes
post-patch:
${REINPLACE_CMD} -e 's|%%JAVALIBDIR%%|${JAVALIBDIR}|' ${WRKSRC}/build.xml
do-install:
@${ECHO_MSG} -n ">> Installing JAR as ${JAVAJARDIR}/${PORTNAME}.jar..."
@${INSTALL_DATA} ${WRKSRC}/dist/commons-dbutils-1.1.jar \
- ${JAVAJARDIR}/${PORTNAME}.jar
+ ${STAGEDIR}${JAVAJARDIR}/${PORTNAME}.jar
@${ECHO_MSG} " [DONE]"
.if !defined(NOPORTDOCS)
@${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
@${INSTALL_DATA} ${WRKSRC}/dist/LICENSE.txt \
- ${DOCSDIR}/
+ ${STAGEDIR}${DOCSDIR}/
@${ECHO_MSG} " [DONE]"
.endif