aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/fop/Makefile
diff options
context:
space:
mode:
authorkiri <kiri@FreeBSD.org>2001-03-19 19:36:36 +0800
committerkiri <kiri@FreeBSD.org>2001-03-19 19:36:36 +0800
commitb0a85a664f8b300a358c4b95eb562524a5daecc4 (patch)
treed71b3fd40e1a363be5fd289aacd6df684b1ada1f /textproc/fop/Makefile
parent4321591f03c4b0dd878e6bcdbf5f3e5a1347ac00 (diff)
downloadfreebsd-ports-graphics-b0a85a664f8b300a358c4b95eb562524a5daecc4.tar.gz
freebsd-ports-graphics-b0a85a664f8b300a358c4b95eb562524a5daecc4.tar.zst
freebsd-ports-graphics-b0a85a664f8b300a358c4b95eb562524a5daecc4.zip
Import new port textproc/fop. FOP is the print formatter driven by
XSL formatting.
Diffstat (limited to 'textproc/fop/Makefile')
-rw-r--r--textproc/fop/Makefile36
1 files changed, 36 insertions, 0 deletions
diff --git a/textproc/fop/Makefile b/textproc/fop/Makefile
new file mode 100644
index 00000000000..bb49d73fb63
--- /dev/null
+++ b/textproc/fop/Makefile
@@ -0,0 +1,36 @@
+# New ports collection makefile for: Print formatter driven by XSL formatting
+# Date created: 19 December 2000
+# Whom: KIRIYAMA Kazuhiko <kiri@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= fop
+PORTVERSION= 0.15.0
+CATEGORIES= textproc java
+MASTER_SITES= http://xml.apache.org/dist/fop/
+DISTNAME= ${PORTNAME}-${PORTVERSION:S/./_/g}
+
+MAINTAINER= kiri@FreeBSD.org
+
+RUN_DEPENDS= ${LOCALBASE}/jdk${JDKVERSION}/bin/java:${PORTSDIR}/java/jdk \
+ ${LOCALBASE}/share/java/classes/xerces.jar:${PORTSDIR}/textproc/xerces
+
+WRKSRC= ${WRKDIR}/xml-fop
+NO_BUILD= yes
+PLIST_SUB= PORTVERSION="${PORTVERSION}"
+
+JDKVERSION= 1.1.8
+JAVACLASSDIR= ${PREFIX}/share/java/classes
+JAVADATADIR= ${PREFIX}/share/java/${PKGNAME}
+
+do-install:
+ ${MKDIR} ${JAVACLASSDIR} ${JAVADATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/build/fop.jar ${JAVACLASSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/lib/w3c.jar ${JAVACLASSDIR}/svg-w3c.jar
+ cd ${WRKSRC}; \
+ ${INSTALL_DATA} LICENSE README STATUS build.xml ${JAVADATADIR}; \
+ ${INSTALL_SCRIPT} build.sh ${JAVADATADIR}; \
+ ${CP} -R docs lib src ${JAVADATADIR}
+
+.include <bsd.port.mk>