diff options
author | miwi <miwi@FreeBSD.org> | 2007-01-05 15:55:20 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2007-01-05 15:55:20 +0800 |
commit | 09f176ab17f1cfad24ee6d6a36b04e001636e184 (patch) | |
tree | f68d1aafe8da21e64d1338934a6a9df4e021650f /lang | |
parent | 36bb04143217a3eec9c62db8151a2b5cbac28499 (diff) | |
download | freebsd-ports-gnome-09f176ab17f1cfad24ee6d6a36b04e001636e184.tar.gz freebsd-ports-gnome-09f176ab17f1cfad24ee6d6a36b04e001636e184.tar.zst freebsd-ports-gnome-09f176ab17f1cfad24ee6d6a36b04e001636e184.zip |
This project defines various useful extensions to Ruby's standard classes,
including many of those captured at on the Wiki at StandardClassExtensions.
They are thoroughly documented and tested. See the project homepage for API
documentation.
Author: Gavin Sinclair <gsinclair@soyabean.com.au>
WWW: http://extensions.rubyforge.net
PR: ports/107434
Submitted by: Christopher Boumenot <boumenot at gmail.com>
Diffstat (limited to 'lang')
-rw-r--r-- | lang/Makefile | 1 | ||||
-rw-r--r-- | lang/ruby-extensions/Makefile | 45 | ||||
-rw-r--r-- | lang/ruby-extensions/distinfo | 3 | ||||
-rw-r--r-- | lang/ruby-extensions/pkg-descr | 7 | ||||
-rw-r--r-- | lang/ruby-extensions/pkg-plist | 64 |
5 files changed, 120 insertions, 0 deletions
diff --git a/lang/Makefile b/lang/Makefile index 4495ff4df6de..8a2c5516c449 100644 --- a/lang/Makefile +++ b/lang/Makefile @@ -255,6 +255,7 @@ SUBDIR += rexx-regina SUBDIR += rexx-wrapper SUBDIR += rscheme + SUBDIR += ruby-extensions SUBDIR += ruby-js SUBDIR += ruby-lua SUBDIR += ruby-lua4 diff --git a/lang/ruby-extensions/Makefile b/lang/ruby-extensions/Makefile new file mode 100644 index 000000000000..a3e9b6a93fc0 --- /dev/null +++ b/lang/ruby-extensions/Makefile @@ -0,0 +1,45 @@ +# New ports collection makefile for: ruby-extensions +# Date created: 3 Jan 2007 +# Whom: Christopher Boumenot <boumenot@gmail.com> +# +# $FreeBSD$ +# + +PORTNAME= extensions +PORTVERSION= 0.6.0 +CATEGORIES= lang ruby +MASTER_SITES= ${MASTER_SITE_RUBYFORGE} +MASTER_SITE_SUBDIR= ${PORTNAME} +PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX} +DISTNAME= ${PORTNAME}-${PORTVERSION} +EXTRACT_SUFX= .tgz +DIST_SUBDIR= ruby + +MAINTAINER= boumenot@gmail.com +COMMENT= Useful extensions for Ruby's standard classes + +.if !defined(NOPORTDOCS) +BUILD_DEPENDS= ${LOCALBASE}/bin/rake:${PORTSDIR}/devel/rubygem-rake +.endif + +RUBY_SETUP= install.rb +USE_RUBY= yes +USE_RUBY_SETUP= yes +USE_RUBY_RDOC= yes + +DOCS_EN= README README.1st build/rdoc/* + +post-build: +.if !defined(NOPORTDOCS) + cd ${WRKSRC} && rake rerdoc +.endif + +post-install: +.if !defined(NOPORTDOCS) + ${MKDIR} ${RUBY_MODDOCDIR} +.for f in ${DOCS_EN} + ${CP} -R ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/ +.endfor +.endif + +.include <bsd.port.mk> diff --git a/lang/ruby-extensions/distinfo b/lang/ruby-extensions/distinfo new file mode 100644 index 000000000000..c9c071e585c5 --- /dev/null +++ b/lang/ruby-extensions/distinfo @@ -0,0 +1,3 @@ +MD5 (ruby/extensions-0.6.0.tgz) = f9deb99d623d74b47a536414baa4d1d2 +SHA256 (ruby/extensions-0.6.0.tgz) = 54cb19d24178e00ace56b0f15e8183d0c1ec09fd73843666ccd6cd1d3a584369 +SIZE (ruby/extensions-0.6.0.tgz) = 43432 diff --git a/lang/ruby-extensions/pkg-descr b/lang/ruby-extensions/pkg-descr new file mode 100644 index 000000000000..6a72acc22212 --- /dev/null +++ b/lang/ruby-extensions/pkg-descr @@ -0,0 +1,7 @@ +This project defines various useful extensions to Ruby's standard classes, +including many of those captured at on the Wiki at StandardClassExtensions. +They are thoroughly documented and tested. See the project homepage for API +documentation. + +Author: Gavin Sinclair <gsinclair@soyabean.com.au> +WWW: http://extensions.rubyforge.net diff --git a/lang/ruby-extensions/pkg-plist b/lang/ruby-extensions/pkg-plist new file mode 100644 index 000000000000..32cd81d56715 --- /dev/null +++ b/lang/ruby-extensions/pkg-plist @@ -0,0 +1,64 @@ +bin/rbxtm +%%RUBY_SITELIBDIR%%/extensions/_base.rb +%%RUBY_SITELIBDIR%%/extensions/_template.rb +%%RUBY_SITELIBDIR%%/extensions/all.rb +%%RUBY_SITELIBDIR%%/extensions/array.rb +%%RUBY_SITELIBDIR%%/extensions/binding.rb +%%RUBY_SITELIBDIR%%/extensions/class.rb +%%RUBY_SITELIBDIR%%/extensions/continuation.rb +%%RUBY_SITELIBDIR%%/extensions/enumerable.rb +%%RUBY_SITELIBDIR%%/extensions/hash.rb +%%RUBY_SITELIBDIR%%/extensions/io.rb +%%RUBY_SITELIBDIR%%/extensions/kernel.rb +%%RUBY_SITELIBDIR%%/extensions/module.rb +%%RUBY_SITELIBDIR%%/extensions/numeric.rb +%%RUBY_SITELIBDIR%%/extensions/object.rb +%%RUBY_SITELIBDIR%%/extensions/ostruct.rb +%%RUBY_SITELIBDIR%%/extensions/string.rb +%%RUBY_SITELIBDIR%%/extensions/symbol.rb +%%PORTDOCS%%%%RUBY_MODDOCDIR%%/README +%%PORTDOCS%%%%RUBY_MODDOCDIR%%/README.1st +%%PORTDOCS%%%%RUBY_MODDOCDIR%%/files/lib/extensions/_template_rb.html +%%PORTDOCS%%%%RUBY_MODDOCDIR%%/files/lib/extensions/array_rb.html +%%PORTDOCS%%%%RUBY_MODDOCDIR%%/files/lib/extensions/binding_rb.html +%%PORTDOCS%%%%RUBY_MODDOCDIR%%/files/lib/extensions/class_rb.html +%%PORTDOCS%%%%RUBY_MODDOCDIR%%/files/lib/extensions/continuation_rb.html +%%PORTDOCS%%%%RUBY_MODDOCDIR%%/files/lib/extensions/enumerable_rb.html +%%PORTDOCS%%%%RUBY_MODDOCDIR%%/files/lib/extensions/hash_rb.html +%%PORTDOCS%%%%RUBY_MODDOCDIR%%/files/lib/extensions/io_rb.html +%%PORTDOCS%%%%RUBY_MODDOCDIR%%/files/lib/extensions/kernel_rb.html +%%PORTDOCS%%%%RUBY_MODDOCDIR%%/files/lib/extensions/module_rb.html +%%PORTDOCS%%%%RUBY_MODDOCDIR%%/files/lib/extensions/numeric_rb.html +%%PORTDOCS%%%%RUBY_MODDOCDIR%%/files/lib/extensions/object_rb.html +%%PORTDOCS%%%%RUBY_MODDOCDIR%%/files/lib/extensions/ostruct_rb.html +%%PORTDOCS%%%%RUBY_MODDOCDIR%%/files/lib/extensions/string_rb.html +%%PORTDOCS%%%%RUBY_MODDOCDIR%%/files/lib/extensions/symbol_rb.html +%%PORTDOCS%%%%RUBY_MODDOCDIR%%/files/lib/extensions/_base_rb.html +%%PORTDOCS%%%%RUBY_MODDOCDIR%%/files/lib/extensions/all_rb.html +%%PORTDOCS%%%%RUBY_MODDOCDIR%%/files/README.html +%%PORTDOCS%%%%RUBY_MODDOCDIR%%/classes/Enumerable.html +%%PORTDOCS%%%%RUBY_MODDOCDIR%%/classes/Symbol.html +%%PORTDOCS%%%%RUBY_MODDOCDIR%%/classes/Array.html +%%PORTDOCS%%%%RUBY_MODDOCDIR%%/classes/Module.html +%%PORTDOCS%%%%RUBY_MODDOCDIR%%/classes/Continuation.html +%%PORTDOCS%%%%RUBY_MODDOCDIR%%/classes/Numeric.html +%%PORTDOCS%%%%RUBY_MODDOCDIR%%/classes/IO.html +%%PORTDOCS%%%%RUBY_MODDOCDIR%%/classes/Class.html +%%PORTDOCS%%%%RUBY_MODDOCDIR%%/classes/OpenStruct.html +%%PORTDOCS%%%%RUBY_MODDOCDIR%%/classes/Object.html +%%PORTDOCS%%%%RUBY_MODDOCDIR%%/classes/Binding.html +%%PORTDOCS%%%%RUBY_MODDOCDIR%%/classes/String.html +%%PORTDOCS%%%%RUBY_MODDOCDIR%%/classes/Kernel.html +%%PORTDOCS%%%%RUBY_MODDOCDIR%%/classes/Integer.html +%%PORTDOCS%%%%RUBY_MODDOCDIR%%/fr_method_index.html +%%PORTDOCS%%%%RUBY_MODDOCDIR%%/fr_file_index.html +%%PORTDOCS%%%%RUBY_MODDOCDIR%%/rdoc-style.css +%%PORTDOCS%%%%RUBY_MODDOCDIR%%/created.rid +%%PORTDOCS%%%%RUBY_MODDOCDIR%%/fr_class_index.html +%%PORTDOCS%%%%RUBY_MODDOCDIR%%/index.html +@dirrm %%RUBY_SITELIBDIR%%/extensions +@dirrm %%PORTDOCS%%%%RUBY_MODDOCDIR%%/files/lib/extensions +@dirrm %%PORTDOCS%%%%RUBY_MODDOCDIR%%/files/lib +@dirrm %%PORTDOCS%%%%RUBY_MODDOCDIR%%/files +@dirrm %%PORTDOCS%%%%RUBY_MODDOCDIR%%/classes +@dirrm %%PORTDOCS%%%%RUBY_MODDOCDIR%% |