diff options
author | Herve Quiroz <hq@FreeBSD.org> | 2004-11-22 16:49:34 +0000 |
---|---|---|
committer | Herve Quiroz <hq@FreeBSD.org> | 2004-11-22 16:49:34 +0000 |
commit | 1d99e23db6cd47350c3575c393787b087758874b (patch) | |
tree | 53dfd7080d6770b47964539cd1e76776ba2fe1c1 /textproc/saxon-devel | |
parent | Upgrade to to 2.2.4. (diff) |
- Use MASTER_SITE_SOURCEFORGE
- Track the recent changes to java/javavmwrapper
- Various cosmetic changes
Notes
Notes:
svn path=/head/; revision=122159
Diffstat (limited to 'textproc/saxon-devel')
-rw-r--r-- | textproc/saxon-devel/Makefile | 24 | ||||
-rw-r--r-- | textproc/saxon-devel/files/saxon.sh | 4 |
2 files changed, 14 insertions, 14 deletions
diff --git a/textproc/saxon-devel/Makefile b/textproc/saxon-devel/Makefile index 3804c8c4bb46..6035ba940385 100644 --- a/textproc/saxon-devel/Makefile +++ b/textproc/saxon-devel/Makefile @@ -8,7 +8,7 @@ PORTNAME= saxon PORTVERSION= 8.1.1 CATEGORIES= textproc java -MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_EXTENDED} +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= saxon PKGNAMESUFFIX= -devel DISTNAME= ${PORTNAME}b${PORTVERSION:S,.,-,g} @@ -16,7 +16,7 @@ DISTNAME= ${PORTNAME}b${PORTVERSION:S,.,-,g} MAINTAINER= hq@FreeBSD.org COMMENT= An XSLT 2.0 / XPath 2.0 / XQuery 1.0 processor for Java -RUN_DEPENDS= javavm:${PORTSDIR}/java/javavmwrapper +RUN_DEPENDS= java:${PORTSDIR}/java/javavmwrapper USE_ZIP= yes USE_JAVA= yes @@ -33,12 +33,12 @@ PORTDOCS= background documentation img javadoc .endif do-configure: - @${SED} -e 's|%%LOCALBASE%%|${LOCALBASE}|g ; s|%%JAVAVM%%|${JAVA}|g ; \ + @${SED} -e 's|%%LOCALBASE%%|${LOCALBASE}|g ; \ s|%%SAXON_JARS%%|${JARFILES:S,^,${JAVAJARDIR}/,}|' \ ${FILESDIR}/saxon.sh >${WRKSRC}/saxon do-install: - @${ECHO_MSG} -n ">> Installing JARs in ${JAVAJARDIR}..." + @${ECHO_MSG} -n ">> Installing JARs in ${JAVAJARDIR}/..." @${MKDIR} ${JAVAJARDIR} .for file in ${JARFILES} @${ECHO_MSG} -n " ${file}" @@ -46,15 +46,15 @@ do-install: .endfor @${ECHO_MSG} " [ DONE ]" .if !defined(NOPORTDOCS) - @${ECHO_MSG} -n ">> Installing samples in ${EXAMPLESDIR}..." - @${MKDIR} ${EXAMPLESDIR} - @cd ${WRKSRC}/samples/ && ${FIND} . \ - | ${CPIO} -pdmu -R ${SHAREOWN}:${SHAREGRP} ${EXAMPLESDIR} > /dev/null 2>&1 + @${ECHO_MSG} -n ">> Installing samples in ${EXAMPLESDIR}/..." + @cd ${WRKSRC}/samples/ \ + && ${FIND} . -type d -exec ${MKDIR} ${EXAMPLESDIR}/{} \; \ + && ${FIND} . -type f -exec ${INSTALL_DATA} {} ${EXAMPLESDIR}/{} \; @${ECHO_MSG} " [ DONE ]" - @${ECHO_MSG} -n ">> Installing documentation..." - @${MKDIR} ${DOCSDIR} - @cd ${WRKSRC}/doc/ && ${FIND} ${PORTDOCS} \ - | ${CPIO} -pdmu -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR} > /dev/null 2>&1 + @${ECHO_MSG} -n ">> Installing documentation in ${DOCSDIR}/..." + @cd ${WRKSRC}/doc/ \ + && ${FIND} ${PORTDOCS} -type d -exec ${MKDIR} ${DOCSDIR}/{} \; \ + && ${FIND} ${PORTDOCS} -type f -exec ${INSTALL_DATA} {} ${DOCSDIR}/{} \; @${ECHO_MSG} " [ DONE ]" .endif @${ECHO_MSG} -n ">> Installing scripts in ${PREFIX}/bin..." diff --git a/textproc/saxon-devel/files/saxon.sh b/textproc/saxon-devel/files/saxon.sh index 1865dbc5a793..a220ea908e91 100644 --- a/textproc/saxon-devel/files/saxon.sh +++ b/textproc/saxon-devel/files/saxon.sh @@ -1,6 +1,6 @@ #!/bin/sh # -# $FreeBSD: /tmp/pcvs/ports/textproc/saxon-devel/files/Attic/saxon.sh,v 1.4 2004-11-09 16:03:39 hq Exp $ +# $FreeBSD: /tmp/pcvs/ports/textproc/saxon-devel/files/Attic/saxon.sh,v 1.5 2004-11-22 16:49:34 hq Exp $ IAM=`basename "$0"` @@ -17,4 +17,4 @@ do SAXON_CLASSPATH="${SAXON_CLASSPATH}:${jarfile}" done -JAVAVM="%%JAVAVM%%" "%%LOCALBASE%%/bin/javavm" -classpath "${SAXON_CLASSPATH}" "${LAUNCHER_CLASS}" "$@" +JAVA_VERSION="1.4+" "%%LOCALBASE%%/bin/java" -classpath "${SAXON_CLASSPATH}" "${LAUNCHER_CLASS}" "$@" |