aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/xalan-j/Makefile
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2002-05-06 20:07:07 +0800
committerdes <des@FreeBSD.org>2002-05-06 20:07:07 +0800
commit8a3a55de71209de7c898f480a6cdf1804d997576 (patch)
tree10f1ace214a936bf522d786f95d691557bda65c4 /textproc/xalan-j/Makefile
parentb462bb8e1de8724290122f123e18fe03bd66ea63 (diff)
downloadfreebsd-ports-gnome-8a3a55de71209de7c898f480a6cdf1804d997576.tar.gz
freebsd-ports-gnome-8a3a55de71209de7c898f480a6cdf1804d997576.tar.zst
freebsd-ports-gnome-8a3a55de71209de7c898f480a6cdf1804d997576.zip
Upgrade to 2.3.1.
Approved by: znerd
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>