summaryrefslogtreecommitdiff
path: root/textproc/ruby-xmlscan/Makefile
diff options
context:
space:
mode:
authorminskim <minskim>2005-03-30 15:40:26 +0000
committerminskim <minskim>2005-03-30 15:40:26 +0000
commit1b254e212ed3ace3777c7b3fba80f93fc0a61cec (patch)
tree8b397fdbe93db067606e389a95b5c382fef92720 /textproc/ruby-xmlscan/Makefile
parente6acca17e09def69d10f2639517a0643e195c36b (diff)
downloadpkgsrc-1b254e212ed3ace3777c7b3fba80f93fc0a61cec.tar.gz
Import ruby-xmlscan from pkgsrc-wip. Packaged by OBATA Akio.
This is a High-performance non-validating XML parser written in 100% pure Ruby.
Diffstat (limited to 'textproc/ruby-xmlscan/Makefile')
-rw-r--r--textproc/ruby-xmlscan/Makefile45
1 files changed, 45 insertions, 0 deletions
diff --git a/textproc/ruby-xmlscan/Makefile b/textproc/ruby-xmlscan/Makefile
new file mode 100644
index 00000000000..7c188c77dad
--- /dev/null
+++ b/textproc/ruby-xmlscan/Makefile
@@ -0,0 +1,45 @@
+# $NetBSD: Makefile,v 1.1.1.1 2005/03/30 15:40:26 minskim Exp $
+#
+
+DISTNAME= xmlscan-${VER}
+PKGNAME= ${RUBY_PKGPREFIX}-xmlscan-${VER}
+CATEGORIES= textproc ruby
+MASTER_SITES= http://www.blue.sky.or.jp/atelier/ruby/xmlscan/
+
+MAINTAINER= obata@lins.jp
+HOMEPAGE= http://www.blue.sky.or.jp/atelier/ruby/xmlscan/
+COMMENT= Pure Ruby XML parser
+
+VER= 0.2.3
+
+NO_BUILD= yes
+NO_CONFIGURE= yes
+USE_RUBY_INSTALL= yes
+
+REPLACE_RUBY= samples/getxmlchar.rb samples/xmlbench.rb \
+ samples/xmlconftest.rb
+
+DOCS= ChangeLog README THANKS
+
+post-install:
+ ${INSTALL_DATA_DIR} ${RUBY_DOCDIR}/xmlscan
+.for f in ${DOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/xmlscan
+.endfor
+ ${INSTALL_DATA} ${WRKSRC}/doc/changes.html ${RUBY_DOCDIR}/xmlscan
+ ${INSTALL_DATA} ${WRKSRC}/doc/changes.rd ${RUBY_DOCDIR}/xmlscan
+ ${INSTALL_DATA_DIR} ${RUBY_DOCDIR}/xmlscan/en
+ ${INSTALL_DATA} ${WRKSRC}/doc/en/conformance.html ${RUBY_DOCDIR}/xmlscan/en
+ ${INSTALL_DATA} ${WRKSRC}/doc/en/conformance.rd ${RUBY_DOCDIR}/xmlscan/en
+ ${INSTALL_DATA} ${WRKSRC}/doc/en/manual.html ${RUBY_DOCDIR}/xmlscan/en
+ ${INSTALL_DATA} ${WRKSRC}/doc/en/manual.rd ${RUBY_DOCDIR}/xmlscan/en
+ ${INSTALL_DATA_DIR} ${RUBY_DOCDIR}/xmlscan/ja
+ ${INSTALL_DATA} ${WRKSRC}/doc/ja/conformance.ja.html ${RUBY_DOCDIR}/xmlscan/ja
+ ${INSTALL_DATA} ${WRKSRC}/doc/ja/conformance.ja.rd ${RUBY_DOCDIR}/xmlscan/ja
+ ${INSTALL_DATA} ${WRKSRC}/doc/ja/manual.ja.html ${RUBY_DOCDIR}/xmlscan/ja
+ ${INSTALL_DATA} ${WRKSRC}/doc/ja/manual.ja.rd ${RUBY_DOCDIR}/xmlscan/ja
+ ${INSTALL_DATA_DIR} ${RUBY_EXAMPLESDIR}/xmlscan
+ cd ${WRKSRC}/samples && ${PAX} -rw -pp * ${RUBY_EXAMPLESDIR}/xmlscan
+
+.include "../../lang/ruby/modules.mk"
+.include "../../mk/bsd.pkg.mk"