From 8eaadd883704daed588a20155c8fafb94f2c5ec3 Mon Sep 17 00:00:00 2001 From: knu Date: Thu, 1 Feb 2001 13:25:14 +0000 Subject: Add ruby-narray, numerical N-dimensional array library for Ruby. --- math/ruby-narray/Makefile | 40 ++++++++++++++++++++++++++++++++++++++++ math/ruby-narray/distinfo | 1 + math/ruby-narray/pkg-comment | 1 + math/ruby-narray/pkg-descr | 10 ++++++++++ math/ruby-narray/pkg-plist | 21 +++++++++++++++++++++ 5 files changed, 73 insertions(+) create mode 100644 math/ruby-narray/Makefile create mode 100644 math/ruby-narray/distinfo create mode 100644 math/ruby-narray/pkg-comment create mode 100644 math/ruby-narray/pkg-descr create mode 100644 math/ruby-narray/pkg-plist (limited to 'math/ruby-narray') 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 +# +# $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 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 +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 -- cgit