2012-12-10 12:25:27 +01:00
|
|
|
# Created by: Ying-Chieh Liao <ijliao@FreeBSD.org>
|
2004-04-07 10:32:09 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= itext
|
2010-01-12 10:21:49 +01:00
|
|
|
PORTVERSION= 4.2.0
|
2012-07-12 10:32:12 +02:00
|
|
|
PORTREVISION= 4
|
2004-12-04 19:36:59 +01:00
|
|
|
PORTEPOCH= 1
|
2005-05-27 19:46:21 +02:00
|
|
|
CATEGORIES= devel java
|
2010-01-12 10:21:49 +01:00
|
|
|
MASTER_SITES= ${MASTER_SITE_LOCAL}
|
|
|
|
MASTER_SITE_SUBDIR= ale
|
2004-04-07 10:32:09 +02:00
|
|
|
|
2008-11-25 16:53:51 +01:00
|
|
|
MAINTAINER= ale@FreeBSD.org
|
2004-04-07 10:32:09 +02:00
|
|
|
COMMENT= A Java-PDF Library
|
|
|
|
|
2008-11-25 16:53:51 +01:00
|
|
|
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
|
2007-03-18 17:53:19 +01:00
|
|
|
|
2010-01-12 10:21:49 +01:00
|
|
|
USE_BZIP2= yes
|
2005-01-29 00:36:08 +01:00
|
|
|
USE_JAVA= yes
|
2012-12-10 12:25:27 +01:00
|
|
|
JAVA_VERSION= 1.6+
|
2005-10-03 15:35:23 +02:00
|
|
|
USE_ANT= yes
|
2008-11-25 16:53:51 +01:00
|
|
|
ALL_TARGET= jar jar.rtf jar.rups
|
2007-03-18 17:53:19 +01:00
|
|
|
MAKE_ENV= ANT_INCLUDE_SHARED_JARS=YES
|
2005-10-03 15:35:23 +02:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
ALL_TARGET+= javadoc
|
|
|
|
PORTDOCS= *
|
|
|
|
.endif
|
2004-04-07 10:32:09 +02:00
|
|
|
|
2008-04-09 11:40:17 +02:00
|
|
|
PLIST_FILES= %%JAVAJARDIR%%/${PORTNAME}.jar \
|
2008-11-25 16:53:51 +01:00
|
|
|
%%JAVAJARDIR%%/${PORTNAME}-rtf.jar \
|
|
|
|
%%JAVAJARDIR%%/${PORTNAME}-rups.jar \
|
|
|
|
bin/${PORTNAME}-rups
|
2004-04-07 10:32:09 +02:00
|
|
|
|
2013-09-20 19:04:43 +02:00
|
|
|
NO_STAGE= yes
|
2004-04-07 10:32:09 +02:00
|
|
|
do-install:
|
2007-06-09 11:29:57 +02:00
|
|
|
@${INSTALL_DATA} ${WRKDIR}/lib/iText.jar \
|
2005-10-03 15:35:23 +02:00
|
|
|
${JAVAJARDIR}/${PORTNAME}.jar
|
2008-04-09 11:40:17 +02:00
|
|
|
@${INSTALL_DATA} ${WRKDIR}/lib/iText-rtf.jar \
|
|
|
|
${JAVAJARDIR}/${PORTNAME}-rtf.jar
|
2008-11-25 16:53:51 +01:00
|
|
|
@${INSTALL_DATA} ${WRKDIR}/lib/iText-rups.jar \
|
|
|
|
${JAVAJARDIR}/${PORTNAME}-rups.jar
|
|
|
|
@${INSTALL_SCRIPT} ${FILESDIR}/${PORTNAME}-rups \
|
|
|
|
${PREFIX}/bin/
|
2005-10-03 15:35:23 +02:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@${MKDIR} ${DOCSDIR}/apidocs
|
|
|
|
@${CP} -R ${WRKDIR}/build/docs/* ${DOCSDIR}/apidocs
|
|
|
|
@${CHOWN} -h -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR}/apidocs
|
|
|
|
.endif
|
2004-04-07 10:32:09 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|