aboutsummaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorJun Kuriyama <kuriyama@FreeBSD.org>2002-02-07 01:40:48 +0000
committerJun Kuriyama <kuriyama@FreeBSD.org>2002-02-07 01:40:48 +0000
commit745293ff8c8ccae0c240a44bcebb9d8d1618449f (patch)
tree9dc23695fd6bba39bef7f0e078b4d2ccbdcd660f /textproc
parent2709f34636da81161f4373adfdafea768ffb5f3f (diff)
downloadports-745293ff8c8ccae0c240a44bcebb9d8d1618449f.tar.gz
ports-745293ff8c8ccae0c240a44bcebb9d8d1618449f.zip
Add dtd2relax 1.1.1, DTD to RELAX converter for Java.
PR: ports/34548 Submitted by: Kimura Fuyuki <fuyuki@mj.0038.net>
Notes
Notes: svn path=/head/; revision=54287
Diffstat (limited to 'textproc')
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/dtd2relax/Makefile36
-rw-r--r--textproc/dtd2relax/distinfo2
-rw-r--r--textproc/dtd2relax/pkg-comment1
-rw-r--r--textproc/dtd2relax/pkg-descr6
-rw-r--r--textproc/dtd2relax/pkg-plist12
6 files changed, 58 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index 3743e8364081..33155001eedf 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -39,6 +39,7 @@
SUBDIR += dsssl-docbook-cygnus
SUBDIR += dsssl-docbook-modular
SUBDIR += dtd-catalogs
+ SUBDIR += dtd2relax
SUBDIR += dtdparse
SUBDIR += eruby
SUBDIR += expat
diff --git a/textproc/dtd2relax/Makefile b/textproc/dtd2relax/Makefile
new file mode 100644
index 000000000000..3254408824a5
--- /dev/null
+++ b/textproc/dtd2relax/Makefile
@@ -0,0 +1,36 @@
+# New ports collection makefile for: dtd2relax
+# Date created: 2 February 2002
+# Whom: Kimura Fuyuki <fuyuki@mj.0038.net>
+#
+# $FreeBSD$
+#
+
+PORTNAME= dtd2relax
+PORTVERSION= 1.1.1
+CATEGORIES= textproc
+MASTER_SITES= http://www.horobi.com/Projects/RELAX/Archive/
+DISTNAME= ${PORTNAME:U}_${PORTVERSION:S/./_/g}
+DISTFILES= ${JAR} ${DISTNAME}-src${EXTRACT_SUFX}
+EXTRACT_ONLY= ${DISTNAME}-src${EXTRACT_SUFX}
+
+MAINTAINER= fuyuki@mj.0038.net
+
+RUN_DEPENDS= javavm:${PORTSDIR}/java/javavmwrapper
+
+USE_ZIP= yes
+NO_BUILD= yes
+
+JAR= ${DISTNAME}-bin-XML4J.jar
+JAVALIBDIR= ${PREFIX}/share/java/classes
+
+do-install:
+ ${MKDIR} ${JAVALIBDIR}
+ ${INSTALL_DATA} ${DISTDIR}/${JAR} ${JAVALIBDIR}/${PORTNAME}.jar
+
+post-install:
+ ${MKDIR} ${EXAMPLESDIR}
+ ${INSTALL_DATA} ${WRKSRC}/samples/* ${EXAMPLESDIR}
+ ${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/docs/* ${DOCSDIR}
+
+.include <bsd.port.mk>
diff --git a/textproc/dtd2relax/distinfo b/textproc/dtd2relax/distinfo
new file mode 100644
index 000000000000..2d481bf20d61
--- /dev/null
+++ b/textproc/dtd2relax/distinfo
@@ -0,0 +1,2 @@
+MD5 (DTD2RELAX_1_1_1-bin-XML4J.jar) = c450d486769ebae2f17ac21be1b8b972
+MD5 (DTD2RELAX_1_1_1-src.zip) = 93be8e8d4a392b6bd6181ee3c00d99c1
diff --git a/textproc/dtd2relax/pkg-comment b/textproc/dtd2relax/pkg-comment
new file mode 100644
index 000000000000..b2cad5c1af4f
--- /dev/null
+++ b/textproc/dtd2relax/pkg-comment
@@ -0,0 +1 @@
+DTD to RELAX converter for Java
diff --git a/textproc/dtd2relax/pkg-descr b/textproc/dtd2relax/pkg-descr
new file mode 100644
index 000000000000..a8537d658d37
--- /dev/null
+++ b/textproc/dtd2relax/pkg-descr
@@ -0,0 +1,6 @@
+DTD2RELAX converts DTD schema into RELAX module.
+
+WWW: http://www.horobi.com/Projects/RELAX/Archive/DTD2RELAX.html
+
+- Kimura Fuyuki
+fuyuki@mj.0038.net
diff --git a/textproc/dtd2relax/pkg-plist b/textproc/dtd2relax/pkg-plist
new file mode 100644
index 000000000000..e4eecab0b42a
--- /dev/null
+++ b/textproc/dtd2relax/pkg-plist
@@ -0,0 +1,12 @@
+share/java/classes/dtd2relax.jar
+share/examples/dtd2relax/test01-utf8.rlx
+share/examples/dtd2relax/test01.dtd
+share/examples/dtd2relax/xmlspec-19990205-utf8.rlx
+share/examples/dtd2relax/xmlspec-19990205.dtd
+@dirrm share/examples/dtd2relax
+share/doc/dtd2relax/DTD2RELAX-j.html
+share/doc/dtd2relax/DTD2RELAX.html
+share/doc/dtd2relax/DTDtoRELAXConverterGUI.gif
+share/doc/dtd2relax/test01.dtd
+share/doc/dtd2relax/test01.rlx
+@dirrm share/doc/dtd2relax