summaryrefslogtreecommitdiff
path: root/math/ruby-gsl
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2004-11-27 16:27:45 +0000
committertaca <taca@pkgsrc.org>2004-11-27 16:27:45 +0000
commit2b8e008b747977b00bff083679b0492c45c15ae8 (patch)
treec9c2a3e3a82aade3f1b7b1aa64b2cc0d0afccd49 /math/ruby-gsl
parent2153e939b1882e8947349630a8ae42f9932c1098 (diff)
downloadpkgsrc-2b8e008b747977b00bff083679b0492c45c15ae8.tar.gz
Update ruby-gsl pacakge to 0.2.0 migrating to use new Ruby framework.
0.2.0: using GSL 1.5 sorting vectors fixes in Vector and Linalg_complex check if complex_householder_hv is available check for Cygwin faster MonteCarlo implementation more and renamed constants (MKS -> MKSA, CGS -> CGSM) better (meaning more sensible) error handling fixed initialization bug in Spline more samples
Diffstat (limited to 'math/ruby-gsl')
-rw-r--r--math/ruby-gsl/Makefile31
-rw-r--r--math/ruby-gsl/PLIST7
-rw-r--r--math/ruby-gsl/distinfo6
3 files changed, 18 insertions, 26 deletions
diff --git a/math/ruby-gsl/Makefile b/math/ruby-gsl/Makefile
index 601b6474cdc..2625bec26d9 100644
--- a/math/ruby-gsl/Makefile
+++ b/math/ruby-gsl/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.4 2004/10/03 00:12:57 tv Exp $
+# $NetBSD: Makefile,v 1.5 2004/11/27 16:27:45 taca Exp $
-DISTNAME= ruby-gsl-0.1.9
-PKGREVISION= 1
+DISTNAME= ruby-gsl-0.2.0
+PKGNAME= ${RUBY_PKGPREFIX}-gsl-0.2.0
CATEGORIES= math
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ruby-gsl/}
@@ -9,25 +9,13 @@ MAINTAINER= dmcmahill@NetBSD.org
HOMEPAGE= http://ruby-gsl.sourceforge.net/
COMMENT= Wrapper of the GNU Scientific Library (GSL) for Ruby
-DIST_SUBDIR= ruby
-WRKSRC= ${WRKDIR}/${DISTNAME}/ext
-USE_RUBY_EXTCONF= yes
USE_BUILDLINK3= yes
+USE_RUBY_EXTCONF= yes
INSTALL_TARGET= site-install
-
-DOCS= README
-
-post-patch:
- ${MV} ${WRKSRC}/Const.c ${WRKSRC}/Const.c.bak
- ${SED} -e 's;CONST_MKS_;CONST_MKSA_;g' -e 's;CONST_CGS_;CONST_CGSM_;g' \
- ${WRKSRC}/Const.c.bak > ${WRKSRC}/Const.c
-
-DOCS= \
- HOWTO \
- IMPLEMENTED \
- README \
- TODO \
- doc.rd
+WRKSRC= ${WRKDIR}/${DISTNAME}/ext
+DOCS= AUTHORS HISTORY HOWTO IMPLEMENTED README THANKS \
+ TODO doc.rd
+REPLACE_RUBY_DIRS= ${WRKSRC}/../samples
post-install:
${INSTALL_DATA_DIR} ${RUBY_DOCDIR}/gsl
@@ -37,7 +25,6 @@ post-install:
${INSTALL_DATA_DIR} ${RUBY_EXAMPLESDIR}/gsl
${INSTALL_DATA} ${WRKSRC}/../samples/*.rb ${RUBY_EXAMPLESDIR}/gsl
-.include "../../lang/ruby-base/Makefile.common"
-.include "../../lang/ruby-base/buildlink3.mk"
+.include "../../lang/ruby/modules.mk"
.include "../../math/gsl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/math/ruby-gsl/PLIST b/math/ruby-gsl/PLIST
index 437cedb2502..c835f2e7af1 100644
--- a/math/ruby-gsl/PLIST
+++ b/math/ruby-gsl/PLIST
@@ -1,8 +1,11 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2003/09/15 00:18:31 dmcmahill Exp $
+@comment $NetBSD: PLIST,v 1.2 2004/11/27 16:27:45 taca Exp $
${RUBY_SITEARCHLIBDIR}/GSL.so
+${RUBY_DOCDIR}/gsl/AUTHORS
+${RUBY_DOCDIR}/gsl/HISTORY
${RUBY_DOCDIR}/gsl/HOWTO
${RUBY_DOCDIR}/gsl/IMPLEMENTED
${RUBY_DOCDIR}/gsl/README
+${RUBY_DOCDIR}/gsl/THANKS
${RUBY_DOCDIR}/gsl/TODO
${RUBY_DOCDIR}/gsl/doc.rd
${RUBY_EXAMPLESDIR}/gsl/array.rb
@@ -26,6 +29,7 @@ ${RUBY_EXAMPLESDIR}/gsl/matrix.rb
${RUBY_EXAMPLESDIR}/gsl/matrix_complex.rb
${RUBY_EXAMPLESDIR}/gsl/min.rb
${RUBY_EXAMPLESDIR}/gsl/monte.rb
+${RUBY_EXAMPLESDIR}/gsl/monteI.rb
${RUBY_EXAMPLESDIR}/gsl/multi.rb
${RUBY_EXAMPLESDIR}/gsl/perm.rb
${RUBY_EXAMPLESDIR}/gsl/poly.rb
@@ -37,6 +41,7 @@ ${RUBY_EXAMPLESDIR}/gsl/rng.rb
${RUBY_EXAMPLESDIR}/gsl/shuffle.rb
${RUBY_EXAMPLESDIR}/gsl/siman.rb
${RUBY_EXAMPLESDIR}/gsl/solve.rb
+${RUBY_EXAMPLESDIR}/gsl/sort.rb
${RUBY_EXAMPLESDIR}/gsl/special.rb
${RUBY_EXAMPLESDIR}/gsl/spline.rb
${RUBY_EXAMPLESDIR}/gsl/stats.rb
diff --git a/math/ruby-gsl/distinfo b/math/ruby-gsl/distinfo
index c8d0eca79f5..2c3222c815d 100644
--- a/math/ruby-gsl/distinfo
+++ b/math/ruby-gsl/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.1.1.1 2003/09/15 00:18:31 dmcmahill Exp $
+$NetBSD: distinfo,v 1.2 2004/11/27 16:27:45 taca Exp $
-SHA1 (ruby/ruby-gsl-0.1.9.tar.gz) = f72834aa70446712b0ae8571796ad1ae16443db0
-Size (ruby/ruby-gsl-0.1.9.tar.gz) = 142951 bytes
+SHA1 (ruby/ruby-gsl-0.2.0.tar.gz) = 8a04336cce6547890ad74cecbfc694ff7f5ffe62
+Size (ruby/ruby-gsl-0.2.0.tar.gz) = 149391 bytes