2013-11-04 15:20:39 +01:00
|
|
|
# Created by: Anton Yudin <toha@toha.org.ua>
|
|
|
|
|
|
|
|
PORTNAME= poi
|
2020-02-26 06:05:24 +01:00
|
|
|
PORTVERSION= 4.1.2
|
2013-11-04 15:20:39 +01:00
|
|
|
CATEGORIES= textproc devel java
|
2015-05-14 12:15:04 +02:00
|
|
|
MASTER_SITES= APACHE/${PORTNAME}/release/bin
|
2013-11-04 15:20:39 +01:00
|
|
|
PKGNAMEPREFIX= apache-
|
2017-03-28 19:36:52 +02:00
|
|
|
DISTNAME= ${PORTNAME}-bin-${PORTVERSION}-${RELEASE_DATE}
|
2013-11-04 15:20:39 +01:00
|
|
|
|
2013-11-04 15:22:33 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2013-11-04 15:20:39 +01:00
|
|
|
COMMENT= Java API To Access Microsoft Format Files
|
|
|
|
|
2013-12-30 21:55:18 +01:00
|
|
|
LICENSE= APACHE20
|
2015-05-25 23:24:22 +02:00
|
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
2013-12-25 23:13:09 +01:00
|
|
|
|
2020-01-25 16:50:27 +01:00
|
|
|
USES= cpe
|
|
|
|
CPE_VENDOR= apache
|
|
|
|
|
2013-11-04 15:20:39 +01:00
|
|
|
USE_JAVA= yes
|
2014-09-25 13:23:44 +02:00
|
|
|
NO_BUILD= yes
|
2016-06-05 11:03:51 +02:00
|
|
|
NO_ARCH= yes
|
2020-02-26 06:05:24 +01:00
|
|
|
RELEASE_DATE= 20200217
|
2013-11-04 15:20:39 +01:00
|
|
|
JARNAMES= examples excelant scratchpad ooxml ooxml-schemas
|
2014-09-25 13:23:44 +02:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
2015-03-30 20:56:10 +02:00
|
|
|
|
2020-01-25 16:50:27 +01:00
|
|
|
PLIST_FILES= ${JAVAJARDIR}/${PORTNAME}.jar
|
2016-06-05 11:03:51 +02:00
|
|
|
PORTDOCS= *
|
|
|
|
|
2013-11-04 15:20:39 +01:00
|
|
|
.for i in ${JARNAMES}
|
2020-01-25 16:50:27 +01:00
|
|
|
PLIST_FILES+= ${JAVAJARDIR}/${PORTNAME}-${i}.jar
|
2013-11-04 15:20:39 +01:00
|
|
|
.endfor
|
|
|
|
|
2016-06-05 11:03:51 +02:00
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
|
2013-11-04 15:20:39 +01:00
|
|
|
do-install:
|
2017-03-28 19:36:52 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}-${PORTVERSION}.jar ${STAGEDIR}${JAVAJARDIR}/${PORTNAME}.jar
|
2013-11-04 15:20:39 +01:00
|
|
|
.for i in ${JARNAMES}
|
2017-03-28 19:36:52 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}-${i}-${PORTVERSION}.jar ${STAGEDIR}${JAVAJARDIR}/${PORTNAME}-${i}.jar
|
2013-11-04 15:20:39 +01:00
|
|
|
.endfor
|
2016-06-05 11:03:51 +02:00
|
|
|
|
|
|
|
do-install-DOCS-on:
|
|
|
|
cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}
|
2013-11-04 15:20:39 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|