diff options
-rw-r--r-- | textproc/nux/Makefile | 21 | ||||
-rw-r--r-- | textproc/nux/distinfo | 4 | ||||
-rw-r--r-- | textproc/nux/files/fire-validate.sh | 5 | ||||
-rw-r--r-- | textproc/nux/files/fire-validate.sh.in | 5 |
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 "$@" |