Date: Fri, 30 May 2014 17:14:45 +0000 (UTC) From: Pawel Pekala <pawel@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r355875 - head/java/jcalendar Message-ID: <201405301714.s4UHEjfG072878@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: pawel Date: Fri May 30 17:14:44 2014 New Revision: 355875 URL: http://svnweb.freebsd.org/changeset/ports/355875 QAT: https://qat.redports.org/buildarchive/r355875/ Log: - Add staging support - Convert to new options framework Modified: head/java/jcalendar/Makefile Modified: head/java/jcalendar/Makefile ============================================================================== --- head/java/jcalendar/Makefile Fri May 30 16:59:37 2014 (r355874) +++ head/java/jcalendar/Makefile Fri May 30 17:14:44 2014 (r355875) @@ -21,23 +21,19 @@ PLIST_FILES= %%JAVAJARDIR%%/${PORTNAME}. # 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>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201405301714.s4UHEjfG072878>