aboutsummaryrefslogtreecommitdiffstats
path: root/math/ruby-numru_misc
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2004-03-15 00:08:31 +0800
committerpav <pav@FreeBSD.org>2004-03-15 00:08:31 +0800
commit71ad1652420e2df3c1a099f2629dd435bbda2240 (patch)
treee5c698ac1d1a33123c78369971c6596d5d48a474 /math/ruby-numru_misc
parentea2aadc89691184354972bebd561c694810136f4 (diff)
downloadfreebsd-ports-gnome-71ad1652420e2df3c1a099f2629dd435bbda2240.tar.gz
freebsd-ports-gnome-71ad1652420e2df3c1a099f2629dd435bbda2240.tar.zst
freebsd-ports-gnome-71ad1652420e2df3c1a099f2629dd435bbda2240.zip
Add ruby-numru_misc, a collection of miscellaneous functions and classes
to facilitate programming. Misc requires NArray, a multi-dimensional numeric array class for ruby. PR: ports/64246 Submitted by: Shin'ya Murakami <murakami@ahs.scitec.kobe-u.ac.jp>
Diffstat (limited to 'math/ruby-numru_misc')
-rw-r--r--math/ruby-numru_misc/Makefile38
-rw-r--r--math/ruby-numru_misc/distinfo2
-rw-r--r--math/ruby-numru_misc/pkg-descr5
-rw-r--r--math/ruby-numru_misc/pkg-plist14
4 files changed, 59 insertions, 0 deletions
diff --git a/math/ruby-numru_misc/Makefile b/math/ruby-numru_misc/Makefile
new file mode 100644
index 000000000000..bc4b4fe7fda9
--- /dev/null
+++ b/math/ruby-numru_misc/Makefile
@@ -0,0 +1,38 @@
+# New ports collection makefile for: RubyNumruMisc
+# Date created: 14 March 2004
+# Whom: Shin'ya Murakami <murakami@ahs.scitec.kobe-u.ac.jp>
+#
+# $FreeBSD$
+#
+
+PORTNAME= numru_misc
+PORTVERSION= 0.0.4
+CATEGORIES= math ruby
+MASTER_SITES= ftp://www.gfd-dennou.org/arch/ruby/products/misc/
+PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
+DISTNAME= misc-${PORTVERSION}
+DIST_SUBDIR= ruby
+
+MAINTAINER= murakami@ahs.scitec.kobe-u.ac.jp
+COMMENT= Collection of misc functions and classes to facilitate programming
+
+RUN_DEPENDS= ${RUBY_SITEARCHLIBDIR}/narray.so:${PORTSDIR}/math/ruby-narray \
+ ${RUBY_SITELIBDIR}/narray_miss.rb:${PORTSDIR}/math/ruby-narray_miss
+
+USE_RUBY= yes
+NO_BUILD= yes
+
+DOCS= ChangeLog doc/*
+
+do-install:
+ @cd ${WRKSRC}/ && ${RUBY} ./install.rb
+
+post-install:
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${RUBY_MODDOCDIR}
+.for f in ${DOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/
+.endfor
+.endif
+
+.include <bsd.port.mk>
diff --git a/math/ruby-numru_misc/distinfo b/math/ruby-numru_misc/distinfo
new file mode 100644
index 000000000000..22a2f014f974
--- /dev/null
+++ b/math/ruby-numru_misc/distinfo
@@ -0,0 +1,2 @@
+MD5 (ruby/misc-0.0.4.tar.gz) = dfc8065779261cab2fe23102bc2d5359
+SIZE (ruby/misc-0.0.4.tar.gz) = 10737
diff --git a/math/ruby-numru_misc/pkg-descr b/math/ruby-numru_misc/pkg-descr
new file mode 100644
index 000000000000..e9fd70d1bd3b
--- /dev/null
+++ b/math/ruby-numru_misc/pkg-descr
@@ -0,0 +1,5 @@
+Miscellaneous functions and classes to facilitate programming.
+Misc requires NArray, a multi-dimensional numeric array class for ruby.
+
+Author: Takeshi Horinouchi <horinout@kurasc.kyoto-u.ac.jp>
+WWW: http://www.gfd-dennou.org/arch/ruby/products/misc/
diff --git a/math/ruby-numru_misc/pkg-plist b/math/ruby-numru_misc/pkg-plist
new file mode 100644
index 000000000000..6742128ed0fa
--- /dev/null
+++ b/math/ruby-numru_misc/pkg-plist
@@ -0,0 +1,14 @@
+%%RUBY_SITELIBDIR%%/numru/misc.rb
+%%RUBY_SITELIBDIR%%/numru/misc/emath.rb
+%%RUBY_SITELIBDIR%%/numru/misc/keywordopt.rb
+%%RUBY_SITELIBDIR%%/numru/misc/md_iterators.rb
+%%RUBY_SITELIBDIR%%/numru/misc/misc.rb
+@dirrm %%RUBY_SITELIBDIR%%/numru/misc
+@unexec rmdir %D/%%RUBY_SITELIBDIR%%/numru 2>/dev/null || true
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/ChangeLog
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/emath.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/index.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/keywordopt.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/md_iterators.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/misc.html
+%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%