freebsd-ports/print/pdfbox/Makefile
Mathieu Arnold 60d1a83c2a MASTER_SITES cleanup.
- Replace ${MASTER_SITE_FOO} with FOO.
- Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9%
  of the time.)
- Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and
  no hint of what it should be was present.
- Fix some logic.
- And generally, make things more simple and easy to understand.

While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and
SAMBA macros.

Also, replace some EXTRACT_SUFX occurences with USES=tar:*.

Checked by:	make fetch-urlall-list
With hat:	portmgr
Sponsored by:	Absolight
2015-05-14 10:15:04 +00:00

35 lines
886 B
Makefile

# Created by: Pedro Giffuni
# $FreeBSD$
PORTNAME= pdfbox
PORTVERSION= 1.8.9
CATEGORIES= print textproc java
MASTER_SITES= APACHE/pdfbox/${PORTVERSION}
DISTFILES= ${JAR_NAMES:S/$/-${PORTVERSION}.jar/}
MAINTAINER= ale@FreeBSD.org
COMMENT= Java tool for working with PDF documents
LICENSE= APACHE20
RUN_DEPENDS= ${JAVAJARDIR}/bcmail.jar:${PORTSDIR}/java/bouncycastle \
${JAVALIBDIR}/commons-logging.jar:${PORTSDIR}/java/jakarta-commons-logging
JAR_NAMES= pdfbox fontbox jempbox preflight xmpbox
USE_JAVA= yes
NO_EXTRACT= yes
NO_BUILD= 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>