summaryrefslogtreecommitdiff
path: root/textproc/jing/Makefile
diff options
context:
space:
mode:
authorwiz <wiz>2006-08-06 17:37:21 +0000
committerwiz <wiz>2006-08-06 17:37:21 +0000
commit22905878a30000f11ed291bae7055cae80d51727 (patch)
treed79b3cd23c558918e9722387d67c21b462576c31 /textproc/jing/Makefile
parent9a23db9ba351a709b20f484c845004ef6fb40866 (diff)
downloadpkgsrc-22905878a30000f11ed291bae7055cae80d51727.tar.gz
Initial import of jing-20030619.
Jing is a RELAX NG validator in Java. This version of Jing implements * RELAX NG 1.0 Specification, * RELAX NG Compact Syntax, and * parts of RELAX NG DTD Compatibility, specifically checking of ID/IDREF/IDREFS. Jing also has experimental support for schema languages other than RELAX NG; specifically * W3C XML Schema (based on Xerces-J); * Schematron; * Namespace Routing Language.
Diffstat (limited to 'textproc/jing/Makefile')
-rw-r--r--textproc/jing/Makefile32
1 files changed, 32 insertions, 0 deletions
diff --git a/textproc/jing/Makefile b/textproc/jing/Makefile
new file mode 100644
index 00000000000..45a5a13a47f
--- /dev/null
+++ b/textproc/jing/Makefile
@@ -0,0 +1,32 @@
+# $NetBSD: Makefile,v 1.1.1.1 2006/08/06 17:37:21 wiz Exp $
+#
+
+DISTNAME= jing-20030619
+CATEGORIES= textproc
+MASTER_SITES= http://www.thaiopensource.com/download/
+EXTRACT_SUFX= .zip
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://www.thaiopensource.com/relaxng/trang.html
+COMMENT= RELAX NG validator in Java
+
+USE_JAVA= run
+USE_JAVA2= 1.4
+
+do-build:
+ ${ECHO} "#!/bin/sh" > ${WRKSRC}/jing
+ ${ECHO} "${PKG_JAVA_HOME}/bin/java -jar ${PREFIX}/libexec/jing/jing.jar"' "$$@"' >> ${WRKSRC}/jing
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/jing ${PREFIX}/bin
+ ${INSTALL_DATA_DIR} ${PREFIX}/libexec/jing
+ ${INSTALL_DATA} ${WRKSRC}/bin/* ${PREFIX}/libexec/jing
+ ${INSTALL_DATA_DIR} ${PREFIX}/libexec/jing/lib
+ ${INSTALL_DATA} ${WRKSRC}/lib/* ${PREFIX}/libexec/jing/lib
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/jing
+ ${INSTALL_DATA} ${WRKSRC}/readme.html ${PREFIX}/share/doc/jing
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/jing/doc
+ cd ${WRKSRC}/doc && ${PAX} -pp -rw * ${PREFIX}/share/doc/jing/doc
+
+.include "../../mk/java-vm.mk"
+.include "../../mk/bsd.pkg.mk"