summaryrefslogtreecommitdiff
path: root/textproc/lotusxsl/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/lotusxsl/Makefile')
-rw-r--r--textproc/lotusxsl/Makefile38
1 files changed, 38 insertions, 0 deletions
diff --git a/textproc/lotusxsl/Makefile b/textproc/lotusxsl/Makefile
new file mode 100644
index 000000000000..4e46cc65e25a
--- /dev/null
+++ b/textproc/lotusxsl/Makefile
@@ -0,0 +1,38 @@
+# New ports collection makefile for: LotusXSL
+# Version required: 0.17.2
+# Date created: 23 June 1999
+# Whom: Jun Kuriyama <kuriyama@FreeBSD.ORG>
+#
+# $Id$
+#
+
+DISTNAME= lotusxsl_0_17_2
+PKGNAME= lotusxsl-0.17.2
+CATEGORIES= textproc
+MASTER_SITES= http://www.alphaworks.ibm.com/formula/lotusxsl/
+#MASTER_SITES= http://apps.alphaworks.ibm.com/technologies/lotusxsl/
+EXTRACT_SUFX= .zip
+
+MAINTAINER= kuriyama@FreeBSD.ORG
+
+BUILD_DEPENDS= unzip:${PORTSDIR}/archivers/unzip
+RUN_DEPENDS= ${PREFIX}/share/java/classes/xml4j.jar:${PORTSDIR}/textproc/xml4j
+
+EXTRACT_CMD= unzip
+EXTRACT_BEFORE_ARGS= -a -q -L
+EXTRACT_AFTER_ARGS= # empty
+RESTRICTED= "License prohibites to distribute."
+
+DIR= ${PREFIX}/share/java
+
+do-build:
+ ${SED} -e s,%%PREFIX%%,${PREFIX},g ${FILESDIR}/lotusxsl.sh > ${WRKSRC}/lotusxsl
+
+do-install:
+ ${MKDIR} ${DIR}/classes ${DIR}/LotusXSL
+ (cd ${WRKSRC};\
+ ${INSTALL_DATA} js.jar lotusxsl.jar ${DIR}/classes;\
+ ${CP} -R apidocs examples images readme_production samples testsuite *.htm? run* xsl-html40s.dtd ${DIR}/LotusXSL;\
+ ${INSTALL_SCRIPT} ${WRKSRC}/lotusxsl ${PREFIX}/bin)
+
+.include <bsd.port.mk>