diff options
author | gabor <gabor@FreeBSD.org> | 2009-05-28 03:46:10 +0800 |
---|---|---|
committer | gabor <gabor@FreeBSD.org> | 2009-05-28 03:46:10 +0800 |
commit | 307a17cce53ee5175e6b16b8defd6b0f24552b3a (patch) | |
tree | f234df03f7d75412cc3e2f1db5e1339f4e7da61f /textproc | |
parent | d59bb1cc78b94e92e92f99d2c0824cf75d77af0f (diff) | |
download | freebsd-ports-gnome-307a17cce53ee5175e6b16b8defd6b0f24552b3a.tar.gz freebsd-ports-gnome-307a17cce53ee5175e6b16b8defd6b0f24552b3a.tar.zst freebsd-ports-gnome-307a17cce53ee5175e6b16b8defd6b0f24552b3a.zip |
- Update to 2008.10.28
- Requires Java >= 1.5 this is what documentation guarantees to work
- Add shell script for easy invocation
- Fix NOPORTEXAMPLES behaviour
- Take maintainership
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/jing/Makefile | 12 | ||||
-rw-r--r-- | textproc/jing/distinfo | 6 | ||||
-rw-r--r-- | textproc/jing/files/jing.sh.in | 5 | ||||
-rw-r--r-- | textproc/jing/pkg-plist | 37 |
4 files changed, 34 insertions, 26 deletions
diff --git a/textproc/jing/Makefile b/textproc/jing/Makefile index 8b873aeb59af..9d3bb18f7c77 100644 --- a/textproc/jing/Makefile +++ b/textproc/jing/Makefile @@ -6,25 +6,27 @@ # PORTNAME= jing -PORTVERSION= 2003.06.19 -PORTREVISION= 2 +PORTVERSION= 2008.10.28 CATEGORIES= textproc java -MASTER_SITES= http://www.thaiopensource.com/download/ +MASTER_SITES= http://jing-trang.googlecode.com/files/ DISTNAME= ${PORTNAME}-${PORTVERSION:S/.//g} -MAINTAINER= ports@FreeBSD.org +MAINTAINER= gabor@FreeBSD.org COMMENT= A RELAX NG validator in Java USE_ZIP= yes USE_JAVA= yes -JAVA_VERSION= 1.4+ +JAVA_VERSION= 1.5+ NO_BUILD= yes .if !defined(NOPORTDOCS) PORTDOCS= * .endif +SUB_FILES= jing.sh + do-install: + ${INSTALL_SCRIPT} ${WRKDIR}/jing.sh ${PREFIX}/bin/jing ${INSTALL_DATA} ${WRKSRC}/bin/jing.jar ${JAVAJARDIR} .if !defined(NOPORTDOCS) ${MKDIR} ${DOCSDIR} diff --git a/textproc/jing/distinfo b/textproc/jing/distinfo index 4d6171ec25d4..dc7dce3e470c 100644 --- a/textproc/jing/distinfo +++ b/textproc/jing/distinfo @@ -1,3 +1,3 @@ -MD5 (jing-20030619.zip) = f9b0775d8740f16ab3df82ad3707a093 -SHA256 (jing-20030619.zip) = b10a7fbbf1f5354de59700a1665f27d68a71b07f6927c2e497dc0ba294a47efd -SIZE (jing-20030619.zip) = 2523368 +MD5 (jing-20081028.zip) = 36c720f91d5c413da873c2d06fb6b9e7 +SHA256 (jing-20081028.zip) = 13909b038b0323882d6906e39260731bccb20f8147b40f78c888863aaac40c18 +SIZE (jing-20081028.zip) = 2942003 diff --git a/textproc/jing/files/jing.sh.in b/textproc/jing/files/jing.sh.in new file mode 100644 index 000000000000..7ec23b0f4c3b --- /dev/null +++ b/textproc/jing/files/jing.sh.in @@ -0,0 +1,5 @@ +#!/bin/sh +# +# $FreeBSD$ + +"%%LOCALBASE%%/bin/java" -jar "%%JAVAJARDIR%%/jing.jar" "$@" diff --git a/textproc/jing/pkg-plist b/textproc/jing/pkg-plist index 6b9e3aad4c32..0f6b99c720ab 100644 --- a/textproc/jing/pkg-plist +++ b/textproc/jing/pkg-plist @@ -1,19 +1,20 @@ +bin/jing %%JAVAJARDIR%%/jing.jar -%%PORTDOCS%%%%EXAMPLESDIR%%/datatype/build.xml -%%PORTDOCS%%%%EXAMPLESDIR%%/datatype/datatype-sample.jar -%%PORTDOCS%%%%EXAMPLESDIR%%/datatype/datatype-sample.rng -%%PORTDOCS%%%%EXAMPLESDIR%%/datatype/index.html -%%PORTDOCS%%%%EXAMPLESDIR%%/datatype/invalid.xml -%%PORTDOCS%%%%EXAMPLESDIR%%/datatype/src/META-INF/services/org.relaxng.datatype.DatatypeLibraryFactory -%%PORTDOCS%%%%EXAMPLESDIR%%/datatype/src/com/thaiopensource/datatype/sample/BalancedString.java -%%PORTDOCS%%%%EXAMPLESDIR%%/datatype/src/com/thaiopensource/datatype/sample/SimpleDatatypeLibrary.java -%%PORTDOCS%%%%EXAMPLESDIR%%/datatype/valid.xml -%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/datatype/src/com/thaiopensource/datatype/sample -%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/datatype/src/com/thaiopensource/datatype -%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/datatype/src/com/thaiopensource -%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/datatype/src/com -%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/datatype/src/META-INF/services -%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/datatype/src/META-INF -%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/datatype/src -%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/datatype -%%PORTDOCS%%@dirrm %%EXAMPLESDIR%% +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/datatype/build.xml +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/datatype/datatype-sample.jar +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/datatype/datatype-sample.rng +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/datatype/index.html +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/datatype/invalid.xml +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/datatype/src/META-INF/services/org.relaxng.datatype.DatatypeLibraryFactory +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/datatype/src/com/thaiopensource/datatype/sample/BalancedString.java +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/datatype/src/com/thaiopensource/datatype/sample/SimpleDatatypeLibrary.java +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/datatype/valid.xml +%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/datatype/src/com/thaiopensource/datatype/sample +%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/datatype/src/com/thaiopensource/datatype +%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/datatype/src/com/thaiopensource +%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/datatype/src/com +%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/datatype/src/META-INF/services +%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/datatype/src/META-INF +%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/datatype/src +%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/datatype +%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%% |