aboutsummaryrefslogtreecommitdiffstats
path: root/devel/ruby-runit
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2000-08-22 18:31:09 +0800
committerknu <knu@FreeBSD.org>2000-08-22 18:31:09 +0800
commit681e4ce6e249ce7e33e406230afca0b84fe9bb81 (patch)
tree984d8fccabd211566bd21ee6dc8610e1310078b8 /devel/ruby-runit
parent1957554f16636b1389cd807e7977077d2cd09ad5 (diff)
downloadfreebsd-ports-gnome-681e4ce6e249ce7e33e406230afca0b84fe9bb81.tar.gz
freebsd-ports-gnome-681e4ce6e249ce7e33e406230afca0b84fe9bb81.tar.zst
freebsd-ports-gnome-681e4ce6e249ce7e33e406230afca0b84fe9bb81.zip
Add ruby-runit, Ruby implementation of Kent Beck's Testing Framework.
(cf. eXtreme Programming ("XP"))
Diffstat (limited to 'devel/ruby-runit')
-rw-r--r--devel/ruby-runit/Makefile59
-rw-r--r--devel/ruby-runit/distinfo1
-rw-r--r--devel/ruby-runit/pkg-comment1
-rw-r--r--devel/ruby-runit/pkg-descr8
-rw-r--r--devel/ruby-runit/pkg-plist74
5 files changed, 143 insertions, 0 deletions
diff --git a/devel/ruby-runit/Makefile b/devel/ruby-runit/Makefile
new file mode 100644
index 000000000000..8726c1fe649d
--- /dev/null
+++ b/devel/ruby-runit/Makefile
@@ -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>
diff --git a/devel/ruby-runit/distinfo b/devel/ruby-runit/distinfo
new file mode 100644
index 000000000000..29f28a178065
--- /dev/null
+++ b/devel/ruby-runit/distinfo
@@ -0,0 +1 @@
+MD5 (ruby/rubyunit-0.2.3.tar.gz) = 2964a15d17d292cadbf4bf22deeb6277
diff --git a/devel/ruby-runit/pkg-comment b/devel/ruby-runit/pkg-comment
new file mode 100644
index 000000000000..c921566e369f
--- /dev/null
+++ b/devel/ruby-runit/pkg-comment
@@ -0,0 +1 @@
+Ruby implementation of Kent Beck's Testing Framework (cf. eXtreme Programming)
diff --git a/devel/ruby-runit/pkg-descr b/devel/ruby-runit/pkg-descr
new file mode 100644
index 000000000000..d2a00d7d095b
--- /dev/null
+++ b/devel/ruby-runit/pkg-descr
@@ -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
diff --git a/devel/ruby-runit/pkg-plist b/devel/ruby-runit/pkg-plist
new file mode 100644
index 000000000000..d4a00fdbf585
--- /dev/null
+++ b/devel/ruby-runit/pkg-plist
@@ -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