summaryrefslogtreecommitdiff
path: root/textproc/xalan-j/Makefile
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2002-05-06 12:07:07 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>2002-05-06 12:07:07 +0000
commit91dc7edf95662947e8108c6815656a311b829008 (patch)
tree1c5f4328ea8991d5662b42c150b95fc0fdb44469 /textproc/xalan-j/Makefile
parentupgrade to 0.7.5 (diff)
Upgrade to 2.3.1.
Approved by: znerd
Notes
Notes: svn path=/head/; revision=58604
Diffstat (limited to 'textproc/xalan-j/Makefile')
-rw-r--r--textproc/xalan-j/Makefile37
1 files changed, 27 insertions, 10 deletions
diff --git a/textproc/xalan-j/Makefile b/textproc/xalan-j/Makefile
index 50b3b78b973c..c8e5f521a5b5 100644
--- a/textproc/xalan-j/Makefile
+++ b/textproc/xalan-j/Makefile
@@ -6,25 +6,42 @@
#
PORTNAME= xalan-j
-PORTVERSION= 2.1.0
+PORTVERSION= 2.3.1
CATEGORIES= java textproc
-MASTER_SITES= http://xml.apache.org/dist/${PORTNAME}/ \
- http://www.metaverse.nl/~ernst/
+MASTER_SITES= http://xml.apache.org/dist/${PORTNAME}/
DISTNAME= ${PORTNAME}_${PORTVERSION:S/./_/g}
+#DISTFILES= ${DISTNAME}-src${EXTRACT_SUFX}
+DISTFILES= ${DISTNAME}-bin${EXTRACT_SUFX}
MAINTAINER= znerd@FreeBSD.org
-RUN_DEPENDS= ${JAVAVM}:${PORTSDIR}/java/javavmwrapper
-
-JAVAVM?= ${LOCALBASE}/bin/javavm
+#BUILD_DEPENDS= ant:${PORTSDIR}/devel/jakarta-ant
+USE_JAVA= 1.2+
+#
+# We'd love to build Xalan rather than install a binary release, but
+# the doc build doesn't seem to work... :(
+#
NO_BUILD= YES
-PORTDESTDIR= ${PREFIX}/${PORTNAME}${PORTVERSION}
-PLIST_SUB= PORTVERSION="${PORTVERSION}"
+do-configure:
+ ${SED} 's|%%PREFIX%%|${PREFIX}|g' ${FILESDIR}/xalan.sh >${WRKDIR}/xalan
+
+#do-build:
+# (cd ${WRKSRC} && ant jar)
+#.if !defined(NOPORTDOCS)
+# (cd ${WRKSRC} && env CLASSPATH=${WRKSRC}/build/xalan.jar:${CLASSPATH} \
+# ant docs javadocs)
+#.endif
do-install:
- @${MKDIR} ${PORTDESTDIR}
- @${CP} -r ${WRKSRC}/* ${PORTDESTDIR}
+ ${INSTALL_DATA} ${WRKSRC}/bin/xalan.jar ${WRKSRC}/bin/xml-apis.jar \
+ ${PREFIX}/share/java/classes
+ ${INSTALL_SCRIPT} ${WRKDIR}/xalan ${PREFIX}/bin
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${DOCSDIR}
+ (cd ${WRKSRC}/docs && \
+ ${TAR} -cf - . | ${TAR} -xf - -C ${DOCSDIR})
+.endif
.include <bsd.port.mk>