aboutsummaryrefslogtreecommitdiff
path: root/math/ruby-numru_misc
diff options
context:
space:
mode:
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%%