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/de621f013222
branches: trunk
changeset: 484554:de621f013222
user: taca <taca%pkgsrc.org@localhost>
date: Sun Nov 28 06:06:11 2004 +0000
description:
Migrate ruby-installpkg to use new framework for Ruby packages
and mark this package is only for ruby16.
diffstat:
devel/ruby-unit/DESCR | 2 --
devel/ruby-unit/Makefile | 32 +++++++++++++++-----------------
devel/ruby-unit/PLIST | 4 +---
devel/ruby-zlib/DESCR | 2 --
devel/ruby-zlib/Makefile | 17 +++++++++--------
5 files changed, 25 insertions(+), 32 deletions(-)
diffs (131 lines):
diff -r 396bf4ac2d6d -r de621f013222 devel/ruby-unit/DESCR
--- a/devel/ruby-unit/DESCR Sun Nov 28 06:04:55 2004 +0000
+++ b/devel/ruby-unit/DESCR Sun Nov 28 06:06:11 2004 +0000
@@ -2,5 +2,3 @@
which is known as the part of "eXtreme Programming" (XP).
For details of XP, see http://www.xprogramming.com/.
-
-Author: Masaki Suketa <masaki.suketa%nifty.ne.jp@localhost>
diff -r 396bf4ac2d6d -r de621f013222 devel/ruby-unit/Makefile
--- a/devel/ruby-unit/Makefile Sun Nov 28 06:04:55 2004 +0000
+++ b/devel/ruby-unit/Makefile Sun Nov 28 06:06:11 2004 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.7 2004/03/16 02:01:10 taca Exp $
+# $NetBSD: Makefile,v 1.8 2004/11/28 06:06:11 taca Exp $
# FreeBSD: ports/devel/ruby-runit/Makefile,v 1.10 2001/01/19 09:41:15 knu Exp
DISTNAME= rubyunit-${VERSION}
-PKGNAME= ${RUBY_PKGNAMEPREFIX}unit-${VERSION}
+PKGNAME= ${RUBY_PKGPREFIX}-unit-${VERSION}
CATEGORIES= devel ruby
MASTER_SITES= http://homepage1.nifty.com/markey/ruby/rubyunit/
@@ -10,26 +10,24 @@
HOMEPAGE= http://homepage1.nifty.com/markey/ruby/rubyunit/index_e.html
COMMENT= Ruby implementation of eXtreme Programming
-VERSION= 0.5.6
-DIST_SUBDIR= ruby
-USE_RUBY_RD= yes
+VERSION= 0.5.6
+RUBY_VERSION= ${RUBY16_VERSION}
+USE_RUBY_INSTALL= yes
+REPLACE_RUBY= bin/c2t.rb bin/runtest.rb
-REPLACE_RUBY= bin/c2t.rb bin/runtest.rb
-
-BINS= c2t runtest
-DOCS= ChangeLog README README.ja ToDo
-EXAMPLE= sample01.rb sampletestsetup.rb simpletest.rb \
- testall.rb testarray.rb testrepeatedtest.rb testtestsetup.rb
+BINS= c2t runtest
+DOCS= ChangeLog README README.ja ToDo
+EXAMPLE= sample01.rb sampletestsetup.rb simpletest.rb \
+ testall.rb testarray.rb testrepeatedtest.rb \
+ testtestsetup.rb
do-build:
@cd ${WRKSRC}; \
${SETENV} ${MAKE_ENV} ${RUBY} makehtml.rb
-do-install:
- @cd ${WRKSRC}; \
- ${SETENV} ${MAKE_ENV} ${RUBY} install.rb
+post-install:
.for f in ${BINS}
- ${LN} -sf ${f}.rb ${PREFIX}/bin/${f}
+ ${MV} ${PREFIX}/bin/${f}.rb ${PREFIX}/bin/${f}
.endfor
${INSTALL_DATA_DIR} ${RUBY_EXAMPLESDIR}/runit
.for f in ${EXAMPLE}
@@ -42,6 +40,6 @@
${CP} -R ${WRKSRC}/doc_en/* ${RUBY_DOCDIR}/runit
${CP} -R ${WRKSRC}/doc_ja/* ${RUBY_DOCDIR}/runit/ja
-.include "../../textproc/ruby-rdtool/Makefile.common"
-.include "../../lang/ruby-base/Makefile.common"
+.include "../../lang/ruby/modules.mk"
+.include "../../textproc/ruby-rdtool/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff -r 396bf4ac2d6d -r de621f013222 devel/ruby-unit/PLIST
--- a/devel/ruby-unit/PLIST Sun Nov 28 06:04:55 2004 +0000
+++ b/devel/ruby-unit/PLIST Sun Nov 28 06:06:11 2004 +0000
@@ -1,8 +1,6 @@
-@comment $NetBSD: PLIST,v 1.2 2002/01/04 00:36:54 taca Exp $
+@comment $NetBSD: PLIST,v 1.3 2004/11/28 06:06:11 taca Exp $
bin/c2t
-bin/c2t.rb
bin/runtest
-bin/runtest.rb
${RUBY_SITELIBDIR}/rubyunit.rb
${RUBY_SITELIBDIR}/runit/assert.rb
${RUBY_SITELIBDIR}/runit/cui/testrunner.rb
diff -r 396bf4ac2d6d -r de621f013222 devel/ruby-zlib/DESCR
--- a/devel/ruby-zlib/DESCR Sun Nov 28 06:04:55 2004 +0000
+++ b/devel/ruby-zlib/DESCR Sun Nov 28 06:06:11 2004 +0000
@@ -1,4 +1,2 @@
This is an extension library to use zlib from Ruby. Ruby/zlib has
original .gz file handler of its own.
-
-Author: Ueno Katsuhiro <katsu%blue.sky.or.jp@localhost>
diff -r 396bf4ac2d6d -r de621f013222 devel/ruby-zlib/Makefile
--- a/devel/ruby-zlib/Makefile Sun Nov 28 06:04:55 2004 +0000
+++ b/devel/ruby-zlib/Makefile Sun Nov 28 06:06:11 2004 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.2 2004/03/16 02:01:10 taca Exp $
+# $NetBSD: Makefile,v 1.3 2004/11/28 06:06:51 taca Exp $
# FreeBSD: ports/archivers/ruby-zlib/Makefile,v 1.7 2000/09/26 22:01:12 knu Exp
DISTNAME= ruby-zlib-${VERSION}
-PKGNAME= ${RUBY_PKGNAMEPREFIX}zlib-${VERSION}
+PKGNAME= ${RUBY_PKGPREFIX}-zlib-${VERSION}
CATEGORIES= devel ruby
MASTER_SITES= http://www.blue.sky.or.jp/atelier/ruby/
@@ -10,12 +10,13 @@
HOMEPAGE= http://www.blue.sky.or.jp/atelier/
COMMENT= Zlib library for Ruby
-VERSION= 0.6.0
-DIST_SUBDIR= ruby
-USE_RUBY_EXTCONF= yes
+VERSION= 0.6.0
+RUBY_VERSION= ${RUBY16_VERSION}
+USE_RUBY_EXTCONF= yes
-INSTALL_TARGET= site-install
-DOCS= ChangeLog doc/zlib.html doc/zlib.rd doc/zlib.ja.html doc/zlib.rd.ja
+INSTALL_TARGET= site-install
+DOCS= ChangeLog doc/zlib.html doc/zlib.rd \
+ doc/zlib.ja.html doc/zlib.rd.ja
post-install:
${INSTALL_DATA_DIR} ${RUBY_DOCDIR}/zlib
@@ -23,5 +24,5 @@
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/zlib
.endfor
-.include "../../lang/ruby-base/Makefile.common"
+.include "../../lang/ruby/modules.mk"
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index