summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2004-11-28 06:04:55 +0000
committertaca <taca@pkgsrc.org>2004-11-28 06:04:55 +0000
commit87d6daf80633f423b9f16674ec857f5e6f5ea59f (patch)
tree45fc5c4ce54ea368c053be1af437e2c96ef9d882 /devel
parentb424f27b6725fcc2bc65fb03bac9d5a581aa2584 (diff)
downloadpkgsrc-87d6daf80633f423b9f16674ec857f5e6f5ea59f.tar.gz
Migrate ruby-installpkg to use new framework for Ruby packages and
mark this package is only for ruby16.
Diffstat (limited to 'devel')
-rw-r--r--devel/ruby-testunit/Makefile10
-rw-r--r--devel/ruby-textbuf/DESCR2
-rw-r--r--devel/ruby-textbuf/Makefile9
3 files changed, 9 insertions, 12 deletions
diff --git a/devel/ruby-testunit/Makefile b/devel/ruby-testunit/Makefile
index b32006f8901..6370bd6dde1 100644
--- a/devel/ruby-testunit/Makefile
+++ b/devel/ruby-testunit/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.2 2004/03/16 02:01:10 taca Exp $
+# $NetBSD: Makefile,v 1.3 2004/11/28 06:05:41 taca Exp $
DISTNAME= testunit-${VERSION}
-PKGNAME= ${RUBY_PKGNAMEPREFIX}${DISTNAME}
+PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME}
CATEGORIES= devel ruby
MASTER_SITES= http://testunit.talbott.ws/packages/
@@ -10,10 +10,10 @@ HOMEPAGE= http://testunit.talbott.ws/packages/
COMMENT= Unit testing framework for Ruby
VERSION= 0.1.8
-DIST_SUBDIR= ruby
+RUBY_VERSION= ${RUBY16_VERSION}
USE_RUBY_SETUP= yes
-DEPENDS+= ruby-unit>=0.5.4:../../devel/ruby-unit
+DEPENDS+= ${RUBY_PKGPREFIX}-unit>=0.5.4:../../devel/ruby-unit
post-extract:
cd ${WRKSRC}; ${FIND} . -type f -exec ${CHMOD} -x {} \;
@@ -22,5 +22,5 @@ post-install:
cd ${WRKSRC}; ${CP} -r doc ${RUBY_DOCDIR}/testunit
cd ${WRKSRC}; ${CP} -r examples ${RUBY_EXAMPLESDIR}/testunit
-.include "../../lang/ruby-base/Makefile.common"
+.include "../../lang/ruby/modules.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/ruby-textbuf/DESCR b/devel/ruby-textbuf/DESCR
index 9d483713bfc..238006cea88 100644
--- a/devel/ruby-textbuf/DESCR
+++ b/devel/ruby-textbuf/DESCR
@@ -1,3 +1 @@
Textbuf is a gapped text buffer extension for Ruby.
-
-Author: Minero Aoki <aamine@dp.u-netsurf.ne.jp>
diff --git a/devel/ruby-textbuf/Makefile b/devel/ruby-textbuf/Makefile
index 48b6936b7a1..b6946bb0917 100644
--- a/devel/ruby-textbuf/Makefile
+++ b/devel/ruby-textbuf/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:55 taca Exp $
# FreeBSD: ports/devel/ruby-textbuf/Makefile,v 1.1 2001/01/19 06:16:46 knu Exp
DISTNAME= textbuf-0.3.8
-PKGNAME= ${RUBY_PKGNAMEPREFIX}${DISTNAME}
+PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME}
CATEGORIES= devel ruby
MASTER_SITES= http://www.loveruby.net/archive/
@@ -10,8 +10,7 @@ MAINTAINER= taca@NetBSD.org
HOMEPAGE= http://www.loveruby.net/en/textbuf.html
COMMENT= Gapped text buffer extension for Ruby
-RUBY_REQD= 1.6
-DIST_SUBDIR= ruby
+RUBY_VERSION= ${RUBY16_VERSION}
USE_RUBY_SETUP= yes
DOCS= README.en README.ja
@@ -22,5 +21,5 @@ post-install:
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/textbuf
.endfor
-.include "../../lang/ruby-base/Makefile.common"
+.include "../../lang/ruby/modules.mk"
.include "../../mk/bsd.pkg.mk"