aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorale <ale@FreeBSD.org>2010-01-12 17:21:49 +0800
committerale <ale@FreeBSD.org>2010-01-12 17:21:49 +0800
commitf6a5dd02f0bf053176ee671b37268fb9c97df0d0 (patch)
tree7ac2eb9564d7a2673950cd292b253a2ba710a2ac
parent3dbe5e8dbe1f32dddaee9ddc6748f3367a86f326 (diff)
downloadfreebsd-ports-gnome-f6a5dd02f0bf053176ee671b37268fb9c97df0d0.tar.gz
freebsd-ports-gnome-f6a5dd02f0bf053176ee671b37268fb9c97df0d0.tar.zst
freebsd-ports-gnome-f6a5dd02f0bf053176ee671b37268fb9c97df0d0.zip
Update to the latest and last (sigh) unreleased 4.2.0 version.
Successive versions are API/ABI incompatible and are infected by a new virus called AGPLv3.
-rw-r--r--devel/itext/Makefile8
-rw-r--r--devel/itext/distinfo6
-rw-r--r--devel/itext/files/patch-ant_.ant.properties11
3 files changed, 18 insertions, 7 deletions
diff --git a/devel/itext/Makefile b/devel/itext/Makefile
index 8fdd045e6c89..df5776ddf838 100644
--- a/devel/itext/Makefile
+++ b/devel/itext/Makefile
@@ -7,11 +7,11 @@
#
PORTNAME= itext
-PORTVERSION= 2.1.7
+PORTVERSION= 4.2.0
PORTEPOCH= 1
CATEGORIES= devel java
-MASTER_SITES= SF/${PORTNAME}/iText/iText%20${PORTVERSION}
-DISTNAME= iText-src-${PORTVERSION}
+MASTER_SITES= ${MASTER_SITE_LOCAL}
+MASTER_SITE_SUBDIR= ale
MAINTAINER= ale@FreeBSD.org
COMMENT= A Java-PDF Library
@@ -23,7 +23,7 @@ RUN_DEPENDS= ${JAVAJARDIR}/bcmail.jar:${PORTSDIR}/java/bouncycastle \
${JAVAJARDIR}/dom4j.jar:${PORTSDIR}/textproc/dom4j \
${JAVAJARDIR}/pdf-renderer.jar:${PORTSDIR}/print/pdf-renderer
-WRKSRC= ${WRKDIR}/src
+USE_BZIP2= yes
USE_JAVA= yes
JAVA_VERSION= 1.4+
USE_ANT= yes
diff --git a/devel/itext/distinfo b/devel/itext/distinfo
index e8d415fc7ad9..6a679db355fe 100644
--- a/devel/itext/distinfo
+++ b/devel/itext/distinfo
@@ -1,3 +1,3 @@
-MD5 (iText-src-2.1.7.tar.gz) = 38c3d47e0f0a87a8151b5b2f208b461e
-SHA256 (iText-src-2.1.7.tar.gz) = 6da064db2a4f3231d57d018447a8236d476eaceac6eaaeba7bd518d68ee2bfef
-SIZE (iText-src-2.1.7.tar.gz) = 1317588
+MD5 (itext-4.2.0.tar.bz2) = 979257a4fd830b34b9887a9b49596109
+SHA256 (itext-4.2.0.tar.bz2) = eae859b03a323bc6a877782f95ea1206048e3303f5ae5968a37ca593d9263ef3
+SIZE (itext-4.2.0.tar.bz2) = 2657355
diff --git a/devel/itext/files/patch-ant_.ant.properties b/devel/itext/files/patch-ant_.ant.properties
new file mode 100644
index 000000000000..485a242a2fd7
--- /dev/null
+++ b/devel/itext/files/patch-ant_.ant.properties
@@ -0,0 +1,11 @@
+--- ant/.ant.properties.orig 2010-01-12 10:03:11.000000000 +0100
++++ ant/.ant.properties 2010-01-12 10:05:47.000000000 +0100
+@@ -3,7 +3,7 @@
+
+ itext.home=../..
+
+-itext.src=${itext.home}/src
++itext.src=${itext.home}/itext-${releasenumber}
+ itext.www=${itext.home}/www
+ itext.build=${itext.home}/build
+ itext.lib=${itext.home}/lib