diff options
author | taca <taca@pkgsrc.org> | 2004-11-28 06:06:11 +0000 |
---|---|---|
committer | taca <taca@pkgsrc.org> | 2004-11-28 06:06:11 +0000 |
commit | afc419268596e070e4aea351c56d7952146fdc1d (patch) | |
tree | c1ed485b27d9b8b8727f3f5e64cfe7776d9ca8f7 /devel/ruby-unit | |
parent | 87d6daf80633f423b9f16674ec857f5e6f5ea59f (diff) | |
download | pkgsrc-afc419268596e070e4aea351c56d7952146fdc1d.tar.gz |
Migrate ruby-installpkg to use new framework for Ruby packages
and mark this package is only for ruby16.
Diffstat (limited to 'devel/ruby-unit')
-rw-r--r-- | devel/ruby-unit/DESCR | 2 | ||||
-rw-r--r-- | devel/ruby-unit/Makefile | 32 | ||||
-rw-r--r-- | devel/ruby-unit/PLIST | 4 |
3 files changed, 16 insertions, 22 deletions
diff --git a/devel/ruby-unit/DESCR b/devel/ruby-unit/DESCR index b7ddf0330ba..11fc67f1816 100644 --- a/devel/ruby-unit/DESCR +++ b/devel/ruby-unit/DESCR @@ -2,5 +2,3 @@ RubyUnit is Ruby implementation of Kent Beck's Testing Framework, 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> diff --git a/devel/ruby-unit/Makefile b/devel/ruby-unit/Makefile index d3ae1003b29..a629a54f7b7 100644 --- a/devel/ruby-unit/Makefile +++ b/devel/ruby-unit/Makefile @@ -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 @@ MAINTAINER= taca@NetBSD.org 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 @@ do-install: ${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 --git a/devel/ruby-unit/PLIST b/devel/ruby-unit/PLIST index 9fa19c8cb9e..f20fd5e8424 100644 --- a/devel/ruby-unit/PLIST +++ b/devel/ruby-unit/PLIST @@ -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 |