aboutsummaryrefslogtreecommitdiff
path: root/devel/ruby-metaruby
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2001-03-08 13:09:29 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2001-03-08 13:09:29 +0000
commit3599afd7f7ab89635043159b12da6a86355c59d0 (patch)
treeb981f4cac923f579eb8f27c7a59982cb5b56b904 /devel/ruby-metaruby
parentd0cdffe52d80462004e94876b13ac92eb3e0f27d (diff)
downloadports-3599afd7f7ab89635043159b12da6a86355c59d0.tar.gz
ports-3599afd7f7ab89635043159b12da6a86355c59d0.zip
Add ruby-metaruby, a reimplementations of some Ruby parts in Ruby,
Perl's tie equivalent.
Notes
Notes: svn path=/head/; revision=39258
Diffstat (limited to 'devel/ruby-metaruby')
-rw-r--r--devel/ruby-metaruby/Makefile38
-rw-r--r--devel/ruby-metaruby/distinfo1
-rw-r--r--devel/ruby-metaruby/pkg-comment1
-rw-r--r--devel/ruby-metaruby/pkg-descr5
-rw-r--r--devel/ruby-metaruby/pkg-plist11
5 files changed, 56 insertions, 0 deletions
diff --git a/devel/ruby-metaruby/Makefile b/devel/ruby-metaruby/Makefile
new file mode 100644
index 000000000000..9dd575d4659c
--- /dev/null
+++ b/devel/ruby-metaruby/Makefile
@@ -0,0 +1,38 @@
+# New ports collection makefile for: MetaRuby
+# Date created: 8 March 2001
+# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= metaruby
+PORTVERSION= 0.5
+CATEGORIES= devel ruby
+MASTER_SITES= http://hostname.2y.net/~matju/MetaRuby/
+PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
+DISTNAME= MetaRuby-${PORTVERSION}
+DIST_SUBDIR= ruby
+
+MAINTAINER= knu@FreeBSD.org
+
+USE_RUBY= yes
+
+NO_BUILD= yes
+
+DOCS= ChangeLog Overview TODO
+
+post-patch:
+ ${RUBY} -i -ne '%r|^\$$: <<| or print' ${WRKSRC}/samples/*
+
+do-install:
+ ${INSTALL_DATA} ${WRKSRC}/lib/* ${RUBY_SITELIBDIR}/
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${RUBY_EXAMPLESDIR}/${PORTNAME}
+ ${INSTALL_DATA} ${WRKSRC}/samples/* ${RUBY_EXAMPLESDIR}/${PORTNAME}/
+ ${MKDIR} ${RUBY_DOCDIR}/${PORTNAME}
+.for f in ${DOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/${PORTNAME}/
+.endfor
+.endif
+
+.include <bsd.port.mk>
diff --git a/devel/ruby-metaruby/distinfo b/devel/ruby-metaruby/distinfo
new file mode 100644
index 000000000000..4ecddaf3634d
--- /dev/null
+++ b/devel/ruby-metaruby/distinfo
@@ -0,0 +1 @@
+MD5 (ruby/MetaRuby-0.5.tar.gz) = c081e043aed5159e34a4a1be9e43bf03
diff --git a/devel/ruby-metaruby/pkg-comment b/devel/ruby-metaruby/pkg-comment
new file mode 100644
index 000000000000..a962f38bcd82
--- /dev/null
+++ b/devel/ruby-metaruby/pkg-comment
@@ -0,0 +1 @@
+A reimplementations of some Ruby parts in Ruby, Perl's tie equivalent
diff --git a/devel/ruby-metaruby/pkg-descr b/devel/ruby-metaruby/pkg-descr
new file mode 100644
index 000000000000..ff8ac8bd676e
--- /dev/null
+++ b/devel/ruby-metaruby/pkg-descr
@@ -0,0 +1,5 @@
+MetaRuby is a reimplementations of some Ruby parts in Ruby; equivalent
+of Perl's tie command.
+
+Author: matju (Mathieu Bouchard) <matju@cam.org>
+WWW: http://hostname.2y.net/~matju/MetaRuby/
diff --git a/devel/ruby-metaruby/pkg-plist b/devel/ruby-metaruby/pkg-plist
new file mode 100644
index 000000000000..20349f4745c7
--- /dev/null
+++ b/devel/ruby-metaruby/pkg-plist
@@ -0,0 +1,11 @@
+%%RUBY_SITELIBDIR%%/ArrayMixin.rb
+%%RUBY_SITELIBDIR%%/HashMixin.rb
+%%RUBY_SITELIBDIR%%/ListMixin.rb
+%%RUBY_SITELIBDIR%%/StringMixin.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/metaruby/BitArray.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/metaruby/ProcAsArray.rb
+%%PORTDOCS%%@dirrm %%RUBY_EXAMPLESDIR%%/metaruby
+%%PORTDOCS%%%%RUBY_DOCDIR%%/metaruby/ChangeLog
+%%PORTDOCS%%%%RUBY_DOCDIR%%/metaruby/Overview
+%%PORTDOCS%%%%RUBY_DOCDIR%%/metaruby/TODO
+%%PORTDOCS%%@dirrm %%RUBY_DOCDIR%%/metaruby