From 0c79d7a8256e64fd8cec26ce3e11b1d54663d213 Mon Sep 17 00:00:00 2001 From: taca Date: Sun, 28 Nov 2004 06:04:55 +0000 Subject: Migrate ruby-installpkg to use new framework for Ruby packages and mark this package is only for ruby16. --- devel/ruby-testunit/Makefile | 10 +++++----- devel/ruby-textbuf/DESCR | 2 -- devel/ruby-textbuf/Makefile | 9 ++++----- 3 files changed, 9 insertions(+), 12 deletions(-) (limited to 'devel') 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 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" -- cgit v1.2.3