diff options
author | pawel <pawel@FreeBSD.org> | 2014-05-31 01:14:44 +0800 |
---|---|---|
committer | pawel <pawel@FreeBSD.org> | 2014-05-31 01:14:44 +0800 |
commit | 3f7a4ed66a7fb9cace9500756b2468107a7d6bcc (patch) | |
tree | 350502ab867a9a3490f34cb54968d0920dfcdf83 /java | |
parent | 9f604aef194387af6d8a117177cdf255355c23ad (diff) | |
download | freebsd-ports-gnome-3f7a4ed66a7fb9cace9500756b2468107a7d6bcc.tar.gz freebsd-ports-gnome-3f7a4ed66a7fb9cace9500756b2468107a7d6bcc.tar.zst freebsd-ports-gnome-3f7a4ed66a7fb9cace9500756b2468107a7d6bcc.zip |
- Add staging support
- Convert to new options framework
Diffstat (limited to 'java')
-rw-r--r-- | java/jcalendar/Makefile | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/java/jcalendar/Makefile b/java/jcalendar/Makefile index 3283c08232f3..d39e528e960a 100644 --- a/java/jcalendar/Makefile +++ b/java/jcalendar/Makefile @@ -21,23 +21,19 @@ PLIST_FILES= %%JAVAJARDIR%%/${PORTNAME}.jar \ # has a potential conflict with devel/looks, both install a looksXXX.jar ### -.if !defined(NOPORTDOCS) PORTDOCS= * -.endif -NO_STAGE= yes +OPTIONS_DEFINE= DOCS + post-build: cd ${WRKDIR}/build && \ ${JAR} cmf ${WRKSRC}/${PORTNAME}.manifest \ ${WRKDIR}/build/${PORTNAME}.jar * do-install: - ${INSTALL_DATA} ${WRKDIR}/build/${PORTNAME}.jar ${JAVAJARDIR} - ${INSTALL_DATA} ${WRKDIR}/lib/looks-2.0.1.jar ${JAVAJARDIR} -.if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} - cd ${WRKDIR}/doc && ${FIND} . \ - | ${CPIO} -pdmu -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR} -.endif + ${INSTALL_DATA} ${WRKDIR}/build/${PORTNAME}.jar ${STAGEDIR}${JAVAJARDIR} + ${INSTALL_DATA} ${WRKDIR}/lib/looks-2.0.1.jar ${STAGEDIR}${JAVAJARDIR} + @${MKDIR} ${STAGEDIR}${DOCSDIR} + (cd ${WRKDIR}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}) .include <bsd.port.mk> |