From 7211b539d62456dcd41ee2ceeda7c87670c41a94 Mon Sep 17 00:00:00 2001 From: Akinori MUSHA Date: Fri, 21 Dec 2001 21:23:28 +0000 Subject: Add ruby-gsl, a Ruby extension library for GSL (GNU Scientific Library). --- math/Makefile | 1 + math/ruby-gsl/Makefile | 45 ++++++++++++++++++++++++++++++++++++++++ math/ruby-gsl/distinfo | 1 + math/ruby-gsl/pkg-comment | 1 + math/ruby-gsl/pkg-descr | 6 ++++++ math/ruby-gsl/pkg-plist | 52 +++++++++++++++++++++++++++++++++++++++++++++++ 6 files changed, 106 insertions(+) create mode 100644 math/ruby-gsl/Makefile create mode 100644 math/ruby-gsl/distinfo create mode 100644 math/ruby-gsl/pkg-comment create mode 100644 math/ruby-gsl/pkg-descr create mode 100644 math/ruby-gsl/pkg-plist (limited to 'math') diff --git a/math/Makefile b/math/Makefile index c87257017606..e1f1cfabe2a3 100644 --- a/math/Makefile +++ b/math/Makefile @@ -110,6 +110,7 @@ SUBDIR += ruby-bigfloat SUBDIR += ruby-bitvector SUBDIR += ruby-gnuplot + SUBDIR += ruby-gsl SUBDIR += ruby-math3d SUBDIR += ruby-narray SUBDIR += sc diff --git a/math/ruby-gsl/Makefile b/math/ruby-gsl/Makefile new file mode 100644 index 000000000000..f62d2729c6d7 --- /dev/null +++ b/math/ruby-gsl/Makefile @@ -0,0 +1,45 @@ +# New ports collection makefile for: Ruby/GSL +# Date created: 22 December 2001 +# Whom: Akinori MUSHA aka knu +# +# $FreeBSD$ +# + +PORTNAME= gsl +PORTVERSION= 0.1 +CATEGORIES= math ruby +MASTER_SITES= http://www5d.biglobe.ne.jp/~ytsune/ +PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX} +DISTNAME= rb-${PORTNAME}-${PORTVERSION} +DIST_SUBDIR= ruby + +MAINTAINER= knu@FreeBSD.org + +LIB_DEPENDS= gsl.0:${.CURDIR}/../gsl + +USE_RUBY= yes +USE_RUBY_SETUP= yes +RUBY_SETUP= install.rb + +CONFIGURE_ARGS= -- --with-opt-dir="${LOCALBASE}" + +EXAMPLES_EN= test/* +DOCS_EN= AUTHORS ChangeLog README.html README.rd doc/* +DOCS_JA= README.ja.html README.ja.rd + +post-install: +.if !defined(NOPORTDOCS) + ${MKDIR} ${RUBY_EXAMPLESDIR}/${PORTNAME} +.for f in ${EXAMPLES_EN} + ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_EXAMPLESDIR}/${PORTNAME}/ +.endfor + ${MKDIR} ${RUBY_DOCDIR}/${PORTNAME}/ja +.for f in ${DOCS_EN} + ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/${PORTNAME}/ +.endfor +.for f in ${DOCS_JA} + ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/${PORTNAME}/ja/ +.endfor +.endif + +.include diff --git a/math/ruby-gsl/distinfo b/math/ruby-gsl/distinfo new file mode 100644 index 000000000000..66a271b0c8cd --- /dev/null +++ b/math/ruby-gsl/distinfo @@ -0,0 +1 @@ +MD5 (ruby/rb-gsl-0.1.tar.gz) = afee3bb734c23267df94ced2d6726d91 diff --git a/math/ruby-gsl/pkg-comment b/math/ruby-gsl/pkg-comment new file mode 100644 index 000000000000..7bd466ad20cd --- /dev/null +++ b/math/ruby-gsl/pkg-comment @@ -0,0 +1 @@ +A Ruby extension library for GSL (GNU Scientific Library) diff --git a/math/ruby-gsl/pkg-descr b/math/ruby-gsl/pkg-descr new file mode 100644 index 000000000000..269b08b40993 --- /dev/null +++ b/math/ruby-gsl/pkg-descr @@ -0,0 +1,6 @@ +Ruby/GSL is a Ruby extension library for GSL (GNU Scientific Library), +which provides a number of functions and methods for numerical +computing in Ruby. + +Author: Yoshiki Tsunesada +WWW: http://www.ruby-lang.org/en/raa-list.rhtml?name=Ruby%2FGSL diff --git a/math/ruby-gsl/pkg-plist b/math/ruby-gsl/pkg-plist new file mode 100644 index 000000000000..0982d604fa14 --- /dev/null +++ b/math/ruby-gsl/pkg-plist @@ -0,0 +1,52 @@ +%%RUBY_SITEARCHLIBDIR%%/gsl.so +%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/gsl/airy.rb +%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/gsl/bessel.rb +%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/gsl/complex.rb +%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/gsl/const.rb +%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/gsl/eigen.rb +%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/gsl/function.rb +%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/gsl/gamma.rb +%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/gsl/histogram.rb +%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/gsl/hyperg.rb +%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/gsl/integration.rb +%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/gsl/linalg.rb +%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/gsl/math.rb +%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/gsl/matrix.rb +%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/gsl/odeiv.rb +%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/gsl/permutation.rb +%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/gsl/poly.rb +%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/gsl/rng.rb +%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/gsl/smp.dat +%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/gsl/smpv.dat +%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/gsl/sort.rb +%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/gsl/statistics.rb +%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/gsl/vector.rb +%%PORTDOCS%%@dirrm %%RUBY_EXAMPLESDIR%%/gsl +%%PORTDOCS%%%%RUBY_DOCDIR%%/gsl/AUTHORS +%%PORTDOCS%%%%RUBY_DOCDIR%%/gsl/ChangeLog +%%PORTDOCS%%%%RUBY_DOCDIR%%/gsl/README.html +%%PORTDOCS%%%%RUBY_DOCDIR%%/gsl/README.rd +%%PORTDOCS%%%%RUBY_DOCDIR%%/gsl/3x3.html +%%PORTDOCS%%%%RUBY_DOCDIR%%/gsl/3x3.rt +%%PORTDOCS%%%%RUBY_DOCDIR%%/gsl/Makefile +%%PORTDOCS%%%%RUBY_DOCDIR%%/gsl/eigen.html +%%PORTDOCS%%%%RUBY_DOCDIR%%/gsl/eigen.rd +%%PORTDOCS%%%%RUBY_DOCDIR%%/gsl/function.html +%%PORTDOCS%%%%RUBY_DOCDIR%%/gsl/function.rd +%%PORTDOCS%%%%RUBY_DOCDIR%%/gsl/integration.html +%%PORTDOCS%%%%RUBY_DOCDIR%%/gsl/integration.rd +%%PORTDOCS%%%%RUBY_DOCDIR%%/gsl/linalg.html +%%PORTDOCS%%%%RUBY_DOCDIR%%/gsl/linalg.rd +%%PORTDOCS%%%%RUBY_DOCDIR%%/gsl/matrix.html +%%PORTDOCS%%%%RUBY_DOCDIR%%/gsl/matrix.rd +%%PORTDOCS%%%%RUBY_DOCDIR%%/gsl/rd.mak +%%PORTDOCS%%%%RUBY_DOCDIR%%/gsl/rng.html +%%PORTDOCS%%%%RUBY_DOCDIR%%/gsl/rng.rd +%%PORTDOCS%%%%RUBY_DOCDIR%%/gsl/specfunc.html +%%PORTDOCS%%%%RUBY_DOCDIR%%/gsl/specfunc.rd +%%PORTDOCS%%%%RUBY_DOCDIR%%/gsl/vector.html +%%PORTDOCS%%%%RUBY_DOCDIR%%/gsl/vector.rd +%%PORTDOCS%%%%RUBY_DOCDIR%%/gsl/ja/README.ja.html +%%PORTDOCS%%%%RUBY_DOCDIR%%/gsl/ja/README.ja.rd +%%PORTDOCS%%@dirrm %%RUBY_DOCDIR%%/gsl/ja +%%PORTDOCS%%@dirrm %%RUBY_DOCDIR%%/gsl -- cgit v1.2.3