aboutsummaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
authorolgeni <olgeni@FreeBSD.org>2014-05-14 20:41:33 +0800
committerolgeni <olgeni@FreeBSD.org>2014-05-14 20:41:33 +0800
commit5b2606d7c18d680211039e7326920cbde84395a7 (patch)
tree32d2fadc5f68cd9e58df0beb5053a9e0a274b3b3 /java
parent7181acec1a2ba4a257267c8e08754e6ec5fe697b (diff)
downloadfreebsd-ports-gnome-5b2606d7c18d680211039e7326920cbde84395a7.tar.gz
freebsd-ports-gnome-5b2606d7c18d680211039e7326920cbde84395a7.tar.zst
freebsd-ports-gnome-5b2606d7c18d680211039e7326920cbde84395a7.zip
Add staging support.
Diffstat (limited to 'java')
-rw-r--r--java/jfreechart/Makefile18
1 files changed, 5 insertions, 13 deletions
diff --git a/java/jfreechart/Makefile b/java/jfreechart/Makefile
index f8d9f7904828..d5bcb13c2d6c 100644
--- a/java/jfreechart/Makefile
+++ b/java/jfreechart/Makefile
@@ -30,7 +30,6 @@ PORTDOCS= *
PLIST_FILES= %%JAVAJARDIR%%/jfreechart.jar \
%%JAVAJARDIR%%/gnujaxp.jar
-NO_STAGE= yes
pre-fetch:
@${ECHO_MSG} ""
@${ECHO_MSG} "You may use the following build options:"
@@ -39,19 +38,12 @@ pre-fetch:
@${ECHO_MSG} ""
do-install:
- @${ECHO_MSG} -n ">> Installing .jar files in ${JAVAJARDIR}/..."
- @${INSTALL_DATA} ${WRKSRC}/lib/${PORTNAME}-${PORTVERSION}.jar ${JAVAJARDIR}/${PORTNAME}.jar
- @${INSTALL_DATA} ${WRKSRC}/lib/gnujaxp.jar ${JAVAJARDIR}/gnujaxp.jar
- @${ECHO_MSG} " [DONE]"
+ ${INSTALL_DATA} ${WRKSRC}/lib/${PORTNAME}-${PORTVERSION}.jar ${STAGEDIR}${JAVAJARDIR}/${PORTNAME}.jar
+ ${INSTALL_DATA} ${WRKSRC}/lib/gnujaxp.jar ${STAGEDIR}${JAVAJARDIR}/gnujaxp.jar
.if !defined(NOPORTDOCS) && !defined(WITHOUT_COMPILE)
- @${ECHO_MSG} -n ">> Installing documentation in ${DOCSDIR}..."
- @${MKDIR} ${DOCSDIR}
- @cd ${WRKSRC}/javadoc && ${FIND} . \
- | ${CPIO} -pdmu -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR}
- @${ECHO_MSG} " [DONE]"
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ cd ${WRKSRC}/javadoc && ${FIND} . \
+ | ${CPIO} -pdmu -R ${SHAREOWN}:${SHAREGRP} ${STAGEDIR}${DOCSDIR}
.endif
-post-install:
- @${CAT} ${PKGMESSAGE}
-
.include <bsd.port.mk>