aboutsummaryrefslogtreecommitdiffstats
path: root/java/jakarta-commons-discovery
diff options
context:
space:
mode:
authorolgeni <olgeni@FreeBSD.org>2014-05-14 20:07:23 +0800
committerolgeni <olgeni@FreeBSD.org>2014-05-14 20:07:23 +0800
commit4c1829c9a01d3ce481031cb7e3b2027b8cab268f (patch)
treebe0aa5501096e7c3af20b17567db873f0995193d /java/jakarta-commons-discovery
parent3ef8135d2269877faf1061d08b3bc2101d926ec2 (diff)
downloadfreebsd-ports-gnome-4c1829c9a01d3ce481031cb7e3b2027b8cab268f.tar.gz
freebsd-ports-gnome-4c1829c9a01d3ce481031cb7e3b2027b8cab268f.tar.zst
freebsd-ports-gnome-4c1829c9a01d3ce481031cb7e3b2027b8cab268f.zip
Add staging support.
Diffstat (limited to 'java/jakarta-commons-discovery')
-rw-r--r--java/jakarta-commons-discovery/Makefile11
1 files changed, 3 insertions, 8 deletions
diff --git a/java/jakarta-commons-discovery/Makefile b/java/jakarta-commons-discovery/Makefile
index 9cf973ef213b..d8f42816d01f 100644
--- a/java/jakarta-commons-discovery/Makefile
+++ b/java/jakarta-commons-discovery/Makefile
@@ -23,16 +23,11 @@ PORTDOCS= *
JARFILE= ${PORTNAME}.jar
PLIST_FILES+= %%JAVAJARDIR%%/${JARFILE}
-NO_STAGE= yes
do-install:
- @${ECHO_MSG} -n ">> Installing JAR as ${JAVAJARDIR}/${JARFILE}..."
- @${INSTALL_DATA} ${WRKSRC}/${PORTNAME}-${PORTVERSION}.jar ${JAVAJARDIR}/${JARFILE}
- @${ECHO_MSG} " [ DONE ]"
+ ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}-${PORTVERSION}.jar ${STAGEDIR}${JAVAJARDIR}/${JARFILE}
.if !defined(NOPORTDOCS)
- @${ECHO_MSG} -n ">> Installing documentation..."
- @cd ${WRKSRC}/apidocs && ${FIND} . -type d -exec ${MKDIR} ${DOCSDIR}/{} \;
- @cd ${WRKSRC}/apidocs && ${FIND} . -type f -exec ${INSTALL_DATA} {} ${DOCSDIR}/{} \;
- @${ECHO_MSG} " [ DONE ]"
+ cd ${WRKSRC}/apidocs && ${FIND} . -type d -exec ${MKDIR} ${STAGEDIR}${DOCSDIR}/{} \;
+ cd ${WRKSRC}/apidocs && ${FIND} . -type f -exec ${INSTALL_DATA} {} ${STAGEDIR}${DOCSDIR}/{} \;
.endif
.include <bsd.port.mk>