Upgrade to 2.3.1.

Approved by:	znerd
This commit is contained in:
Dag-Erling Smørgrav 2002-05-06 12:07:07 +00:00
parent eae558dfd2
commit 91dc7edf95
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=58604
10 changed files with 4050 additions and 5714 deletions

View File

@ -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>

View File

@ -1 +1 @@
MD5 (xalan-j_2_1_0.tar.gz) = 38655986cc44eb929c1d4fe88c6aa80e
MD5 (xalan-j_2_3_1-bin.tar.gz) = bad5602ec80296e1901f1d1f3a58f2e2

View File

@ -0,0 +1,5 @@
#!/bin/sh
CLASSDIR=%%PREFIX%%/share/java/classes
exec javavm \
-classpath ${CLASSDIR}/xml-apis.jar \
-jar ${CLASSDIR}/xalan.jar "$@"

View File

@ -4,4 +4,4 @@ Recommendations for XSL Transformations (XSLT) and the XML Path
Language (XPath). It can be used from the command line, in an applet
or a servlet, or as a module in other program.
WWW: http://xml.apache.org/xalan-j/
WWW: http://xml.apache.org/xalan-j/

File diff suppressed because it is too large Load Diff

View File

@ -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>

View File

@ -1 +1 @@
MD5 (xalan-j_2_1_0.tar.gz) = 38655986cc44eb929c1d4fe88c6aa80e
MD5 (xalan-j_2_3_1-bin.tar.gz) = bad5602ec80296e1901f1d1f3a58f2e2

View File

@ -0,0 +1,5 @@
#!/bin/sh
CLASSDIR=%%PREFIX%%/share/java/classes
exec javavm \
-classpath ${CLASSDIR}/xml-apis.jar \
-jar ${CLASSDIR}/xalan.jar "$@"

View File

@ -4,4 +4,4 @@ Recommendations for XSL Transformations (XSLT) and the XML Path
Language (XPath). It can be used from the command line, in an applet
or a servlet, or as a module in other program.
WWW: http://xml.apache.org/xalan-j/
WWW: http://xml.apache.org/xalan-j/

File diff suppressed because it is too large Load Diff