aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorale <ale@FreeBSD.org>2008-11-25 23:53:51 +0800
committerale <ale@FreeBSD.org>2008-11-25 23:53:51 +0800
commit990e91fd1650143982ad9963a83d333c1f0e9131 (patch)
tree42121383726f3ea695d278458dbf60b615eb3419
parentff7fc18b68437e519a66830857e46903b85bde58 (diff)
downloadfreebsd-ports-gnome-990e91fd1650143982ad9963a83d333c1f0e9131.tar.gz
freebsd-ports-gnome-990e91fd1650143982ad9963a83d333c1f0e9131.tar.zst
freebsd-ports-gnome-990e91fd1650143982ad9963a83d333c1f0e9131.zip
Add building of iText RUPS.
RUPS is a GUI application that allows you to look inside a PDF. Grab maintainership. Approved by: maintainer (stefan)
-rw-r--r--devel/itext/Makefile21
-rw-r--r--devel/itext/files/itext-rups2
-rw-r--r--devel/itext/pkg-descr3
3 files changed, 21 insertions, 5 deletions
diff --git a/devel/itext/Makefile b/devel/itext/Makefile
index bea697376837..e8aad97c5e12 100644
--- a/devel/itext/Makefile
+++ b/devel/itext/Makefile
@@ -8,24 +8,29 @@
PORTNAME= itext
PORTVERSION= 2.1.3
+PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= devel java
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_EXTENDED}
MASTER_SITE_SUBDIR= ${PORTNAME}
DISTNAME= iText-src-${PORTVERSION}
-MAINTAINER= stefan@FreeBSD.org
+MAINTAINER= ale@FreeBSD.org
COMMENT= A Java-PDF Library
-BUILD_DEPENDS= ${JAVAJARDIR}/bcmail.jar:${PORTSDIR}/java/bouncycastle
-RUN_DEPENDS= ${JAVAJARDIR}/bcmail.jar:${PORTSDIR}/java/bouncycastle
+BUILD_DEPENDS= ${JAVAJARDIR}/bcmail.jar:${PORTSDIR}/java/bouncycastle \
+ ${JAVAJARDIR}/dom4j.jar:${PORTSDIR}/textproc/dom4j \
+ ${JAVAJARDIR}/pdf-renderer.jar:${PORTSDIR}/print/pdf-renderer
+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
EXTRACT_AFTER_ARGS= | (${MKDIR} ${WRKDIR} && ${TAR} -xf - -C ${WRKDIR})
USE_JAVA= yes
JAVA_VERSION= 1.4+
USE_ANT= yes
-ALL_TARGET= jar jar.rtf
+ALL_TARGET= jar jar.rtf jar.rups
MAKE_ENV= ANT_INCLUDE_SHARED_JARS=YES
.if !defined(NOPORTDOCS)
ALL_TARGET+= javadoc
@@ -33,13 +38,19 @@ PORTDOCS= *
.endif
PLIST_FILES= %%JAVAJARDIR%%/${PORTNAME}.jar \
- %%JAVAJARDIR%%/${PORTNAME}-rtf.jar
+ %%JAVAJARDIR%%/${PORTNAME}-rtf.jar \
+ %%JAVAJARDIR%%/${PORTNAME}-rups.jar \
+ bin/${PORTNAME}-rups
do-install:
@${INSTALL_DATA} ${WRKDIR}/lib/iText.jar \
${JAVAJARDIR}/${PORTNAME}.jar
@${INSTALL_DATA} ${WRKDIR}/lib/iText-rtf.jar \
${JAVAJARDIR}/${PORTNAME}-rtf.jar
+ @${INSTALL_DATA} ${WRKDIR}/lib/iText-rups.jar \
+ ${JAVAJARDIR}/${PORTNAME}-rups.jar
+ @${INSTALL_SCRIPT} ${FILESDIR}/${PORTNAME}-rups \
+ ${PREFIX}/bin/
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}/apidocs
@${CP} -R ${WRKDIR}/build/docs/* ${DOCSDIR}/apidocs
diff --git a/devel/itext/files/itext-rups b/devel/itext/files/itext-rups
new file mode 100644
index 000000000000..698774cc9fa9
--- /dev/null
+++ b/devel/itext/files/itext-rups
@@ -0,0 +1,2 @@
+#!/bin/sh
+java -cp `classpath` com.lowagie.rups.Rups &
diff --git a/devel/itext/pkg-descr b/devel/itext/pkg-descr
index ead87ae31be6..8c47358ef524 100644
--- a/devel/itext/pkg-descr
+++ b/devel/itext/pkg-descr
@@ -7,3 +7,6 @@ Servlets: The look and feel of HTML is browser dependent; with iText and PDF
you can control exactly how your servlet's output will look.
WWW: http://www.lowagie.com/iText/
+
+- Alex Dupre
+ale@FreeBSD.org