9351a11d49
PR: 215481 Submitted by: pfg
45 lines
1.1 KiB
Makefile
45 lines
1.1 KiB
Makefile
# Created by: Anton Yudin <toha@toha.org.ua>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= poi
|
|
PORTVERSION= 3.15
|
|
CATEGORIES= textproc devel java
|
|
MASTER_SITES= APACHE/${PORTNAME}/release/bin
|
|
PKGNAMEPREFIX= apache-
|
|
DISTNAME= ${PORTNAME}-bin-${PORTVERSION}-${RELEASE_DATE}
|
|
|
|
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= 20160924
|
|
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}.jar ${STAGEDIR}${JAVAJARDIR}/${PORTNAME}.jar
|
|
.for i in ${JARNAMES}
|
|
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}-${i}-${PORTVERSION}.jar ${STAGEDIR}${JAVAJARDIR}/${PORTNAME}-${i}.jar
|
|
.endfor
|
|
|
|
do-install-DOCS-on:
|
|
cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|