diff options
author | pawel <pawel@FreeBSD.org> | 2014-03-26 21:31:42 +0800 |
---|---|---|
committer | pawel <pawel@FreeBSD.org> | 2014-03-26 21:31:42 +0800 |
commit | 0c2617693ae74737f5369ab6298ed20a76ee41b4 (patch) | |
tree | 7cf15694162ca5241135f1727c7d9a6fb4150c96 /devel/avalon-framework | |
parent | 9c5459cbb0dcc95246bd2d558205d4ea2aee1efc (diff) | |
download | freebsd-ports-gnome-0c2617693ae74737f5369ab6298ed20a76ee41b4.tar.gz freebsd-ports-gnome-0c2617693ae74737f5369ab6298ed20a76ee41b4.tar.zst freebsd-ports-gnome-0c2617693ae74737f5369ab6298ed20a76ee41b4.zip |
- Add staging support
= Define DOCS option
Diffstat (limited to 'devel/avalon-framework')
-rw-r--r-- | devel/avalon-framework/Makefile | 20 |
1 files changed, 6 insertions, 14 deletions
diff --git a/devel/avalon-framework/Makefile b/devel/avalon-framework/Makefile index 0d491bad6d31..dbbf58540bfd 100644 --- a/devel/avalon-framework/Makefile +++ b/devel/avalon-framework/Makefile @@ -17,30 +17,22 @@ NO_BUILD= yes WRKSRC= ${WRKDIR}/${PORTNAME} -.if !defined(NOPORTDOCS) PORTDOCS= api basics.html cop cvs-usage.html dependencies.html images \ index.html issue-tracking.html license.html linkcheck.html \ mail-lists.html maven-reports.html principals \ project-info.html style team-list.html -.endif JARFILES= ${PORTNAME}.jar ${PORTNAME}-api.jar ${PORTNAME}-impl.jar PLIST_FILES+= ${JARFILES:S,^,%%JAVAJARDIR%%/,} -NO_STAGE= yes +OPTIONS_DEFINE= DOCS + do-install: - @${ECHO_MSG} -n ">> Installing JARs in ${JAVAJARDIR}/..." .for jarfile in ${JARFILES} - @${ECHO_MSG} -n " ${jarfile}" - @${INSTALL_DATA} ${WRKSRC}/jars/${jarfile:S,.jar$,-${PORTVERSION}.jar,} ${JAVAJARDIR}/${jarfile} + ${INSTALL_DATA} ${WRKSRC}/jars/${jarfile:S,.jar$,-${PORTVERSION}.jar,} \ + ${STAGEDIR}${JAVAJARDIR}/${jarfile} .endfor - @${ECHO_MSG} " [ DONE ]" -.if !defined(NOPORTDOCS) - @${ECHO_MSG} -n ">> Installing documentation in ${DOCSDIR}..." - @cd ${WRKSRC}/docs \ - && ${FIND} ${PORTDOCS} -type d -exec ${MKDIR} ${DOCSDIR}/{} \; \ - && ${FIND} ${PORTDOCS} -type f -exec ${INSTALL_DATA} {} ${DOCSDIR}/{} \; - @${ECHO_MSG} " [ DONE ]" -.endif + @${MKDIR} ${STAGEDIR}${DOCSDIR} + (cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}) .include <bsd.port.mk> |