1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-30 05:40:06 +00:00

- 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
This commit is contained in:
Gabor Kovesdan 2009-05-27 19:46:10 +00:00
parent ae803127be
commit 11ebbffeaf
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=234675
4 changed files with 34 additions and 26 deletions

View File

@ -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}

View File

@ -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

View File

@ -0,0 +1,5 @@
#!/bin/sh
#
# $FreeBSD$
"%%LOCALBASE%%/bin/java" -jar "%%JAVAJARDIR%%/jing.jar" "$@"

View File

@ -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%%