2013-04-17 17:03:09 +00:00
|
|
|
# Created by: Pedro Giffuni
|
2011-07-03 08:29:09 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= pdfbox
|
2014-12-30 09:53:00 +00:00
|
|
|
PORTVERSION= 1.8.8
|
2011-07-03 08:29:09 +00:00
|
|
|
CATEGORIES= print textproc java
|
|
|
|
MASTER_SITES= ${MASTER_SITE_APACHE:S,%SUBDIR%,pdfbox/${PORTVERSION},}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
2014-02-06 13:51:15 +00:00
|
|
|
DISTFILES= ${JAR_NAMES:S/$/-${PORTVERSION}.jar/}
|
2011-07-03 08:29:09 +00:00
|
|
|
|
2014-02-06 13:51:15 +00:00
|
|
|
MAINTAINER= ale@FreeBSD.org
|
|
|
|
COMMENT= Java tool for working with PDF documents
|
2011-07-03 08:29:09 +00:00
|
|
|
|
2013-12-30 20:55:18 +00:00
|
|
|
LICENSE= APACHE20
|
2013-04-17 17:03:09 +00:00
|
|
|
|
2011-07-03 08:29:09 +00:00
|
|
|
RUN_DEPENDS= ${JAVAJARDIR}/bcmail.jar:${PORTSDIR}/java/bouncycastle \
|
|
|
|
${JAVALIBDIR}/commons-logging.jar:${PORTSDIR}/java/jakarta-commons-logging
|
|
|
|
|
2014-02-06 13:51:15 +00:00
|
|
|
JAR_NAMES= pdfbox fontbox jempbox preflight xmpbox
|
2011-07-03 08:29:09 +00:00
|
|
|
|
2014-02-06 13:51:15 +00:00
|
|
|
USE_JAVA= yes
|
2011-07-03 08:29:09 +00:00
|
|
|
NO_EXTRACT= yes
|
|
|
|
NO_BUILD= yes
|
|
|
|
|
2014-02-06 13:51:15 +00:00
|
|
|
PLIST_FILES= ${JAR_NAMES:S/^/%%JAVAJARDIR%%\//:S/$/.jar/}
|
2011-07-03 08:29:09 +00:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
@${ECHO_MSG} -n ">> Installing JAR files in ${JAVAJARDIR}..."
|
2014-02-06 13:51:15 +00:00
|
|
|
@${MKDIR} ${STAGEDIR}${JAVAJARDIR}
|
|
|
|
.for f in ${JAR_NAMES}
|
|
|
|
${INSTALL_DATA} ${DISTDIR}/${f}-${PORTVERSION}.jar \
|
|
|
|
${STAGEDIR}${JAVAJARDIR}/${f}.jar
|
|
|
|
.endfor
|
2011-07-03 08:29:09 +00:00
|
|
|
@${ECHO_MSG} " [ DONE ]"
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|