summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2004-11-28 06:04:04 +0000
committertaca <taca@pkgsrc.org>2004-11-28 06:04:04 +0000
commitb424f27b6725fcc2bc65fb03bac9d5a581aa2584 (patch)
tree92d3d3c781093c989c1f17702d73dcbfcf3e5187 /devel
parent5360482091a631e0a4a89b7d5e49444c382b7192 (diff)
downloadpkgsrc-b424f27b6725fcc2bc65fb03bac9d5a581aa2584.tar.gz
Migrate ruby-strscan to use new framework for Ruby packages and mark
this package is only for ruby16.
Diffstat (limited to 'devel')
-rw-r--r--devel/ruby-strscan/DESCR2
-rw-r--r--devel/ruby-strscan/Makefile12
2 files changed, 6 insertions, 8 deletions
diff --git a/devel/ruby-strscan/DESCR b/devel/ruby-strscan/DESCR
index 50b4c813c37..0ec1b5a27b1 100644
--- a/devel/ruby-strscan/DESCR
+++ b/devel/ruby-strscan/DESCR
@@ -1,4 +1,2 @@
StrScanner is a fast string scanner class for Ruby. It is very useful
in writing a parser.
-
-Author: Minero Aoki <aamine@dp.u-netsurf.ne.jp>
diff --git a/devel/ruby-strscan/Makefile b/devel/ruby-strscan/Makefile
index 10211393049..7d5da9342e1 100644
--- a/devel/ruby-strscan/Makefile
+++ b/devel/ruby-strscan/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.5 2004/03/16 02:01:10 taca Exp $
+# $NetBSD: Makefile,v 1.6 2004/11/28 06:04:04 taca Exp $
# FreeBSD: ports/devel/ruby-strscan/Makefile,v 1.13 2001/01/27 09:41:20 knu Exp
DISTNAME= strscan-0.6.7
-PKGNAME= ${RUBY_PKGNAMEPREFIX}${DISTNAME}
+PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME}
CATEGORIES= devel ruby
MASTER_SITES= http://www.loveruby.net/archive/strscan/
@@ -10,9 +10,9 @@ MAINTAINER= taca@NetBSD.org
HOMEPAGE= http://www.loveruby.net/en/strscan.html
COMMENT= Fast string scanner class library for Ruby
-DIST_SUBDIR= ruby
-USE_RUBY_SETUP= yes
-RUBY_SETUP= install.rb
+RUBY_VERSION= ${RUBY16_VERSION}
+USE_RUBY_SETUP= yes
+RUBY_SETUP= install.rb
DOCS_EN= README.en doc.en/ChangeLog doc.en/umanual.html \
doc.en/umanual.rd
@@ -28,5 +28,5 @@ post-install:
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/strscan/ja
.endfor
-.include "../../lang/ruby-base/Makefile.common"
+.include "../../lang/ruby/modules.mk"
.include "../../mk/bsd.pkg.mk"