aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authorhq <hq@FreeBSD.org>2004-11-23 00:49:34 +0800
committerhq <hq@FreeBSD.org>2004-11-23 00:49:34 +0800
commita1cfadc009d2ca52e14626eed2f332a09670b72b (patch)
treeb3679799490a65cf7c08b8d9ff83f7a291cd4443 /textproc
parent17a8abc4dfc2ce1b14f45b52539b90a27d40d5d4 (diff)
downloadfreebsd-ports-gnome-a1cfadc009d2ca52e14626eed2f332a09670b72b.tar.gz
freebsd-ports-gnome-a1cfadc009d2ca52e14626eed2f332a09670b72b.tar.zst
freebsd-ports-gnome-a1cfadc009d2ca52e14626eed2f332a09670b72b.zip
- Use MASTER_SITE_SOURCEFORGE
- Track the recent changes to java/javavmwrapper - Various cosmetic changes
Diffstat (limited to 'textproc')
-rw-r--r--textproc/saxon-devel/Makefile24
-rw-r--r--textproc/saxon-devel/files/saxon.sh4
-rw-r--r--textproc/saxon-he/Makefile24
-rw-r--r--textproc/saxon-he/files/saxon.sh4
4 files changed, 28 insertions, 28 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}" "$@"
diff --git a/textproc/saxon-he/Makefile b/textproc/saxon-he/Makefile
index 3804c8c4bb46..6035ba940385 100644
--- a/textproc/saxon-he/Makefile
+++ b/textproc/saxon-he/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-he/files/saxon.sh b/textproc/saxon-he/files/saxon.sh
index 2f8fa270f061..1ec96bf857fd 100644
--- a/textproc/saxon-he/files/saxon.sh
+++ b/textproc/saxon-he/files/saxon.sh
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $FreeBSD: /tmp/pcvs/ports/textproc/saxon-he/files/Attic/saxon.sh,v 1.4 2004-11-09 16:03:39 hq Exp $
+# $FreeBSD: /tmp/pcvs/ports/textproc/saxon-he/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}" "$@"