summaryrefslogtreecommitdiff
path: root/textproc/nux
diff options
context:
space:
mode:
authorHerve Quiroz <hq@FreeBSD.org>2005-02-21 09:49:04 +0000
committerHerve Quiroz <hq@FreeBSD.org>2005-02-21 09:49:04 +0000
commitc1261d5553cd204fcedbd1d7aad54f5c60e9a544 (patch)
tree6808e7062df03749601d9aa6dd8c5b770af4fad0 /textproc/nux
parentUpdate to 1.4. (diff)
- Update to 1.0 final
- Improve launcher shell script: use JAVA_VERSION instead of hardcoding a particular JDK - Use SUB_FILES to generate the launcher shell script
Notes
Notes: svn path=/head/; revision=129453
Diffstat (limited to 'textproc/nux')
-rw-r--r--textproc/nux/Makefile21
-rw-r--r--textproc/nux/distinfo4
-rw-r--r--textproc/nux/files/fire-validate.sh5
-rw-r--r--textproc/nux/files/fire-validate.sh.in5
4 files changed, 16 insertions, 19 deletions
diff --git a/textproc/nux/Makefile b/textproc/nux/Makefile
index cff1f0dbfc35..0128ca297033 100644
--- a/textproc/nux/Makefile
+++ b/textproc/nux/Makefile
@@ -6,9 +6,10 @@
#
PORTNAME= nux
-PORTVERSION= 1.0a5
+PORTVERSION= 1.0
+PORTEPOCH= 1
CATEGORIES= textproc java
-MASTER_SITES= http://dsd.lbl.gov/nux-download/snapshots/
+MASTER_SITES= http://dsd.lbl.gov/nux-download/releases/
MAINTAINER= hq@FreeBSD.org
COMMENT= Small open-source XQuery extension of the XOM library
@@ -28,24 +29,20 @@ WRKSRC= ${WRKDIR}/${PORTNAME}
.if defined(WITH_VALIDATION_TOOL)
RUN_DEPENDS+= ${JAVALIBDIR}/getopt.jar:${PORTSDIR}/java/java-getopt \
classpath:${PORTSDIR}/java/javavmwrapper
-VALIDATION_TOOL=fire-validate
.endif
PLIST_FILES= %%JAVAJARDIR%%/${PORTNAME}.jar
.if defined(WITH_VALIDATION_TOOL)
-PLIST_FILES+= bin/${VALIDATION_TOOL}
+PLIST_FILES+= bin/fire-validate
.endif
.if !defined(NOPORTDOCS)
-PORTDOCS= api bugs.html changelog.html cvs.html dependencies.html \
- gettingstarted.html images index.html install.html \
- license.html licenses mailing.html readme.html \
- relatedwork.html style.css todo.html tutorials.html
+PORTDOCS= api changelog.html cvs.html dependencies.html \
+ gettingstarted.html images index.html license.html licenses \
+ mailing.html readme.html style.css todo.html
.endif
.if defined(WITH_VALIDATION_TOOL)
-do-configure:
- ${SED} -e 's,%%LOCALBASE%%,${LOCALBASE},g ; s,%%JAVA%%,${JAVA},g' \
- ${FILESDIR}/${VALIDATION_TOOL}.sh >${WRKSRC}/${VALIDATION_TOOL}
+SUB_FILES= fire-validate.sh
.endif
do-install:
@@ -55,7 +52,7 @@ do-install:
@${ECHO_MSG} " [ DONE ]"
.if defined(WITH_VALIDATION_TOOL)
@${ECHO_MSG} -n ">> Installing validation tool as ${PREFIX}/bin/${VALIDATION_TOOL}..."
- @${INSTALL_SCRIPT} ${WRKSRC}/${VALIDATION_TOOL} ${PREFIX}/bin/
+ @${INSTALL_SCRIPT} ${WRKDIR}/fire-validate.sh ${PREFIX}/bin/fire-validate
@${ECHO_MSG} " [ DONE ]"
.endif
.if !defined(NOPORTDOCS)
diff --git a/textproc/nux/distinfo b/textproc/nux/distinfo
index 3cd88374fe92..d7999e3bed1d 100644
--- a/textproc/nux/distinfo
+++ b/textproc/nux/distinfo
@@ -1,2 +1,2 @@
-MD5 (nux-1.0a5.tar.gz) = 022ed45119bd6ddb039bc1f3acf1c997
-SIZE (nux-1.0a5.tar.gz) = 1235038
+MD5 (nux-1.0.tar.gz) = 63568d0927efa051eee4bcb442c19c2c
+SIZE (nux-1.0.tar.gz) = 3523718
diff --git a/textproc/nux/files/fire-validate.sh b/textproc/nux/files/fire-validate.sh
deleted file mode 100644
index 5f8c5acf1fda..000000000000
--- a/textproc/nux/files/fire-validate.sh
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/bin/sh
-#
-# $FreeBSD$
-
-exec %%JAVA%% -classpath "`%%LOCALBASE%%/bin/classpath`" nux.xom.tests.ValidationCommand $*
diff --git a/textproc/nux/files/fire-validate.sh.in b/textproc/nux/files/fire-validate.sh.in
new file mode 100644
index 000000000000..29828649f3c3
--- /dev/null
+++ b/textproc/nux/files/fire-validate.sh.in
@@ -0,0 +1,5 @@
+#!/bin/sh
+#
+# $FreeBSD$
+
+JAVA_VERSION="1.4+" "%%LOCALBASE%%/bin/java" -classpath "`%%LOCALBASE%%/bin/classpath`" nux.xom.tests.ValidationCommand "$@"