aboutsummaryrefslogtreecommitdiff
path: root/math/ruby-narray
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2001-02-01 13:25:14 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2001-02-01 13:25:14 +0000
commit9f96169d68ea1c014128be801b6b15e2454af5c1 (patch)
tree587e4364dc810a1bda40558d61d3826e99d0b69d /math/ruby-narray
parentbe5f6df8ca9fd3c2ff2652ecead44ba619f7b0e2 (diff)
downloadports-9f96169d68ea1c014128be801b6b15e2454af5c1.tar.gz
ports-9f96169d68ea1c014128be801b6b15e2454af5c1.zip
Notes
Diffstat (limited to 'math/ruby-narray')
-rw-r--r--math/ruby-narray/Makefile40
-rw-r--r--math/ruby-narray/distinfo1
-rw-r--r--math/ruby-narray/pkg-comment1
-rw-r--r--math/ruby-narray/pkg-descr10
-rw-r--r--math/ruby-narray/pkg-plist21
5 files changed, 73 insertions, 0 deletions
diff --git a/math/ruby-narray/Makefile b/math/ruby-narray/Makefile
new file mode 100644
index 000000000000..b6ea54b5ae0d
--- /dev/null
+++ b/math/ruby-narray/Makefile
@@ -0,0 +1,40 @@
+# New ports collection makefile for: Ruby-NArray
+# Date created: 1 Feb 2001
+# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= narray
+PORTVERSION= 0.5.2
+CATEGORIES= math ruby
+MASTER_SITES= http://www.ir.isas.ac.jp/~masa/ruby/dist/
+PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
+DIST_SUBDIR= ruby
+
+MAINTAINER= knu@FreeBSD.org
+
+LIB_DEPENDS= fftw.2:${PORTSDIR}/math/fftw
+
+USE_RUBY= yes
+USE_RUBY_EXTCONF= yes
+
+INSTALL_TARGET= site-install
+
+DOC_EN= ChangeLog README.en SPEC.en
+DOC_JA= README.jp SPEC.jp
+
+post-install:
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${RUBY_DOCDIR}/narray/ja
+.for f in ${DOC_EN}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/narray/
+.endfor
+.for f in ${DOC_JA}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/narray/ja/
+.endfor
+ ${MKDIR} ${RUBY_EXAMPLESDIR}/narray
+ ${INSTALL_DATA} ${WRKSRC}/speed/*.rb ${RUBY_EXAMPLESDIR}/narray/
+.endif
+
+.include <bsd.port.mk>
diff --git a/math/ruby-narray/distinfo b/math/ruby-narray/distinfo
new file mode 100644
index 000000000000..23eac493d88a
--- /dev/null
+++ b/math/ruby-narray/distinfo
@@ -0,0 +1 @@
+MD5 (ruby/narray-0.5.2.tar.gz) = c60a6dd08c50391ac64d879335d250c1
diff --git a/math/ruby-narray/pkg-comment b/math/ruby-narray/pkg-comment
new file mode 100644
index 000000000000..a18c49c7b852
--- /dev/null
+++ b/math/ruby-narray/pkg-comment
@@ -0,0 +1 @@
+Numerical N-dimensional array library for Ruby
diff --git a/math/ruby-narray/pkg-descr b/math/ruby-narray/pkg-descr
new file mode 100644
index 000000000000..3de87355aadc
--- /dev/null
+++ b/math/ruby-narray/pkg-descr
@@ -0,0 +1,10 @@
+NArray is a class of Numerical N-dimensional Array, providing fast and
+efficient computing of the large data arrays.
+
+Element types: Integer, Float, Complex and Ruby Object.
+
+Methods: array manipulation, arithmetic operators and mathematical
+functions (including FFTW and LU factorization).
+
+Author: Masahiro TANAKA <masa@ir.isas.ac.jp>
+WWW: http://www.ir.isas.ac.jp/~masa/ruby/index-e.html
diff --git a/math/ruby-narray/pkg-plist b/math/ruby-narray/pkg-plist
new file mode 100644
index 000000000000..7e9d2a8c8c44
--- /dev/null
+++ b/math/ruby-narray/pkg-plist
@@ -0,0 +1,21 @@
+%%RUBY_SITEARCHLIBDIR%%/narray.so
+%%RUBY_SITELIBDIR%%/narray_ext.rb
+%%RUBY_SITELIBDIR%%/nmatrix.rb
+%%RUBY_DOCDIR%%/narray/ja/README.jp
+%%RUBY_DOCDIR%%/narray/ja/SPEC.jp
+%%RUBY_DOCDIR%%/narray/ChangeLog
+%%RUBY_DOCDIR%%/narray/README.en
+%%RUBY_DOCDIR%%/narray/SPEC.en
+@dirrm %%RUBY_DOCDIR%%/narray/ja
+@dirrm %%RUBY_DOCDIR%%/narray
+%%RUBY_EXAMPLESDIR%%/narray/add.rb
+%%RUBY_EXAMPLESDIR%%/narray/add_int.rb
+%%RUBY_EXAMPLESDIR%%/narray/lu.rb
+%%RUBY_EXAMPLESDIR%%/narray/mat.rb
+%%RUBY_EXAMPLESDIR%%/narray/mul.rb
+%%RUBY_EXAMPLESDIR%%/narray/mul2.rb
+%%RUBY_EXAMPLESDIR%%/narray/mul_comp.rb
+%%RUBY_EXAMPLESDIR%%/narray/mul_int.rb
+%%RUBY_EXAMPLESDIR%%/narray/mybench.rb
+%%RUBY_EXAMPLESDIR%%/narray/solve.rb
+@dirrm %%RUBY_EXAMPLESDIR%%/narray