Date: Sun, 5 Jun 2016 09:03:51 +0000 (UTC) From: Dmitry Marakasov <amdmi3@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r416388 - head/textproc/apache-poi Message-ID: <201606050903.u5593pUV007473@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: amdmi3 Date: Sun Jun 5 09:03:51 2016 New Revision: 416388 URL: https://svnweb.freebsd.org/changeset/ports/416388 Log: - Add NO_ARCH - Switch to options helpers - Simplify installation Modified: head/textproc/apache-poi/Makefile Modified: head/textproc/apache-poi/Makefile ============================================================================== --- head/textproc/apache-poi/Makefile Sun Jun 5 09:03:42 2016 (r416387) +++ head/textproc/apache-poi/Makefile Sun Jun 5 09:03:51 2016 (r416388) @@ -14,34 +14,33 @@ COMMENT= Java API To Access Microsoft Fo LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE -PORTDOCS= * USE_JAVA= yes JAVA_VERSION= 1.6+ NO_BUILD= yes +NO_ARCH= yes RELEASE_DATE= 20160307 JARNAMES= examples excelant scratchpad ooxml ooxml-schemas WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} -PLIST_FILES= %%JAVAJARDIR%%/${PORTNAME}.jar -OPTIONS_DEFINE= DOCS - USES= cpe CPE_VENDOR= apache +PLIST_FILES= %%JAVAJARDIR%%/${PORTNAME}.jar +PORTDOCS= * + .for i in ${JARNAMES} PLIST_FILES+= %%JAVAJARDIR%%/${PORTNAME}-${i}.jar .endfor +OPTIONS_DEFINE= DOCS + do-install: - @${ECHO_MSG} -n ">> Installing JAR as ${STAGEDIR}${JAVAJARDIR}/${PORTNAME}-${RELEASE_DATE}.jar..." ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}-${PORTVERSION}-${RELEASE_DATE}.jar ${STAGEDIR}${JAVAJARDIR}/${PORTNAME}.jar .for i in ${JARNAMES} ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}-${i}-${PORTVERSION}-${RELEASE_DATE}.jar ${STAGEDIR}${JAVAJARDIR}/${PORTNAME}-${i}.jar .endfor - @${ECHO_MSG} " [ DONE ]" - @${ECHO_MSG} -n ">> Installing documentation in ${STAGEDIR}${DOCSDIR}/..." - @cd ${WRKSRC}/docs \ - && ${FIND} . -type d -not -empty -exec ${MKDIR} ${STAGEDIR}${DOCSDIR}/{} \; \ - && ${FIND} . -type f -exec ${INSTALL_DATA} {} ${STAGEDIR}${DOCSDIR}/{} \; - @${ECHO_MSG} " [ DONE ]" + +do-install-DOCS-on: + cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} + @${RMDIR} ${STAGEDIR}${DOCSDIR}/skin/css .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201606050903.u5593pUV007473>