summaryrefslogtreecommitdiffstats
path: root/devel/ruby-strscan
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2000-08-07 17:15:06 +0000
committerknu <knu@FreeBSD.org>2000-08-07 17:15:06 +0000
commitf493a1a544845cc27a49d2c9d5aee4fd6716397b (patch)
treebc13c69af5afb9ec074f72857c01fc974d867ec4 /devel/ruby-strscan
parent90ac7045f2baa6d5cfc4923fdde92a608bc7f415 (diff)
downloadFreeBSD-ports-f493a1a544845cc27a49d2c9d5aee4fd6716397b.zip
FreeBSD-ports-f493a1a544845cc27a49d2c9d5aee4fd6716397b.tar.gz
Add three more Ruby modules.
devel/ruby-amstd: A collection of miscellaneous Ruby modules devel/ruby-date2: An alternative date class for Ruby devel/ruby-strscan: Fast string scanner class for Ruby
Diffstat (limited to 'devel/ruby-strscan')
-rw-r--r--devel/ruby-strscan/Makefile58
-rw-r--r--devel/ruby-strscan/distinfo1
-rw-r--r--devel/ruby-strscan/pkg-comment1
-rw-r--r--devel/ruby-strscan/pkg-descr4
-rw-r--r--devel/ruby-strscan/pkg-plist14
5 files changed, 78 insertions, 0 deletions
diff --git a/devel/ruby-strscan/Makefile b/devel/ruby-strscan/Makefile
new file mode 100644
index 0000000..2058c7c
--- /dev/null
+++ b/devel/ruby-strscan/Makefile
@@ -0,0 +1,58 @@
+# New ports collection makefile for: Ruby-strscan
+# Date created: 7 Aug 2000
+# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= strscan
+PORTVERSION= 0.5.8
+CATEGORIES= devel # ruby
+MASTER_SITES= http://www1.u-netsurf.ne.jp/~brew/mine/soft/
+PKGNAMEPREFIX= ruby-
+
+MAINTAINER= knu@FreeBSD.org
+
+BUILD_DEPENDS= ruby:${PORTSDIR}/lang/ruby
+RUN_DEPENDS= ruby:${PORTSDIR}/lang/ruby \
+ ${LOCALBASE}/lib/ruby/site_ruby/${RUBY_VER}/amstd/info.rb:${PORTSDIR}/devel/ruby-amstd
+
+PLIST_SUB= RUBY_VER="${RUBY_VER}" RUBY_ARCH="${RUBY_ARCH}"
+
+RUBY= ${LOCALBASE}/bin/ruby
+RUBY_VER= 1.4
+RUBY_ARCH= ${ARCH}-freebsd${OSREL}
+
+DOCS_EN= README.en \
+ doc.en/changes.html doc.en/index.html \
+ doc.en/reference.html doc.en/usage.html
+DOCS_JA= doc.ja/changes.html doc.ja/index.html \
+ doc.ja/reference.html doc.ja/usage.html
+EXAMPLES= lib/strscan/scanner.rb
+
+do-configure:
+ @cd ${WRKSRC}; \
+ ${SETENV} ${CONFIGURE_ENV} ${RUBY} setup.rb config
+
+do-build:
+ @cd ${WRKSRC}; \
+ ${SETENV} ${MAKE_ENV} ${RUBY} setup.rb setup
+
+do-install:
+ ${INSTALL_DATA} ${WRKSRC}/ext/strscanso/strscan.so \
+ ${PREFIX}/lib/ruby/site_ruby/${RUBY_VER}/${RUBY_ARCH}/
+ ${MKDIR} ${PREFIX}/share/examples/ruby/strscan
+.for f in ${EXAMPLES}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/examples/ruby/strscan/
+.endfor
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${PREFIX}/share/doc/ruby/strscan/ja
+.for f in ${DOCS_EN}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/doc/ruby/strscan/
+.endfor
+.for f in ${DOCS_JA}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/doc/ruby/strscan/ja/
+.endfor
+.endif
+
+.include <bsd.port.mk>
diff --git a/devel/ruby-strscan/distinfo b/devel/ruby-strscan/distinfo
new file mode 100644
index 0000000..8c9a7fc
--- /dev/null
+++ b/devel/ruby-strscan/distinfo
@@ -0,0 +1 @@
+MD5 (strscan-0.5.8.tar.gz) = 91afc597b8210b79a788163f0c01d429
diff --git a/devel/ruby-strscan/pkg-comment b/devel/ruby-strscan/pkg-comment
new file mode 100644
index 0000000..7925263
--- /dev/null
+++ b/devel/ruby-strscan/pkg-comment
@@ -0,0 +1 @@
+Fast string scanner class for Ruby
diff --git a/devel/ruby-strscan/pkg-descr b/devel/ruby-strscan/pkg-descr
new file mode 100644
index 0000000..3da7d48
--- /dev/null
+++ b/devel/ruby-strscan/pkg-descr
@@ -0,0 +1,4 @@
+StrScanner is a fast string scanner class for Ruby. It is very useful
+in writing a parser.
+
+WWW: http://www1.u-netsurf.ne.jp/~brew/mine/en/index.html
diff --git a/devel/ruby-strscan/pkg-plist b/devel/ruby-strscan/pkg-plist
new file mode 100644
index 0000000..ff0bb8f
--- /dev/null
+++ b/devel/ruby-strscan/pkg-plist
@@ -0,0 +1,14 @@
+lib/ruby/site_ruby/%%RUBY_VER%%/%%RUBY_ARCH%%/strscan.so
+share/examples/ruby/strscan/scanner.rb
+@dirrm share/examples/ruby/strscan
+share/doc/ruby/strscan/README.en
+share/doc/ruby/strscan/changes.html
+share/doc/ruby/strscan/index.html
+share/doc/ruby/strscan/reference.html
+share/doc/ruby/strscan/usage.html
+share/doc/ruby/strscan/ja/changes.html
+share/doc/ruby/strscan/ja/index.html
+share/doc/ruby/strscan/ja/reference.html
+share/doc/ruby/strscan/ja/usage.html
+@dirrm share/doc/ruby/strscan/ja
+@dirrm share/doc/ruby/strscan
OpenPOWER on IntegriCloud