1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-02 11:09:29 +00:00

Add ruby-runit, Ruby implementation of Kent Beck's Testing Framework.

(cf. eXtreme Programming ("XP"))
This commit is contained in:
Akinori MUSHA 2000-08-22 10:31:09 +00:00
parent 3b5c88e0fe
commit 3f66d3c22b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=31857
11 changed files with 287 additions and 0 deletions

View File

@ -273,6 +273,7 @@
SUBDIR += ruby-property
SUBDIR += ruby-racc
SUBDIR += ruby-racc-runtime
SUBDIR += ruby-runit
SUBDIR += ruby-strscan
SUBDIR += rvm
SUBDIR += sdcc

59
devel/ruby-runit/Makefile Normal file
View File

@ -0,0 +1,59 @@
# New ports collection makefile for: RubyUnit
# Date created: 22 Aug 2000
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
#
# $FreeBSD$
#
PORTNAME= runit
PORTVERSION= 0.2.3
CATEGORIES= devel ruby
MASTER_SITES= http://homepage1.nifty.com/markey/ruby/rubyunit/
PKGNAMEPREFIX= ruby-
DISTNAME= ${PORTNAME:S/^r/ruby/}-${PORTVERSION}
DIST_SUBDIR= ruby
MAINTAINER= knu@FreeBSD.org
BUILD_DEPENDS= ruby:${PORTSDIR}/lang/ruby
RUN_DEPENDS= ruby:${PORTSDIR}/lang/ruby
.if !defined(NOPORTDOCS)
BUILD_DEPENDS+= rd2:${PORTSDIR}/textproc/ruby-rdtool
.endif
PLIST_SUB= RUBY_VER="${RUBY_VER}" RUBY_ARCH="${RUBY_ARCH}"
RUBY?= ${LOCALBASE}/bin/ruby
RUBY_VER?= 1.4
RUBY_ARCH?= ${ARCH}-freebsd${OSREL}
RUBY_SITELIBDIR?= ${LOCALBASE}/lib/ruby/site_ruby/${RUBY_VER}
RUBY_SITEARCHLIBDIR?= ${LOCALBASE}/lib/ruby/site_ruby/${RUBY_VER}/${RUBY_ARCH}
BINS= c2t runtest
DOCS= HISTORY README ToDo
do-build:
.if !defined(NOPORTDOCS)
@cd ${WRKSRC}; \
${SETENV} ${MAKE_ENV} ${RUBY} makehtml.rb
.endif
do-install:
@cd ${WRKSRC}; \
${SETENV} ${MAKE_ENV} ${RUBY} install.rb
.for f in ${BINS}
${LN} -sf ${f}.rb ${PREFIX}/bin/${f}
.endfor
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/examples/ruby/runit
${CP} -R ${WRKSRC}/sample/ ${PREFIX}/share/examples/ruby/runit/
${MKDIR} ${PREFIX}/share/doc/ruby/runit
.for f in ${DOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/doc/ruby/runit/
.endfor
${CP} -R ${WRKSRC}/doc_en/ ${PREFIX}/share/doc/ruby/runit/
.endif
.include <bsd.port.mk>

View File

@ -0,0 +1 @@
MD5 (ruby/rubyunit-0.2.3.tar.gz) = 2964a15d17d292cadbf4bf22deeb6277

View File

@ -0,0 +1 @@
Ruby implementation of Kent Beck's Testing Framework (cf. eXtreme Programming)

View File

@ -0,0 +1,8 @@
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 <CQN02273@nifty.ne.jp>
WWW: http://homepage1.nifty.com/markey/ruby/rubyunit/rubyunit_e.html

View File

@ -0,0 +1,74 @@
bin/c2t
bin/c2t.rb
bin/runtest
bin/runtest.rb
lib/ruby/site_ruby/%%RUBY_VER%%/runit/assert.rb
lib/ruby/site_ruby/%%RUBY_VER%%/runit/error.rb
lib/ruby/site_ruby/%%RUBY_VER%%/runit/cui/testrunner.rb
lib/ruby/site_ruby/%%RUBY_VER%%/runit/ext/repeatedtest.rb
lib/ruby/site_ruby/%%RUBY_VER%%/runit/ext/testdecorator.rb
lib/ruby/site_ruby/%%RUBY_VER%%/runit/ext/testsetup.rb
lib/ruby/site_ruby/%%RUBY_VER%%/runit/robserver.rb
lib/ruby/site_ruby/%%RUBY_VER%%/runit/testfailure.rb
lib/ruby/site_ruby/%%RUBY_VER%%/runit/test.rb
lib/ruby/site_ruby/%%RUBY_VER%%/runit/testcase.rb
lib/ruby/site_ruby/%%RUBY_VER%%/runit/testresult.rb
lib/ruby/site_ruby/%%RUBY_VER%%/runit/testsuite.rb
lib/ruby/site_ruby/%%RUBY_VER%%/runit/topublic.rb
lib/ruby/site_ruby/%%RUBY_VER%%/runit/version.rb
@dirrm lib/ruby/site_ruby/%%RUBY_VER%%/runit/cui
@dirrm lib/ruby/site_ruby/%%RUBY_VER%%/runit/ext
@dirrm lib/ruby/site_ruby/%%RUBY_VER%%/runit
share/examples/ruby/runit/howtouse.html
share/examples/ruby/runit/simpletest.rb
share/examples/ruby/runit/testall.rb
share/examples/ruby/runit/testarray.rb
share/examples/ruby/runit/testrepeatedtest.rb
share/examples/ruby/runit/testtestsetup.rb
@dirrm share/examples/ruby/runit
share/doc/ruby/runit/HISTORY
share/doc/ruby/runit/README
share/doc/ruby/runit/ToDo
share/doc/ruby/runit/assert.html
share/doc/ruby/runit/assert.rd
share/doc/ruby/runit/assert.rmi
share/doc/ruby/runit/cui/testrunner.html
share/doc/ruby/runit/cui/testrunner.rd
share/doc/ruby/runit/cui/testrunner.rmi
share/doc/ruby/runit/error.html
share/doc/ruby/runit/error.rd
share/doc/ruby/runit/error.rmi
share/doc/ruby/runit/ext/repeatedtest.html
share/doc/ruby/runit/ext/repeatedtest.rd
share/doc/ruby/runit/ext/repeatedtest.rmi
share/doc/ruby/runit/ext/testdecorator.html
share/doc/ruby/runit/ext/testdecorator.rd
share/doc/ruby/runit/ext/testdecorator.rmi
share/doc/ruby/runit/ext/testsetup.html
share/doc/ruby/runit/ext/testsetup.rd
share/doc/ruby/runit/ext/testsetup.rmi
share/doc/ruby/runit/index.html
share/doc/ruby/runit/robserver.html
share/doc/ruby/runit/robserver.rd
share/doc/ruby/runit/robserver.rmi
share/doc/ruby/runit/test.html
share/doc/ruby/runit/test.rd
share/doc/ruby/runit/test.rmi
share/doc/ruby/runit/testcase.html
share/doc/ruby/runit/testcase.rd
share/doc/ruby/runit/testcase.rmi
share/doc/ruby/runit/testfailure.html
share/doc/ruby/runit/testfailure.rd
share/doc/ruby/runit/testfailure.rmi
share/doc/ruby/runit/testresult.html
share/doc/ruby/runit/testresult.rd
share/doc/ruby/runit/testresult.rmi
share/doc/ruby/runit/testsuite.html
share/doc/ruby/runit/testsuite.rd
share/doc/ruby/runit/testsuite.rmi
share/doc/ruby/runit/version.html
share/doc/ruby/runit/version.rd
share/doc/ruby/runit/version.rmi
@dirrm share/doc/ruby/runit/cui
@dirrm share/doc/ruby/runit/ext
@dirrm share/doc/ruby/runit

59
devel/ruby-unit/Makefile Normal file
View File

@ -0,0 +1,59 @@
# New ports collection makefile for: RubyUnit
# Date created: 22 Aug 2000
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
#
# $FreeBSD$
#
PORTNAME= runit
PORTVERSION= 0.2.3
CATEGORIES= devel ruby
MASTER_SITES= http://homepage1.nifty.com/markey/ruby/rubyunit/
PKGNAMEPREFIX= ruby-
DISTNAME= ${PORTNAME:S/^r/ruby/}-${PORTVERSION}
DIST_SUBDIR= ruby
MAINTAINER= knu@FreeBSD.org
BUILD_DEPENDS= ruby:${PORTSDIR}/lang/ruby
RUN_DEPENDS= ruby:${PORTSDIR}/lang/ruby
.if !defined(NOPORTDOCS)
BUILD_DEPENDS+= rd2:${PORTSDIR}/textproc/ruby-rdtool
.endif
PLIST_SUB= RUBY_VER="${RUBY_VER}" RUBY_ARCH="${RUBY_ARCH}"
RUBY?= ${LOCALBASE}/bin/ruby
RUBY_VER?= 1.4
RUBY_ARCH?= ${ARCH}-freebsd${OSREL}
RUBY_SITELIBDIR?= ${LOCALBASE}/lib/ruby/site_ruby/${RUBY_VER}
RUBY_SITEARCHLIBDIR?= ${LOCALBASE}/lib/ruby/site_ruby/${RUBY_VER}/${RUBY_ARCH}
BINS= c2t runtest
DOCS= HISTORY README ToDo
do-build:
.if !defined(NOPORTDOCS)
@cd ${WRKSRC}; \
${SETENV} ${MAKE_ENV} ${RUBY} makehtml.rb
.endif
do-install:
@cd ${WRKSRC}; \
${SETENV} ${MAKE_ENV} ${RUBY} install.rb
.for f in ${BINS}
${LN} -sf ${f}.rb ${PREFIX}/bin/${f}
.endfor
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/examples/ruby/runit
${CP} -R ${WRKSRC}/sample/ ${PREFIX}/share/examples/ruby/runit/
${MKDIR} ${PREFIX}/share/doc/ruby/runit
.for f in ${DOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/doc/ruby/runit/
.endfor
${CP} -R ${WRKSRC}/doc_en/ ${PREFIX}/share/doc/ruby/runit/
.endif
.include <bsd.port.mk>

1
devel/ruby-unit/distinfo Normal file
View File

@ -0,0 +1 @@
MD5 (ruby/rubyunit-0.2.3.tar.gz) = 2964a15d17d292cadbf4bf22deeb6277

View File

@ -0,0 +1 @@
Ruby implementation of Kent Beck's Testing Framework (cf. eXtreme Programming)

View File

@ -0,0 +1,8 @@
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 <CQN02273@nifty.ne.jp>
WWW: http://homepage1.nifty.com/markey/ruby/rubyunit/rubyunit_e.html

74
devel/ruby-unit/pkg-plist Normal file
View File

@ -0,0 +1,74 @@
bin/c2t
bin/c2t.rb
bin/runtest
bin/runtest.rb
lib/ruby/site_ruby/%%RUBY_VER%%/runit/assert.rb
lib/ruby/site_ruby/%%RUBY_VER%%/runit/error.rb
lib/ruby/site_ruby/%%RUBY_VER%%/runit/cui/testrunner.rb
lib/ruby/site_ruby/%%RUBY_VER%%/runit/ext/repeatedtest.rb
lib/ruby/site_ruby/%%RUBY_VER%%/runit/ext/testdecorator.rb
lib/ruby/site_ruby/%%RUBY_VER%%/runit/ext/testsetup.rb
lib/ruby/site_ruby/%%RUBY_VER%%/runit/robserver.rb
lib/ruby/site_ruby/%%RUBY_VER%%/runit/testfailure.rb
lib/ruby/site_ruby/%%RUBY_VER%%/runit/test.rb
lib/ruby/site_ruby/%%RUBY_VER%%/runit/testcase.rb
lib/ruby/site_ruby/%%RUBY_VER%%/runit/testresult.rb
lib/ruby/site_ruby/%%RUBY_VER%%/runit/testsuite.rb
lib/ruby/site_ruby/%%RUBY_VER%%/runit/topublic.rb
lib/ruby/site_ruby/%%RUBY_VER%%/runit/version.rb
@dirrm lib/ruby/site_ruby/%%RUBY_VER%%/runit/cui
@dirrm lib/ruby/site_ruby/%%RUBY_VER%%/runit/ext
@dirrm lib/ruby/site_ruby/%%RUBY_VER%%/runit
share/examples/ruby/runit/howtouse.html
share/examples/ruby/runit/simpletest.rb
share/examples/ruby/runit/testall.rb
share/examples/ruby/runit/testarray.rb
share/examples/ruby/runit/testrepeatedtest.rb
share/examples/ruby/runit/testtestsetup.rb
@dirrm share/examples/ruby/runit
share/doc/ruby/runit/HISTORY
share/doc/ruby/runit/README
share/doc/ruby/runit/ToDo
share/doc/ruby/runit/assert.html
share/doc/ruby/runit/assert.rd
share/doc/ruby/runit/assert.rmi
share/doc/ruby/runit/cui/testrunner.html
share/doc/ruby/runit/cui/testrunner.rd
share/doc/ruby/runit/cui/testrunner.rmi
share/doc/ruby/runit/error.html
share/doc/ruby/runit/error.rd
share/doc/ruby/runit/error.rmi
share/doc/ruby/runit/ext/repeatedtest.html
share/doc/ruby/runit/ext/repeatedtest.rd
share/doc/ruby/runit/ext/repeatedtest.rmi
share/doc/ruby/runit/ext/testdecorator.html
share/doc/ruby/runit/ext/testdecorator.rd
share/doc/ruby/runit/ext/testdecorator.rmi
share/doc/ruby/runit/ext/testsetup.html
share/doc/ruby/runit/ext/testsetup.rd
share/doc/ruby/runit/ext/testsetup.rmi
share/doc/ruby/runit/index.html
share/doc/ruby/runit/robserver.html
share/doc/ruby/runit/robserver.rd
share/doc/ruby/runit/robserver.rmi
share/doc/ruby/runit/test.html
share/doc/ruby/runit/test.rd
share/doc/ruby/runit/test.rmi
share/doc/ruby/runit/testcase.html
share/doc/ruby/runit/testcase.rd
share/doc/ruby/runit/testcase.rmi
share/doc/ruby/runit/testfailure.html
share/doc/ruby/runit/testfailure.rd
share/doc/ruby/runit/testfailure.rmi
share/doc/ruby/runit/testresult.html
share/doc/ruby/runit/testresult.rd
share/doc/ruby/runit/testresult.rmi
share/doc/ruby/runit/testsuite.html
share/doc/ruby/runit/testsuite.rd
share/doc/ruby/runit/testsuite.rmi
share/doc/ruby/runit/version.html
share/doc/ruby/runit/version.rd
share/doc/ruby/runit/version.rmi
@dirrm share/doc/ruby/runit/cui
@dirrm share/doc/ruby/runit/ext
@dirrm share/doc/ruby/runit