diff options
author | knu <knu@FreeBSD.org> | 2001-02-01 21:25:14 +0800 |
---|---|---|
committer | knu <knu@FreeBSD.org> | 2001-02-01 21:25:14 +0800 |
commit | 8eaadd883704daed588a20155c8fafb94f2c5ec3 (patch) | |
tree | b80d859361687e0ee8b39b0bb2fbc8e2b250e372 /math/ruby-narray | |
parent | 353696c6d205e001314a20e07a4f6047bac52a39 (diff) | |
download | freebsd-ports-gnome-8eaadd883704daed588a20155c8fafb94f2c5ec3.tar.gz freebsd-ports-gnome-8eaadd883704daed588a20155c8fafb94f2c5ec3.tar.zst freebsd-ports-gnome-8eaadd883704daed588a20155c8fafb94f2c5ec3.zip |
Add ruby-narray, numerical N-dimensional array library for Ruby.
Diffstat (limited to 'math/ruby-narray')
-rw-r--r-- | math/ruby-narray/Makefile | 40 | ||||
-rw-r--r-- | math/ruby-narray/distinfo | 1 | ||||
-rw-r--r-- | math/ruby-narray/pkg-comment | 1 | ||||
-rw-r--r-- | math/ruby-narray/pkg-descr | 10 | ||||
-rw-r--r-- | math/ruby-narray/pkg-plist | 21 |
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 |