summaryrefslogtreecommitdiff
path: root/math/ruby-gsl
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2001-12-21 21:23:28 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2001-12-21 21:23:28 +0000
commit7211b539d62456dcd41ee2ceeda7c87670c41a94 (patch)
tree1fa6c15fbbdb1d76d3e52c275486fa120b711085 /math/ruby-gsl
parentupgrade to 4.5 (diff)
Add ruby-gsl, a Ruby extension library for GSL (GNU Scientific
Library).
Notes
Notes: svn path=/head/; revision=51946
Diffstat (limited to 'math/ruby-gsl')
-rw-r--r--math/ruby-gsl/Makefile45
-rw-r--r--math/ruby-gsl/distinfo1
-rw-r--r--math/ruby-gsl/pkg-comment1
-rw-r--r--math/ruby-gsl/pkg-descr6
-rw-r--r--math/ruby-gsl/pkg-plist52
5 files changed, 105 insertions, 0 deletions
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 <knu@idaemons.org>
+#
+# $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 <bsd.port.mk>
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 <yoshiki@cr.phys.titech.ac.jp>
+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