summaryrefslogtreecommitdiff
path: root/textproc/ruby-html-parser
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2001-07-01 14:03:24 +0000
committertaca <taca@pkgsrc.org>2001-07-01 14:03:24 +0000
commit391c8b13c7b030b5bd95d3fec6533440e2b1a8ad (patch)
treebe391e47f7dd07106e36bbd772e95f5b849a68de /textproc/ruby-html-parser
parentc444bba496e742225e159adc9bec1f100691f136 (diff)
downloadpkgsrc-391c8b13c7b030b5bd95d3fec6533440e2b1a8ad.tar.gz
Importing ruby-html-parser, ruby-html-parser-19990912p1 package.
The html-parser package is a Ruby implementation of the Python's SGML parser (sgmllib.py), HTML parser (htmllib.py) and Formatter (formatter.py).
Diffstat (limited to 'textproc/ruby-html-parser')
-rw-r--r--textproc/ruby-html-parser/Makefile28
-rw-r--r--textproc/ruby-html-parser/distinfo4
-rw-r--r--textproc/ruby-html-parser/pkg/DESCR6
-rw-r--r--textproc/ruby-html-parser/pkg/PLIST6
4 files changed, 44 insertions, 0 deletions
diff --git a/textproc/ruby-html-parser/Makefile b/textproc/ruby-html-parser/Makefile
new file mode 100644
index 00000000000..9e1c3d248c6
--- /dev/null
+++ b/textproc/ruby-html-parser/Makefile
@@ -0,0 +1,28 @@
+# $NetBSD: Makefile,v 1.1.1.1 2001/07/01 14:03:24 taca Exp $
+# FreeBSD: ports/textproc/ruby-html-parser/Makefile,v 1.6 2000/09/26 08:01:54 knu Exp
+
+DISTNAME= html-parser-${VERSION}
+PKGNAME= ${RUBY_PKGNAMEPREFIX}html-parser-${VERSION}
+CATEGORIES= textproc
+MASTER_SITES= http://www.jin.gr.jp/~nahi/Ruby/html-parser/
+
+MAINTAINER= taca@netbsd.org
+HOMEPAGE= http://www.jin.gr.jp/~nahi/Ruby/html-parser/README.html
+COMMENT= HTML-parser package for Ruby
+
+DIST_SUBDIR= ruby
+USE_RUBY= yes
+NO_BUILD= yes
+
+MODULES= formatter.rb html-parser.rb sgml-parser.rb
+VERSION= 19990912p1
+
+do-install:
+.for f in ${MODULES}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_SITELIBDIR}
+.endfor
+ ${INSTALL_DATA_DIR} ${RUBY_DOCDIR}/html-parser
+ ${INSTALL_DATA} ${WRKSRC}/README.html ${RUBY_DOCDIR}/html-parser
+
+.include "../../lang/ruby-base/Makefile.common"
+.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/ruby-html-parser/distinfo b/textproc/ruby-html-parser/distinfo
new file mode 100644
index 00000000000..1331ccdd271
--- /dev/null
+++ b/textproc/ruby-html-parser/distinfo
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2001/07/01 14:03:24 taca Exp $
+
+SHA1 (ruby/html-parser-19990912p1.tar.gz) = 7a99d322bf10ace62ab2ec6f85da928b64f98284
+Size (ruby/html-parser-19990912p1.tar.gz) = 7103 bytes
diff --git a/textproc/ruby-html-parser/pkg/DESCR b/textproc/ruby-html-parser/pkg/DESCR
new file mode 100644
index 00000000000..7e308b7db1f
--- /dev/null
+++ b/textproc/ruby-html-parser/pkg/DESCR
@@ -0,0 +1,6 @@
+The html-parser package is a Ruby implementation of the Python's SGML
+parser (sgmllib.py), HTML parser (htmllib.py) and Formatter
+(formatter.py).
+
+Author: Takahiro Maebashi <maebashi@iij.ad.jp>
+WWW: http://www.jin.gr.jp/~nahi/Ruby/html-parser/README.html
diff --git a/textproc/ruby-html-parser/pkg/PLIST b/textproc/ruby-html-parser/pkg/PLIST
new file mode 100644
index 00000000000..c629c57c4f4
--- /dev/null
+++ b/textproc/ruby-html-parser/pkg/PLIST
@@ -0,0 +1,6 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2001/07/01 14:03:24 taca Exp $
+${RUBY_SITELIBDIR}/formatter.rb
+${RUBY_SITELIBDIR}/html-parser.rb
+${RUBY_SITELIBDIR}/sgml-parser.rb
+${RUBY_DOCDIR}/html-parser/README.html
+@dirrm ${RUBY_DOCDIR}/html-parser