freebsd-ports/devel/itext/Makefile

50 lines
1.2 KiB
Makefile
Raw Normal View History

2004-04-07 10:32:09 +02:00
# ex:ts=8
# Ports collection makefile for: itext
# Date created: Apr 2, 2004
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= itext
PORTVERSION= 2.1.0
PORTEPOCH= 1
CATEGORIES= devel java
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_EXTENDED}
2004-04-07 10:32:09 +02:00
MASTER_SITE_SUBDIR= ${PORTNAME}
2007-12-22 13:04:25 +01:00
DISTNAME= iText-src-${PORTVERSION}
2004-04-07 10:32:09 +02:00
MAINTAINER= stefan@FreeBSD.org
2004-04-07 10:32:09 +02:00
COMMENT= A Java-PDF Library
BUILD_DEPENDS= ${JAVAJARDIR}/bcmail.jar:${PORTSDIR}/java/bouncycastle
RUN_DEPENDS= ${JAVAJARDIR}/bcmail.jar:${PORTSDIR}/java/bouncycastle
WRKSRC= ${WRKDIR}/src
EXTRACT_AFTER_ARGS= | (${MKDIR} ${WRKSRC} && ${TAR} -xf - -C ${WRKSRC})
2005-01-29 00:36:08 +01:00
USE_JAVA= yes
JAVA_VERSION= 1.4+
USE_ANT= yes
ALL_TARGET= jar jar.rtf
MAKE_ENV= ANT_INCLUDE_SHARED_JARS=YES
.if !defined(NOPORTDOCS)
ALL_TARGET+= javadoc
PORTDOCS= *
.endif
2004-04-07 10:32:09 +02:00
PLIST_FILES= %%JAVAJARDIR%%/${PORTNAME}.jar \
%%JAVAJARDIR%%/${PORTNAME}-rtf.jar
2004-04-07 10:32:09 +02:00
do-install:
2007-06-09 11:29:57 +02:00
@${INSTALL_DATA} ${WRKDIR}/lib/iText.jar \
${JAVAJARDIR}/${PORTNAME}.jar
@${INSTALL_DATA} ${WRKDIR}/lib/iText-rtf.jar \
${JAVAJARDIR}/${PORTNAME}-rtf.jar
.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>