aboutsummaryrefslogtreecommitdiff
path: root/devel/itext
diff options
context:
space:
mode:
authorStefan Walter <stefan@FreeBSD.org>2007-03-18 09:43:27 +0000
committerStefan Walter <stefan@FreeBSD.org>2007-03-18 09:43:27 +0000
commited81c957c1b70ac766c0a8bdf49b9b7cbe524eab (patch)
tree35f49b89796cc5344681bb61c6dd863650ce3a44 /devel/itext
parent18557d0d54d3a553ffecc2c13e503a9b6ed8464c (diff)
downloadports-ed81c957c1b70ac766c0a8bdf49b9b7cbe524eab.tar.gz
ports-ed81c957c1b70ac766c0a8bdf49b9b7cbe524eab.zip
Notes
Diffstat (limited to 'devel/itext')
-rw-r--r--devel/itext/Makefile13
-rw-r--r--devel/itext/distinfo12
-rw-r--r--devel/itext/files/patch-ant_compile.xml20
3 files changed, 41 insertions, 4 deletions
diff --git a/devel/itext/Makefile b/devel/itext/Makefile
index e69a246e6be6..8dfd39ab92e8 100644
--- a/devel/itext/Makefile
+++ b/devel/itext/Makefile
@@ -7,18 +7,22 @@
#
PORTNAME= itext
-PORTVERSION= 1.4.8
+PORTVERSION= 2.0.1
PORTEPOCH= 1
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
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+
USE_ANT= yes
@@ -29,6 +33,13 @@ 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 b3d632da5116..acb3764e74bb 100644
--- a/devel/itext/distinfo
+++ b/devel/itext/distinfo
@@ -1,3 +1,9 @@
-MD5 (itext-src-1.4.8.tar.gz) = 51a799be0141d08afc793318a6dee111
-SHA256 (itext-src-1.4.8.tar.gz) = b283ac094389516e9914b31622e08842dd9220a026dcc4ce9138084b685e77a2
-SIZE (itext-src-1.4.8.tar.gz) = 1165951
+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
diff --git a/devel/itext/files/patch-ant_compile.xml b/devel/itext/files/patch-ant_compile.xml
new file mode 100644
index 000000000000..21fba430d71c
--- /dev/null
+++ b/devel/itext/files/patch-ant_compile.xml
@@ -0,0 +1,20 @@
+--- ant/compile.xml.orig Sun Mar 18 10:31:15 2007
++++ ant/compile.xml Sun Mar 18 10:31:32 2007
+@@ -34,8 +34,6 @@
+
+ <target name="compile" description="--> compiles the iText code">
+ <mkdir dir="${itext.bin}" />
+- <get usetimestamp="true" src="http://kent.dl.sourceforge.net/sourceforge/itext/bcmail-jdk14-135.jar" dest="${itext.bin}/bcmail-jdk14-135.jar" verbose="true" />
+- <get usetimestamp="true" src="http://kent.dl.sourceforge.net/sourceforge/itext/bcprov-jdk14-135.jar" dest="${itext.bin}/bcprov-jdk14-135.jar" verbose="true" />
+ <mkdir dir="${itext.classes}" />
+ <javac source="1.4" target="1.4" srcdir="${itext.src}" destdir="${itext.classes}">
+ <classpath refid="itext.classpath"/>
+@@ -48,8 +46,6 @@
+
+ <target name="compile.debug" description="--> compiles the iText code for debugging">
+ <mkdir dir="${itext.bin}" />
+- <get usetimestamp="true" src="http://kent.dl.sourceforge.net/sourceforge/itext/bcmail-jdk14-135.jar" dest="${itext.bin}/bcmail-jdk14-135.jar" verbose="true" />
+- <get usetimestamp="true" src="http://kent.dl.sourceforge.net/sourceforge/itext/bcprov-jdk14-135.jar" dest="${itext.bin}/bcprov-jdk14-135.jar" verbose="true" />
+ <mkdir dir="${itext.classes}" />
+ <javac source="1.4" target="1.4" srcdir="${itext.src}" destdir="${itext.classes}" listfiles="yes" debug="true" debuglevel="lines,vars,source">
+ <classpath refid="itext.classpath"/>