summaryrefslogtreecommitdiff
path: root/devel/ruby-strscan
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2000-08-07 17:15:06 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2000-08-07 17:15:06 +0000
commitcd1d50eb08fefd091401ac45d81c225ac24920fc (patch)
treef5195afcb927cef5e3ed6aec9dd6e655c101af1e /devel/ruby-strscan
parentAdd three more Ruby modules. (diff)
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
Notes
Notes: svn path=/head/; revision=31379
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 000000000000..2058c7c22089
--- /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 000000000000..8c9a7fce20d8
--- /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 000000000000..7925263c45cc
--- /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 000000000000..3da7d48746c5
--- /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 000000000000..ff0bb8f5acdd
--- /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