aboutsummaryrefslogtreecommitdiff
path: root/textproc/jing
diff options
context:
space:
mode:
authorGabor Kovesdan <gabor@FreeBSD.org>2009-05-27 19:46:10 +0000
committerGabor Kovesdan <gabor@FreeBSD.org>2009-05-27 19:46:10 +0000
commit11ebbffeaf3eaf8a6d6f3cb3936d5b518d435f5c (patch)
tree8184f93f3b5d614e280a68fefeedf2bc2aa953e6 /textproc/jing
parentae803127be0b7f73cc030a5d2473c0eb0d17952c (diff)
downloadports-11ebbffeaf3eaf8a6d6f3cb3936d5b518d435f5c.tar.gz
ports-11ebbffeaf3eaf8a6d6f3cb3936d5b518d435f5c.zip
Notes
Diffstat (limited to 'textproc/jing')
-rw-r--r--textproc/jing/Makefile12
-rw-r--r--textproc/jing/distinfo6
-rw-r--r--textproc/jing/files/jing.sh.in5
-rw-r--r--textproc/jing/pkg-plist37
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%%