mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-04 01:48:54 +00:00
15401e6291
Successive versions are API/ABI incompatible and are infected by a new virus called AGPLv3.
58 lines
1.5 KiB
Makefile
58 lines
1.5 KiB
Makefile
# ex:ts=8
|
|
# Ports collection makefile for: itext
|
|
# Date created: Apr 2, 2004
|
|
# Whom: ijliao
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= itext
|
|
PORTVERSION= 4.2.0
|
|
PORTEPOCH= 1
|
|
CATEGORIES= devel java
|
|
MASTER_SITES= ${MASTER_SITE_LOCAL}
|
|
MASTER_SITE_SUBDIR= ale
|
|
|
|
MAINTAINER= ale@FreeBSD.org
|
|
COMMENT= A Java-PDF Library
|
|
|
|
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
|
|
|
|
USE_BZIP2= yes
|
|
USE_JAVA= yes
|
|
JAVA_VERSION= 1.4+
|
|
USE_ANT= yes
|
|
ALL_TARGET= jar jar.rtf jar.rups
|
|
MAKE_ENV= ANT_INCLUDE_SHARED_JARS=YES
|
|
.if !defined(NOPORTDOCS)
|
|
ALL_TARGET+= javadoc
|
|
PORTDOCS= *
|
|
.endif
|
|
|
|
PLIST_FILES= %%JAVAJARDIR%%/${PORTNAME}.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
|
|
@${CHOWN} -h -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR}/apidocs
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|