From 272f25ac7f17d31c4c37c0da35c38d44b763d2b4 Mon Sep 17 00:00:00 2001 From: knu Date: Wed, 22 Aug 2001 08:52:13 +0000 Subject: Add ruby-mwdom, DOM level2 module, XMLWriter and XHTMLWriter for Ruby. --- textproc/ruby-mwdom/Makefile | 31 +++++++++++++++++++++++++++++++ textproc/ruby-mwdom/distinfo | 1 + textproc/ruby-mwdom/pkg-comment | 1 + textproc/ruby-mwdom/pkg-descr | 5 +++++ textproc/ruby-mwdom/pkg-plist | 18 ++++++++++++++++++ 5 files changed, 56 insertions(+) create mode 100644 textproc/ruby-mwdom/Makefile create mode 100644 textproc/ruby-mwdom/distinfo create mode 100644 textproc/ruby-mwdom/pkg-comment create mode 100644 textproc/ruby-mwdom/pkg-descr create mode 100644 textproc/ruby-mwdom/pkg-plist (limited to 'textproc/ruby-mwdom') 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 +# +# $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 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 +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 -- cgit