aboutsummaryrefslogtreecommitdiff
path: root/devel/itext
diff options
context:
space:
mode:
authorStefan Walter <stefan@FreeBSD.org>2007-03-18 16:53:19 +0000
committerStefan Walter <stefan@FreeBSD.org>2007-03-18 16:53:19 +0000
commit0333e50ca7320dc31c674fa8a98bfa54c38cfa5b (patch)
tree1be866603a14314b6eadb3c03c38fc7cef13e873 /devel/itext
parentded27d2f669df09aefffe801ef9e3490f63aaf72 (diff)
downloadports-0333e50ca7320dc31c674fa8a98bfa54c38cfa5b.tar.gz
ports-0333e50ca7320dc31c674fa8a98bfa54c38cfa5b.zip
- Depend on java/bouncycastle instead of redundantly downloading its files.
- Set JAVA_VERSION=1.4+ Patch by: ale
Notes
Notes: svn path=/head/; revision=187659
Diffstat (limited to 'devel/itext')
-rw-r--r--devel/itext/Makefile15
-rw-r--r--devel/itext/distinfo6
2 files changed, 5 insertions, 16 deletions
diff --git a/devel/itext/Makefile b/devel/itext/Makefile
index 8dfd39ab92e8..ad9019d5ef3c 100644
--- a/devel/itext/Makefile
+++ b/devel/itext/Makefile
@@ -13,33 +13,28 @@ CATEGORIES= devel java
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_EXTENDED}
MASTER_SITE_SUBDIR= ${PORTNAME}
DISTNAME= ${PORTNAME}-src-${PORTVERSION}
-DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${EXTRA_JARS}
-EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
MAINTAINER= stefan@FreeBSD.org
COMMENT= A Java-PDF Library
+BUILD_DEPENDS= ${JAVAJARDIR}/bcmail.jar:${PORTSDIR}/java/bouncycastle
+RUN_DEPENDS= ${JAVAJARDIR}/bcmail.jar:${PORTSDIR}/java/bouncycastle
+
WRKSRC= ${WRKDIR}/src
EXTRACT_AFTER_ARGS= | (${MKDIR} ${WRKSRC} && ${TAR} -xf - -C ${WRKSRC})
USE_DOS2UNIX= yes
DOS2UNIX_REGEX= .*\.xml
USE_JAVA= yes
-JAVA_VERSION= 1.2+
+JAVA_VERSION= 1.4+
USE_ANT= yes
ALL_TARGET= jar
+MAKE_ENV= ANT_INCLUDE_SHARED_JARS=YES
.if !defined(NOPORTDOCS)
ALL_TARGET+= javadoc
PORTDOCS= *
.endif
PLIST_FILES= %%JAVAJARDIR%%/${PORTNAME}.jar
-EXTRA_JARS= bcmail-jdk14-135.jar bcprov-jdk14-135.jar
-
-post-extract:
- ${MKDIR} ${WRKDIR}/build/bin
-.for jarfile in ${EXTRA_JARS}
- ${CP} ${DISTDIR}/${jarfile} ${WRKDIR}/build/bin
-.endfor
do-install:
@${INSTALL_DATA} ${WRKDIR}/build/bin/iText.jar \
diff --git a/devel/itext/distinfo b/devel/itext/distinfo
index acb3764e74bb..04ef5ac7ce9f 100644
--- a/devel/itext/distinfo
+++ b/devel/itext/distinfo
@@ -1,9 +1,3 @@
MD5 (itext-src-2.0.1.tar.gz) = 944ea5a58e84bb3ca75907029dd8c579
SHA256 (itext-src-2.0.1.tar.gz) = 2df9eb0bb170a39e3116474aa1e76d6505b398bb41a3958b894e35889e2167f4
SIZE (itext-src-2.0.1.tar.gz) = 1137551
-MD5 (bcmail-jdk14-135.jar) = bc118ba738543b39202b2667389b8cc6
-SHA256 (bcmail-jdk14-135.jar) = f7ccd807b14946ac2f2a90754193e324c640497f105a72225ce722e5c2c0aabd
-SIZE (bcmail-jdk14-135.jar) = 181054
-MD5 (bcprov-jdk14-135.jar) = 077b1bfbbaac7855abae9012ed12527e
-SHA256 (bcprov-jdk14-135.jar) = 22393563acb0207256eb6095673be8bb1b7510a932b624511155619fd68e8694
-SIZE (bcprov-jdk14-135.jar) = 1249802