diff options
author | Akinori MUSHA <knu@FreeBSD.org> | 2001-09-02 18:42:07 +0000 |
---|---|---|
committer | Akinori MUSHA <knu@FreeBSD.org> | 2001-09-02 18:42:07 +0000 |
commit | f827c53c20f51628b7c073e2bdc9b49210f7d345 (patch) | |
tree | 9387b6b94104729f2286ac36995e2372aae4fa8f /devel/ruby-mock | |
parent | bd57d6a4357efc15bce1669e86e59574e54a9108 (diff) | |
download | ports-f827c53c20f51628b7c073e2bdc9b49210f7d345.tar.gz ports-f827c53c20f51628b7c073e2bdc9b49210f7d345.zip |
Notes
Diffstat (limited to 'devel/ruby-mock')
-rw-r--r-- | devel/ruby-mock/Makefile | 36 | ||||
-rw-r--r-- | devel/ruby-mock/distinfo | 1 | ||||
-rw-r--r-- | devel/ruby-mock/pkg-comment | 1 | ||||
-rw-r--r-- | devel/ruby-mock/pkg-descr | 6 | ||||
-rw-r--r-- | devel/ruby-mock/pkg-plist | 6 |
5 files changed, 50 insertions, 0 deletions
diff --git a/devel/ruby-mock/Makefile b/devel/ruby-mock/Makefile new file mode 100644 index 000000000000..f01783f1af94 --- /dev/null +++ b/devel/ruby-mock/Makefile @@ -0,0 +1,36 @@ +# New ports collection makefile for: Ruby/Mock +# Date created: 2 September 2001 +# Whom: Akinori MUSHA aka knu <knu@idaemons.org> +# +# $FreeBSD$ +# + +PORTNAME= mock +PORTVERSION= 1.0 +CATEGORIES= devel ruby +MASTER_SITES= http://www.b13media.com/dev/ruby/ +PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX} +EXTRACT_SUFX= .tgz +DIST_SUBDIR= ruby + +MAINTAINER= knu@FreeBSD.org + +RUN_DEPENDS= ${RUBY_SITELIBDIR}/runit/error.rb:${.CURDIR}/../ruby-unit + +USE_RUBY= yes + +NO_BUILD= yes + +post-patch: + ${RUBY} -i -pe 'sub %q{\.\./mock}, "mock"' ${WRKSRC}/demo/* + +do-install: + ${INSTALL_DATA} ${WRKSRC}/mock.rb ${RUBY_SITELIBDIR}/ +.if !defined(NOPORTDOCS) + ${MKDIR} ${RUBY_EXAMPLESDIR}/${PORTNAME} + ${INSTALL_DATA} ${WRKSRC}/demo/* ${RUBY_EXAMPLESDIR}/${PORTNAME}/ + ${MKDIR} ${RUBY_DOCDIR}/${PORTNAME} + ${INSTALL_DATA} ${WRKSRC}/README ${RUBY_DOCDIR}/${PORTNAME}/ +.endif + +.include <bsd.port.mk> diff --git a/devel/ruby-mock/distinfo b/devel/ruby-mock/distinfo new file mode 100644 index 000000000000..9a6864625c3e --- /dev/null +++ b/devel/ruby-mock/distinfo @@ -0,0 +1 @@ +MD5 (ruby/mock-1.0.tgz) = df9c2fa239596398fe224142a8cbc877 diff --git a/devel/ruby-mock/pkg-comment b/devel/ruby-mock/pkg-comment new file mode 100644 index 000000000000..3eee67f77362 --- /dev/null +++ b/devel/ruby-mock/pkg-comment @@ -0,0 +1 @@ +An RUnit extention that makes it very easy to implement Mock Objects diff --git a/devel/ruby-mock/pkg-descr b/devel/ruby-mock/pkg-descr new file mode 100644 index 000000000000..01a1e77ff579 --- /dev/null +++ b/devel/ruby-mock/pkg-descr @@ -0,0 +1,6 @@ +Ruby/Mock is an extension to the RUnit framework to make it easy to +implement Mock Objects. Information about Mock Objects can be found +online at http://www.mockobjects.com/. + +Author: Nat Pryce <nat.pryce@b13media.com> +WWW: http://www.b13media.com/dev/ruby/mock.html diff --git a/devel/ruby-mock/pkg-plist b/devel/ruby-mock/pkg-plist new file mode 100644 index 000000000000..ba303f39d72e --- /dev/null +++ b/devel/ruby-mock/pkg-plist @@ -0,0 +1,6 @@ +%%RUBY_SITELIBDIR%%/mock.rb +%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/mock/demo_mock.rb +%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/mock/demo_mock_class.rb +%%PORTDOCS%%@dirrm %%RUBY_EXAMPLESDIR%%/mock +%%PORTDOCS%%%%RUBY_DOCDIR%%/mock/README +%%PORTDOCS%%@dirrm %%RUBY_DOCDIR%%/mock |