freebsd-ports/print/pdfbox/Makefile
Pedro F. Giffuni c937a4ccc9 rename most cases of jakarta- to apache-
The Apache Softare Foundation used to maintain an umbrella project named
Jakarta but it was retired on 2011. This name now conflicts with the new
name for Java EE under the Eclipse Foundation.

Rename most of the packages to be more consistent. Some other packages remain
but they will require intervention by their corresponding maintainers.

Approved by:	thierry (mentor), makc
Differential Revision:	https://reviews.freebsd.org/D21902
2019-10-06 19:08:14 +00:00

39 lines
977 B
Makefile

# Created by: Pedro Giffuni
# $FreeBSD$
PORTNAME= pdfbox
PORTVERSION= 2.0.14
PORTREVISION= 1
CATEGORIES= print textproc java
MASTER_SITES= APACHE/pdfbox/${PORTVERSION}
DISTFILES= ${JAR_NAMES:S/$/-${PORTVERSION}.jar/}
EXTRACT_ONLY= # none
MAINTAINER= ale@FreeBSD.org
COMMENT= Java tool for working with PDF documents
LICENSE= APACHE20
RUN_DEPENDS= ${JAVALIBDIR}/bcmail.jar:java/bouncycastle15 \
${JAVALIBDIR}/commons-logging.jar:java/apache-commons-logging \
${JAVALIBDIR}/commons-io.jar:devel/apache-commons-io
JAR_NAMES= pdfbox fontbox preflight xmpbox pdfbox-tools pdfbox-debugger
USE_JAVA= yes
NO_BUILD= yes
NO_ARCH= yes
PLIST_FILES= ${JAR_NAMES:S/^/%%JAVAJARDIR%%\//:S/$/.jar/}
do-install:
@${ECHO_MSG} -n ">> Installing JAR files in ${JAVAJARDIR}..."
@${MKDIR} ${STAGEDIR}${JAVAJARDIR}
.for f in ${JAR_NAMES}
${INSTALL_DATA} ${DISTDIR}/${f}-${PORTVERSION}.jar \
${STAGEDIR}${JAVAJARDIR}/${f}.jar
.endfor
@${ECHO_MSG} " [ DONE ]"
.include <bsd.port.mk>