mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-18 00:10:04 +00:00
7d1faa7179
Replace GL_COMMIT by GL_TAGNAME in all ports. The new GL_TAGNAME is backwards-compatible (accepting any commit hash as before), but also understands an actual tag name. Moving to tag names where appropriate is left to individual ports' maintainers. Approved by: portmgr (tcberner, mentor) Differential Revision: https://reviews.freebsd.org/D37077
50 lines
1.3 KiB
Makefile
50 lines
1.3 KiB
Makefile
PORTNAME= pdftk
|
|
DISTVERSIONPREFIX= v
|
|
DISTVERSION= 3.3.3
|
|
CATEGORIES= print java
|
|
|
|
MAINTAINER= andreas@bilke.org
|
|
COMMENT= Simple tool for doing everyday things with PDF documents
|
|
WWW= https://gitlab.com/pdftk-java/pdftk
|
|
|
|
LICENSE= GPLv2
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
BUILD_DEPENDS= ${JAVALIBDIR}/commons-lang3.jar:java/apache-commons-lang3 \
|
|
${JAVALIBDIR}/bcprov.jar:java/bouncycastle15
|
|
RUN_DEPENDS= ${JAVALIBDIR}/commons-lang3.jar:java/apache-commons-lang3 \
|
|
${JAVALIBDIR}/bcprov.jar:java/bouncycastle15
|
|
|
|
USE_ANT= yes
|
|
USE_GITLAB= yes
|
|
GL_ACCOUNT= pdftk-java
|
|
GL_TAGNAME= e4292c8f1bd2580a44d3cbf3570a4505bd3a74b6
|
|
USE_JAVA= yes
|
|
ALL_TARGET= jar
|
|
NO_ARCH= yes
|
|
SUB_FILES= pdftk
|
|
SUB_LIST= CLASSPATH="${_CLASSPATH:ts:}" \
|
|
JAVA="${JAVA}"
|
|
PLIST_FILES= ${JAVAJARDIR}/pdftk.jar \
|
|
bin/pdftk \
|
|
share/man/man1/pdftk.1.gz
|
|
|
|
_CLASSPATH= ${JAVAJARDIR}/commons-lang3.jar \
|
|
${JAVAJARDIR}/bcprov.jar \
|
|
${JAVAJARDIR}/pdftk.jar
|
|
|
|
post-extract:
|
|
@${MKDIR} ${WRKSRC}/lib
|
|
@${LN} -sf ${JAVAJARDIR}/commons-lang3.jar ${WRKSRC}/lib
|
|
@${LN} -sf ${JAVAJARDIR}/bcprov.jar ${WRKSRC}/lib
|
|
|
|
do-install:
|
|
${INSTALL_SCRIPT} ${WRKDIR}/pdftk \
|
|
${STAGEDIR}${PREFIX}/bin
|
|
${INSTALL_DATA} ${WRKSRC}/build/jar/pdftk.jar \
|
|
${STAGEDIR}${JAVAJARDIR}
|
|
${INSTALL_MAN} ${WRKSRC}/pdftk.1 \
|
|
${STAGEDIR}${PREFIX}/share/man/man1
|
|
|
|
.include <bsd.port.mk>
|