diff options
author | olgeni <olgeni@FreeBSD.org> | 2014-05-14 20:15:10 +0800 |
---|---|---|
committer | olgeni <olgeni@FreeBSD.org> | 2014-05-14 20:15:10 +0800 |
commit | ca59cd165d01251f5525ce83e9b85a0bb25ad5f1 (patch) | |
tree | 35580505539e2be915276e78976e9ac7ac561200 /java | |
parent | dab6fbae8bc5ac331bfa10779831f664bf0609d9 (diff) | |
download | freebsd-ports-gnome-ca59cd165d01251f5525ce83e9b85a0bb25ad5f1.tar.gz freebsd-ports-gnome-ca59cd165d01251f5525ce83e9b85a0bb25ad5f1.tar.zst freebsd-ports-gnome-ca59cd165d01251f5525ce83e9b85a0bb25ad5f1.zip |
Add staging support.
Diffstat (limited to 'java')
-rw-r--r-- | java/jcommon/Makefile | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/java/jcommon/Makefile b/java/jcommon/Makefile index 4a731a55bb5a..bf12587fcdb4 100644 --- a/java/jcommon/Makefile +++ b/java/jcommon/Makefile @@ -27,7 +27,6 @@ PORTDOCS= * PLIST_FILES= %%JAVAJARDIR%%/jcommon.jar %%JAVAJARDIR%%/jcommon-xml.jar -NO_STAGE= yes pre-fetch: @${ECHO_MSG} "" @${ECHO_MSG} "You may use the following build options:" @@ -36,16 +35,12 @@ pre-fetch: @${ECHO_MSG} "" do-install: - @${ECHO_MSG} -n ">> Installing .jar files in ${JAVAJARDIR}/..." - @${INSTALL_DATA} ${WRKSRC}/${PORTNAME}-${PORTVERSION}.jar ${JAVAJARDIR}/${PORTNAME}.jar - @${INSTALL_DATA} ${WRKSRC}/${PORTNAME}-xml-${PORTVERSION}.jar ${JAVAJARDIR}/${PORTNAME}-xml.jar - @${ECHO_MSG} " [DONE]" + ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}-${PORTVERSION}.jar ${STAGEDIR}${JAVAJARDIR}/${PORTNAME}.jar + ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}-xml-${PORTVERSION}.jar ${STAGEDIR}${JAVAJARDIR}/${PORTNAME}-xml.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 .include <bsd.port.mk> |