aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2001-08-22 16:52:13 +0800
committerknu <knu@FreeBSD.org>2001-08-22 16:52:13 +0800
commit272f25ac7f17d31c4c37c0da35c38d44b763d2b4 (patch)
treec35a136ef0d2994fe6e693b1df3e08411ffdea0a
parent75c89a7b35549fdba26158a8125fdbd74d83ff86 (diff)
downloadfreebsd-ports-gnome-272f25ac7f17d31c4c37c0da35c38d44b763d2b4.tar.gz
freebsd-ports-gnome-272f25ac7f17d31c4c37c0da35c38d44b763d2b4.tar.zst
freebsd-ports-gnome-272f25ac7f17d31c4c37c0da35c38d44b763d2b4.zip
Add ruby-mwdom, DOM level2 module, XMLWriter and XHTMLWriter for Ruby.
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/ruby-mwdom/Makefile31
-rw-r--r--textproc/ruby-mwdom/distinfo1
-rw-r--r--textproc/ruby-mwdom/pkg-comment1
-rw-r--r--textproc/ruby-mwdom/pkg-descr5
-rw-r--r--textproc/ruby-mwdom/pkg-plist18
6 files changed, 57 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index 62bc21c56a6d..23971fea1949 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -162,6 +162,7 @@
SUBDIR += ruby-erb
SUBDIR += ruby-gdome
SUBDIR += ruby-html-parser
+ SUBDIR += ruby-mwdom
SUBDIR += ruby-nqxml
SUBDIR += ruby-qt2xml
SUBDIR += ruby-rd-mode.el
diff --git a/textproc/ruby-mwdom/Makefile b/textproc/ruby-mwdom/Makefile
new file mode 100644
index 000000000000..6256b1c5e76d
--- /dev/null
+++ b/textproc/ruby-mwdom/Makefile
@@ -0,0 +1,31 @@
+# New ports collection makefile for: Ruby/MWDOM
+# Date created: 22 August 2001
+# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= mwdom
+PORTVERSION= 0.1.5
+CATEGORIES= textproc ruby
+MASTER_SITES= http://www.moonwolf.com/ruby/archive/
+PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
+DIST_SUBDIR= ruby
+
+MAINTAINER= knu@FreeBSD.org
+
+RUN_DEPENDS= ${RUBY_SITELIBDIR}/xpathtree.rb:${PORTSDIR}/textproc/ruby-xmlscan
+
+USE_BZIP2= yes
+USE_RUBY= yes
+
+NO_BUILD= yes
+
+do-install:
+ ${CP} -R ${WRKSRC}/mwdom ${RUBY_SITELIBDIR}/
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${RUBY_EXAMPLESDIR}/${PORTNAME}
+ ${INSTALL_DATA} ${WRKSRC}/*.* ${RUBY_EXAMPLESDIR}/${PORTNAME}/
+.endif
+
+.include <bsd.port.mk>
diff --git a/textproc/ruby-mwdom/distinfo b/textproc/ruby-mwdom/distinfo
new file mode 100644
index 000000000000..ba74089c22d9
--- /dev/null
+++ b/textproc/ruby-mwdom/distinfo
@@ -0,0 +1 @@
+MD5 (ruby/mwdom-0.1.5.tar.bz2) = 9a8b8c63516dca91117e835b2682ffd0
diff --git a/textproc/ruby-mwdom/pkg-comment b/textproc/ruby-mwdom/pkg-comment
new file mode 100644
index 000000000000..ba6ae9936866
--- /dev/null
+++ b/textproc/ruby-mwdom/pkg-comment
@@ -0,0 +1 @@
+DOM level2 module, XMLWriter and XHTMLWriter for Ruby
diff --git a/textproc/ruby-mwdom/pkg-descr b/textproc/ruby-mwdom/pkg-descr
new file mode 100644
index 000000000000..ebc2a9b47c20
--- /dev/null
+++ b/textproc/ruby-mwdom/pkg-descr
@@ -0,0 +1,5 @@
+This is Ruby/MWDOM, DOM level2 module, XMLWriter and XHTMLWriter for
+Ruby.
+
+Author: MoonWolf <moonwolf-ruby@moonwolf.com>
+WWW: http://www.ruby-lang.org/en/raa-list.rhtml?name=MWDOM
diff --git a/textproc/ruby-mwdom/pkg-plist b/textproc/ruby-mwdom/pkg-plist
new file mode 100644
index 000000000000..420a05deda6e
--- /dev/null
+++ b/textproc/ruby-mwdom/pkg-plist
@@ -0,0 +1,18 @@
+%%RUBY_SITELIBDIR%%/mwdom/builder/xmlscan.rb
+%%RUBY_SITELIBDIR%%/mwdom/core.rb
+%%RUBY_SITELIBDIR%%/mwdom/traversal.rb
+%%RUBY_SITELIBDIR%%/mwdom/visitor/domvisitor.rb
+%%RUBY_SITELIBDIR%%/mwdom/visitor/xhtmlwriter.rb
+%%RUBY_SITELIBDIR%%/mwdom/visitor/xmlwriter.rb
+@dirrm %%RUBY_SITELIBDIR%%/mwdom/builder
+@dirrm %%RUBY_SITELIBDIR%%/mwdom/visitor
+@dirrm %%RUBY_SITELIBDIR%%/mwdom
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/mwdom/ns1.xml
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/mwdom/ns2.xml
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/mwdom/parsetest.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/mwdom/rdf1.xml
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/mwdom/rdf2.xml
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/mwdom/testdoc.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/mwdom/visitortest.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/mwdom/xhtmltest.rb
+%%PORTDOCS%%@dirrm %%RUBY_EXAMPLESDIR%%/mwdom