diff options
author | hq <hq@FreeBSD.org> | 2005-11-24 23:19:45 +0800 |
---|---|---|
committer | hq <hq@FreeBSD.org> | 2005-11-24 23:19:45 +0800 |
commit | 1586a326b97dcf8ff67043aec8ac820ba1c1b79e (patch) | |
tree | c234d48f4cce98a7ef4d4cc20adc1b9603a58f70 /textproc | |
parent | 4a1377e8c793a8e07926f4e1ca8857ccaa91a45e (diff) | |
download | freebsd-ports-graphics-1586a326b97dcf8ff67043aec8ac820ba1c1b79e.tar.gz freebsd-ports-graphics-1586a326b97dcf8ff67043aec8ac820ba1c1b79e.tar.zst freebsd-ports-graphics-1586a326b97dcf8ff67043aec8ac820ba1c1b79e.zip |
- Update to 1.3
- Add SHA256 info
- No more validation tool
- Install a new XQuery command-line tool (optional)
- Install docs using ${FIND} | ${INSTALL_DATA}
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/nux/Makefile | 25 | ||||
-rw-r--r-- | textproc/nux/distinfo | 5 | ||||
-rw-r--r-- | textproc/nux/files/fire-validate.sh.in | 5 | ||||
-rw-r--r-- | textproc/nux/files/fire-xquery.sh.in | 5 |
4 files changed, 20 insertions, 20 deletions
diff --git a/textproc/nux/Makefile b/textproc/nux/Makefile index 0128ca29703..dff0f9d8c4b 100644 --- a/textproc/nux/Makefile +++ b/textproc/nux/Makefile @@ -6,7 +6,7 @@ # PORTNAME= nux -PORTVERSION= 1.0 +PORTVERSION= 1.3 PORTEPOCH= 1 CATEGORIES= textproc java MASTER_SITES= http://dsd.lbl.gov/nux-download/releases/ @@ -17,7 +17,7 @@ COMMENT= Small open-source XQuery extension of the XOM library RUN_DEPENDS= ${JAVALIBDIR}/xom.jar:${PORTSDIR}/textproc/xom \ ${JAVALIBDIR}/saxon8.jar:${PORTSDIR}/textproc/saxon-devel -OPTIONS= VALIDATION_TOOL "Install the XML Schema validation tool" on +OPTIONS= XQUERY_TOOL "Install the XQuery command-line tool" on USE_JAVA= yes JAVA_VERSION= 1.4+ @@ -26,14 +26,14 @@ WRKSRC= ${WRKDIR}/${PORTNAME} .include <bsd.port.pre.mk> -.if defined(WITH_VALIDATION_TOOL) +.if defined(WITH_XQUERY_TOOL) RUN_DEPENDS+= ${JAVALIBDIR}/getopt.jar:${PORTSDIR}/java/java-getopt \ classpath:${PORTSDIR}/java/javavmwrapper .endif PLIST_FILES= %%JAVAJARDIR%%/${PORTNAME}.jar -.if defined(WITH_VALIDATION_TOOL) -PLIST_FILES+= bin/fire-validate +.if defined(WITH_XQUERY_TOOL) +PLIST_FILES+= bin/fire-xquery .endif .if !defined(NOPORTDOCS) PORTDOCS= api changelog.html cvs.html dependencies.html \ @@ -41,8 +41,8 @@ PORTDOCS= api changelog.html cvs.html dependencies.html \ mailing.html readme.html style.css todo.html .endif -.if defined(WITH_VALIDATION_TOOL) -SUB_FILES= fire-validate.sh +.if defined(WITH_XQUERY_TOOL) +SUB_FILES= fire-xquery.sh .endif do-install: @@ -50,16 +50,15 @@ do-install: @${MKDIR} ${JAVAJARDIR} @${INSTALL_DATA} ${WRKSRC}/lib/${PORTNAME}.jar ${JAVAJARDIR}/ @${ECHO_MSG} " [ DONE ]" -.if defined(WITH_VALIDATION_TOOL) - @${ECHO_MSG} -n ">> Installing validation tool as ${PREFIX}/bin/${VALIDATION_TOOL}..." - @${INSTALL_SCRIPT} ${WRKDIR}/fire-validate.sh ${PREFIX}/bin/fire-validate +.if defined(WITH_XQUERY_TOOL) + @${ECHO_MSG} -n ">> Installing XQuery command-line tool as ${PREFIX}/bin/fire-xquery..." + @${INSTALL_SCRIPT} ${WRKDIR}/fire-xquery.sh ${PREFIX}/bin/fire-xquery @${ECHO_MSG} " [ DONE ]" .endif .if !defined(NOPORTDOCS) @${ECHO_MSG} -n ">> Installing documentation in ${DOCSDIR}..." - @${MKDIR} ${DOCSDIR} - @cd ${WRKSRC}/doc/ && ${FIND} ${PORTDOCS} \ - | ${CPIO} -pdmu -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR} > /dev/null 2>&1 + @cd ${WRKSRC}/doc/ && ${FIND} ${PORTDOCS} -type d -exec ${MKDIR} ${DOCSDIR}/{} \; + @cd ${WRKSRC}/doc/ && ${FIND} ${PORTDOCS} -type f -exec ${INSTALL_DATA} {} ${DOCSDIR}/{} \; @${ECHO_MSG} " [ DONE ]" .endif diff --git a/textproc/nux/distinfo b/textproc/nux/distinfo index d7999e3bed1..61f08b90996 100644 --- a/textproc/nux/distinfo +++ b/textproc/nux/distinfo @@ -1,2 +1,3 @@ -MD5 (nux-1.0.tar.gz) = 63568d0927efa051eee4bcb442c19c2c -SIZE (nux-1.0.tar.gz) = 3523718 +MD5 (nux-1.3.tar.gz) = 1639cdfe577314a62ed178ecc3a6ca16 +SHA256 (nux-1.3.tar.gz) = c9eb5782fc46275aa940f3bb799ae93ade6efb952f5ecc5c9a07cd687faf9037 +SIZE (nux-1.3.tar.gz) = 7880933 diff --git a/textproc/nux/files/fire-validate.sh.in b/textproc/nux/files/fire-validate.sh.in deleted file mode 100644 index 29828649f3c..00000000000 --- a/textproc/nux/files/fire-validate.sh.in +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/sh -# -# $FreeBSD$ - -JAVA_VERSION="1.4+" "%%LOCALBASE%%/bin/java" -classpath "`%%LOCALBASE%%/bin/classpath`" nux.xom.tests.ValidationCommand "$@" diff --git a/textproc/nux/files/fire-xquery.sh.in b/textproc/nux/files/fire-xquery.sh.in new file mode 100644 index 00000000000..e996b16b64c --- /dev/null +++ b/textproc/nux/files/fire-xquery.sh.in @@ -0,0 +1,5 @@ +#!/bin/sh +# +# $FreeBSD$ + +JAVA_VERSION="%%JAVA_VERSION%%" "%%LOCALBASE%%/bin/java" -classpath "`%%LOCALBASE%%/bin/classpath`" nux.xom.tests.XQueryCommand "$@" |