pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/ruby-strscan Migrate ruby-strscan to use new fra...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/80300301c405
branches:  trunk
changeset: 484552:80300301c405
user:      taca <taca%pkgsrc.org@localhost>
date:      Sun Nov 28 06:04:04 2004 +0000

description:
Migrate ruby-strscan to use new framework for Ruby packages and mark
this package is only for ruby16.

diffstat:

 devel/ruby-strscan/DESCR    |   2 --
 devel/ruby-strscan/Makefile |  12 ++++++------
 2 files changed, 6 insertions(+), 8 deletions(-)

diffs (42 lines):

diff -r 02279e691e61 -r 80300301c405 devel/ruby-strscan/DESCR
--- a/devel/ruby-strscan/DESCR  Sun Nov 28 06:01:43 2004 +0000
+++ b/devel/ruby-strscan/DESCR  Sun Nov 28 06:04:04 2004 +0000
@@ -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@localhost>
diff -r 02279e691e61 -r 80300301c405 devel/ruby-strscan/Makefile
--- a/devel/ruby-strscan/Makefile       Sun Nov 28 06:01:43 2004 +0000
+++ b/devel/ruby-strscan/Makefile       Sun Nov 28 06:04:04 2004 +0000
@@ -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 @@
 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 @@
        ${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"



Home | Main Index | Thread Index | Old Index