pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel Migrate ruby-installpkg to use new framework for...
details: https://anonhg.NetBSD.org/pkgsrc/rev/396bf4ac2d6d
branches: trunk
changeset: 484553:396bf4ac2d6d
user: taca <taca%pkgsrc.org@localhost>
date: Sun Nov 28 06:04:55 2004 +0000
description:
Migrate ruby-installpkg to use new framework for Ruby packages and
mark this package is only for ruby16.
diffstat:
devel/ruby-testunit/Makefile | 10 +++++-----
devel/ruby-textbuf/DESCR | 2 --
devel/ruby-textbuf/Makefile | 9 ++++-----
3 files changed, 9 insertions(+), 12 deletions(-)
diffs (71 lines):
diff -r 80300301c405 -r 396bf4ac2d6d devel/ruby-testunit/Makefile
--- a/devel/ruby-testunit/Makefile Sun Nov 28 06:04:04 2004 +0000
+++ b/devel/ruby-testunit/Makefile Sun Nov 28 06:04:55 2004 +0000
@@ -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 @@
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 @@
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 -r 80300301c405 -r 396bf4ac2d6d devel/ruby-textbuf/DESCR
--- a/devel/ruby-textbuf/DESCR Sun Nov 28 06:04:04 2004 +0000
+++ b/devel/ruby-textbuf/DESCR Sun Nov 28 06:04:55 2004 +0000
@@ -1,3 +1,1 @@
Textbuf is a gapped text buffer extension for Ruby.
-
-Author: Minero Aoki <aamine%dp.u-netsurf.ne.jp@localhost>
diff -r 80300301c405 -r 396bf4ac2d6d devel/ruby-textbuf/Makefile
--- a/devel/ruby-textbuf/Makefile Sun Nov 28 06:04:04 2004 +0000
+++ b/devel/ruby-textbuf/Makefile Sun Nov 28 06:04:55 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: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 @@
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 @@
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/textbuf
.endfor
-.include "../../lang/ruby-base/Makefile.common"
+.include "../../lang/ruby/modules.mk"
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index