Add building of iText RUPS.

RUPS is a GUI application that allows you to look inside a PDF.
Grab maintainership.

Approved by:	maintainer (stefan)
This commit is contained in:
Alex Dupre 2008-11-25 15:53:51 +00:00
parent 538865055f
commit 70f6cf6d6b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=223370
3 changed files with 21 additions and 5 deletions

View file

@ -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

View file

@ -0,0 +1,2 @@
#!/bin/sh
java -cp `classpath` com.lowagie.rups.Rups &

View file

@ -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