# Created by: Anton Yudin # $FreeBSD$ PORTNAME= poi PORTVERSION= 3.14 CATEGORIES= textproc devel java MASTER_SITES= APACHE/${PORTNAME}/release/bin PKGNAMEPREFIX= apache- DISTNAME= ${PORTNAME}-bin-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Java API To Access Microsoft Format Files LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE 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} 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: ${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 do-install-DOCS-on: cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} @${RMDIR} ${STAGEDIR}${DOCSDIR}/skin/css .include