From 0287139b0ae0b3a873bf03fb6d64f279797fc0a7 Mon Sep 17 00:00:00 2001 From: knu Date: Wed, 22 Aug 2001 08:26:47 +0000 Subject: Add ruby-xmlscan, pure Ruby XML/HTML scanner and XPath processor/compiler modules. --- textproc/Makefile | 1 + textproc/ruby-xmlscan-old/Makefile | 32 ++++++++++++++++++++++++++++++++ textproc/ruby-xmlscan-old/distinfo | 1 + textproc/ruby-xmlscan-old/pkg-comment | 1 + textproc/ruby-xmlscan-old/pkg-descr | 4 ++++ textproc/ruby-xmlscan-old/pkg-plist | 10 ++++++++++ textproc/ruby-xmlscan/Makefile | 32 ++++++++++++++++++++++++++++++++ textproc/ruby-xmlscan/distinfo | 1 + textproc/ruby-xmlscan/pkg-comment | 1 + textproc/ruby-xmlscan/pkg-descr | 4 ++++ textproc/ruby-xmlscan/pkg-plist | 10 ++++++++++ 11 files changed, 97 insertions(+) create mode 100644 textproc/ruby-xmlscan-old/Makefile create mode 100644 textproc/ruby-xmlscan-old/distinfo create mode 100644 textproc/ruby-xmlscan-old/pkg-comment create mode 100644 textproc/ruby-xmlscan-old/pkg-descr create mode 100644 textproc/ruby-xmlscan-old/pkg-plist create mode 100644 textproc/ruby-xmlscan/Makefile create mode 100644 textproc/ruby-xmlscan/distinfo create mode 100644 textproc/ruby-xmlscan/pkg-comment create mode 100644 textproc/ruby-xmlscan/pkg-descr create mode 100644 textproc/ruby-xmlscan/pkg-plist diff --git a/textproc/Makefile b/textproc/Makefile index 309fb9d01476..babfe1732dde 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -169,6 +169,7 @@ SUBDIR += ruby-rss SUBDIR += ruby-sablot SUBDIR += ruby-xmlparser + SUBDIR += ruby-xmlscan SUBDIR += rxp SUBDIR += sablotron SUBDIR += sarep diff --git a/textproc/ruby-xmlscan-old/Makefile b/textproc/ruby-xmlscan-old/Makefile new file mode 100644 index 000000000000..7b4170cfe394 --- /dev/null +++ b/textproc/ruby-xmlscan-old/Makefile @@ -0,0 +1,32 @@ +# New ports collection makefile for: ruby-xmlscan +# Date created: 7 August 2001 +# Whom: Akinori MUSHA aka knu +# +# $FreeBSD$ +# + +PORTNAME= xmlscan +PORTVERSION= 0.0.10 +CATEGORIES= textproc ruby +MASTER_SITES= http://www.blue.sky.or.jp/atelier/ruby/ +PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX} +DIST_SUBDIR= ruby + +MAINTAINER= knu@FreeBSD.org + +BUILD_DEPENDS= racc:${PORTSDIR}/devel/ruby-racc +RUN_DEPENDS= ${RUBY_SITELIBDIR}/racc/parser.rb:${PORTSDIR}/devel/ruby-racc-runtime + +USE_RUBY= yes + +do-build: + cd ${WRKSRC}; racc -v -g -c -o xmldtd.rb xmldtd.ry + +do-install: + cd ${WRKSRC}; ${INSTALL_DATA} [hx]*.rb ${RUBY_SITELIBDIR}/ +.if !defined(NOPORTDOCS) + ${MKDIR} ${RUBY_DOCDIR}/${PORTNAME}/ja + ${INSTALL_DATA} ${WRKSRC}/README ${RUBY_DOCDIR}/${PORTNAME}/ja/ +.endif + +.include diff --git a/textproc/ruby-xmlscan-old/distinfo b/textproc/ruby-xmlscan-old/distinfo new file mode 100644 index 000000000000..f57e35dfeda5 --- /dev/null +++ b/textproc/ruby-xmlscan-old/distinfo @@ -0,0 +1 @@ +MD5 (ruby/xmlscan-0.0.10.tar.gz) = f3c6543ee6637a2971a51408578c2eaf diff --git a/textproc/ruby-xmlscan-old/pkg-comment b/textproc/ruby-xmlscan-old/pkg-comment new file mode 100644 index 000000000000..b1bf7914eee5 --- /dev/null +++ b/textproc/ruby-xmlscan-old/pkg-comment @@ -0,0 +1 @@ +Pure Ruby XML/HTML scanner and XPath processor/compiler modules diff --git a/textproc/ruby-xmlscan-old/pkg-descr b/textproc/ruby-xmlscan-old/pkg-descr new file mode 100644 index 000000000000..248c4453f6d5 --- /dev/null +++ b/textproc/ruby-xmlscan-old/pkg-descr @@ -0,0 +1,4 @@ +This a set of pure Ruby XML/HTML scanner and XPath processor/compiler +modules. + +Author: Ueno Katsuhiro diff --git a/textproc/ruby-xmlscan-old/pkg-plist b/textproc/ruby-xmlscan-old/pkg-plist new file mode 100644 index 000000000000..f1d1ff35bace --- /dev/null +++ b/textproc/ruby-xmlscan-old/pkg-plist @@ -0,0 +1,10 @@ +%%RUBY_SITELIBDIR%%/htmlscan.rb +%%RUBY_SITELIBDIR%%/xmldtd.rb +%%RUBY_SITELIBDIR%%/xmlscan.rb +%%RUBY_SITELIBDIR%%/xmltoken.rb +%%RUBY_SITELIBDIR%%/xpath-dom.rb +%%RUBY_SITELIBDIR%%/xpath.rb +%%RUBY_SITELIBDIR%%/xpathtree.rb +%%PORTDOCS%%%%RUBY_DOCDIR%%/xmlscan/ja/README +%%PORTDOCS%%@dirrm %%RUBY_DOCDIR%%/xmlscan/ja +%%PORTDOCS%%@dirrm %%RUBY_DOCDIR%%/xmlscan diff --git a/textproc/ruby-xmlscan/Makefile b/textproc/ruby-xmlscan/Makefile new file mode 100644 index 000000000000..7b4170cfe394 --- /dev/null +++ b/textproc/ruby-xmlscan/Makefile @@ -0,0 +1,32 @@ +# New ports collection makefile for: ruby-xmlscan +# Date created: 7 August 2001 +# Whom: Akinori MUSHA aka knu +# +# $FreeBSD$ +# + +PORTNAME= xmlscan +PORTVERSION= 0.0.10 +CATEGORIES= textproc ruby +MASTER_SITES= http://www.blue.sky.or.jp/atelier/ruby/ +PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX} +DIST_SUBDIR= ruby + +MAINTAINER= knu@FreeBSD.org + +BUILD_DEPENDS= racc:${PORTSDIR}/devel/ruby-racc +RUN_DEPENDS= ${RUBY_SITELIBDIR}/racc/parser.rb:${PORTSDIR}/devel/ruby-racc-runtime + +USE_RUBY= yes + +do-build: + cd ${WRKSRC}; racc -v -g -c -o xmldtd.rb xmldtd.ry + +do-install: + cd ${WRKSRC}; ${INSTALL_DATA} [hx]*.rb ${RUBY_SITELIBDIR}/ +.if !defined(NOPORTDOCS) + ${MKDIR} ${RUBY_DOCDIR}/${PORTNAME}/ja + ${INSTALL_DATA} ${WRKSRC}/README ${RUBY_DOCDIR}/${PORTNAME}/ja/ +.endif + +.include diff --git a/textproc/ruby-xmlscan/distinfo b/textproc/ruby-xmlscan/distinfo new file mode 100644 index 000000000000..f57e35dfeda5 --- /dev/null +++ b/textproc/ruby-xmlscan/distinfo @@ -0,0 +1 @@ +MD5 (ruby/xmlscan-0.0.10.tar.gz) = f3c6543ee6637a2971a51408578c2eaf diff --git a/textproc/ruby-xmlscan/pkg-comment b/textproc/ruby-xmlscan/pkg-comment new file mode 100644 index 000000000000..b1bf7914eee5 --- /dev/null +++ b/textproc/ruby-xmlscan/pkg-comment @@ -0,0 +1 @@ +Pure Ruby XML/HTML scanner and XPath processor/compiler modules diff --git a/textproc/ruby-xmlscan/pkg-descr b/textproc/ruby-xmlscan/pkg-descr new file mode 100644 index 000000000000..248c4453f6d5 --- /dev/null +++ b/textproc/ruby-xmlscan/pkg-descr @@ -0,0 +1,4 @@ +This a set of pure Ruby XML/HTML scanner and XPath processor/compiler +modules. + +Author: Ueno Katsuhiro diff --git a/textproc/ruby-xmlscan/pkg-plist b/textproc/ruby-xmlscan/pkg-plist new file mode 100644 index 000000000000..f1d1ff35bace --- /dev/null +++ b/textproc/ruby-xmlscan/pkg-plist @@ -0,0 +1,10 @@ +%%RUBY_SITELIBDIR%%/htmlscan.rb +%%RUBY_SITELIBDIR%%/xmldtd.rb +%%RUBY_SITELIBDIR%%/xmlscan.rb +%%RUBY_SITELIBDIR%%/xmltoken.rb +%%RUBY_SITELIBDIR%%/xpath-dom.rb +%%RUBY_SITELIBDIR%%/xpath.rb +%%RUBY_SITELIBDIR%%/xpathtree.rb +%%PORTDOCS%%%%RUBY_DOCDIR%%/xmlscan/ja/README +%%PORTDOCS%%@dirrm %%RUBY_DOCDIR%%/xmlscan/ja +%%PORTDOCS%%@dirrm %%RUBY_DOCDIR%%/xmlscan -- cgit