blob: 1a3769efd93b026cc9cfdb9ad51082adb12682bf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
PORTNAME= pdftk
DISTVERSIONPREFIX= v
DISTVERSION= 3.3.2
PORTREVISION= 1
CATEGORIES= print java
MAINTAINER= andreas@bilke.org
COMMENT= Simple tool for doing everyday things with PDF documents
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_COMMIT= 7d2ac3c1fa858f2c247c809fc6ef43f71f241098
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>
|