pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/math/ruby-rb-gsl - Switch to use vendor_dir with Ruby ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6264e0836224
branches:  trunk
changeset: 543479:6264e0836224
user:      taca <taca%pkgsrc.org@localhost>
date:      Thu Jun 19 14:51:16 2008 +0000

description:
- Switch to use vendor_dir with Ruby 1.8.7.
- Compile with gsl-1.11 (and maybe later).

Bump PKGREVISION.

diffstat:

 math/ruby-rb-gsl/Makefile         |   28 +-
 math/ruby-rb-gsl/PLIST            |  878 +++++++++++++++++++-------------------
 math/ruby-rb-gsl/distinfo         |    3 +-
 math/ruby-rb-gsl/patches/patch-aa |   13 +
 4 files changed, 471 insertions(+), 451 deletions(-)

diffs (truncated from 959 to 300 lines):

diff -r 430f0c562514 -r 6264e0836224 math/ruby-rb-gsl/Makefile
--- a/math/ruby-rb-gsl/Makefile Thu Jun 19 14:42:24 2008 +0000
+++ b/math/ruby-rb-gsl/Makefile Thu Jun 19 14:51:16 2008 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.1.1.1 2007/12/17 23:37:49 minskim Exp $
+# $NetBSD: Makefile,v 1.2 2008/06/19 14:51:16 taca Exp $
 
 DISTNAME=      rb-gsl-1.9.2
 PKGNAME=       ${RUBY_PKGPREFIX}-${DISTNAME}
+PKGREVISION=   1
 CATEGORIES=    math ruby
 MASTER_SITES=  http://rubyforge.org/frs/download.php/23975/
 
@@ -10,20 +11,25 @@
 COMMENT=       Ruby interface to the GNU Scientific Library
 
 USE_RUBY_SETUP=        yes
+USE_TOOLS=     pax
+CONFIGURE_ARGS+=       --siteruby=${PREFIX}/${RUBY_VENDORLIB_BASE} \
+                       --siterubyver=${PREFIX}/${RUBY_VENDORLIB} \
+                       --siterubyverarch=${PREFIX}/${RUBY_VENDORARCHLIB}
+
+INSTALLATION_DIRS=     ${RUBY_DOC}/gsl ${RUBY_EG}/gsl
 
 .include "../../lang/ruby/modules.mk"
 .include "../../math/gsl/buildlink3.mk"
 
+post-patch:
+       cd ${WRKSRC}/samples; \
+               ${FIND} . -type d -exec ${CHMOD} ${PKGDIRMODE} {} \; ;\
+               ${FIND} . -type f -exec ${CHMOD} ${SHAREMODE} {} \;
+
 post-install:
-       ${INSTALL_DATA_DIR} ${RUBY_DOCDIR}/gsl
-       ${INSTALL_DATA} ${WRKSRC}/README ${RUBY_DOCDIR}/gsl
-       ${INSTALL_DATA} ${WRKSRC}/html/*.html ${RUBY_DOCDIR}/gsl
-       ${INSTALL_DATA_DIR} ${RUBY_EXAMPLESDIR}/gsl
-       ${CP} -R ${WRKSRC}/samples/* ${RUBY_EXAMPLESDIR}/gsl
-       ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${RUBY_EXAMPLESDIR}/gsl
-       ${FIND} ${RUBY_EXAMPLESDIR}/gsl -type d -print |                \
-               ${XARGS} ${CHMOD} ${PKGDIRMODE}
-       ${FIND} ${RUBY_EXAMPLESDIR}/gsl -type f -print |                \
-               ${XARGS} ${CHMOD} ${SHAREMODE}
+       ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/${RUBY_DOC}/gsl
+       ${INSTALL_DATA} ${WRKSRC}/html/*.html ${DESTDIR}${PREFIX}/${RUBY_DOC}/gsl
+       cd ${WRKSRC}/samples; ${PAX} -rw . ${DESTDIR}${PREFIX}/${RUBY_EG}/gsl
+       ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${DESTDIR}${PREFIX}/${RUBY_EG}/gsl
 
 .include "../../mk/bsd.pkg.mk"
diff -r 430f0c562514 -r 6264e0836224 math/ruby-rb-gsl/PLIST
--- a/math/ruby-rb-gsl/PLIST    Thu Jun 19 14:42:24 2008 +0000
+++ b/math/ruby-rb-gsl/PLIST    Thu Jun 19 14:51:16 2008 +0000
@@ -1,439 +1,439 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2007/12/17 23:37:49 minskim Exp $
-${RUBY_SITELIBDIR}/gsl.rb
-${RUBY_SITELIBDIR}/gsl/gnuplot.rb
-${RUBY_SITELIBDIR}/gsl/oper.rb
-${RUBY_SITEARCHLIBDIR}/rb_gsl.${RUBY_DLEXT}
-${RUBY_SITELIBDIR}/ool.rb
-${RUBY_SITELIBDIR}/ool/conmin.rb
-${RUBY_SITELIBDIR}/rbgsl.rb
-${RUBY_DOCDIR}/gsl/README
-${RUBY_DOCDIR}/gsl/airy.html
-${RUBY_DOCDIR}/gsl/bessel.html
-${RUBY_DOCDIR}/gsl/blas.html
-${RUBY_DOCDIR}/gsl/bspline.html
-${RUBY_DOCDIR}/gsl/cheb.html
-${RUBY_DOCDIR}/gsl/combi.html
-${RUBY_DOCDIR}/gsl/complex.html
-${RUBY_DOCDIR}/gsl/const.html
-${RUBY_DOCDIR}/gsl/dht.html
-${RUBY_DOCDIR}/gsl/diff.html
-${RUBY_DOCDIR}/gsl/ehandling.html
-${RUBY_DOCDIR}/gsl/eigen.html
-${RUBY_DOCDIR}/gsl/fft.html
-${RUBY_DOCDIR}/gsl/fit.html
-${RUBY_DOCDIR}/gsl/function.html
-${RUBY_DOCDIR}/gsl/graph.html
-${RUBY_DOCDIR}/gsl/hist.html
-${RUBY_DOCDIR}/gsl/hist2d.html
-${RUBY_DOCDIR}/gsl/hist3d.html
-${RUBY_DOCDIR}/gsl/index.html
-${RUBY_DOCDIR}/gsl/integration.html
-${RUBY_DOCDIR}/gsl/interp.html
-${RUBY_DOCDIR}/gsl/intro.html
-${RUBY_DOCDIR}/gsl/linalg.html
-${RUBY_DOCDIR}/gsl/linalg_complex.html
-${RUBY_DOCDIR}/gsl/math.html
-${RUBY_DOCDIR}/gsl/matrix.html
-${RUBY_DOCDIR}/gsl/min.html
-${RUBY_DOCDIR}/gsl/monte.html
-${RUBY_DOCDIR}/gsl/multimin.html
-${RUBY_DOCDIR}/gsl/multiroot.html
-${RUBY_DOCDIR}/gsl/narray.html
-${RUBY_DOCDIR}/gsl/nonlinearfit.html
-${RUBY_DOCDIR}/gsl/ntuple.html
-${RUBY_DOCDIR}/gsl/odeiv.html
-${RUBY_DOCDIR}/gsl/perm.html
-${RUBY_DOCDIR}/gsl/poly.html
-${RUBY_DOCDIR}/gsl/qrng.html
-${RUBY_DOCDIR}/gsl/randist.html
-${RUBY_DOCDIR}/gsl/ref.html
-${RUBY_DOCDIR}/gsl/rng.html
-${RUBY_DOCDIR}/gsl/rngextra.html
-${RUBY_DOCDIR}/gsl/roots.html
-${RUBY_DOCDIR}/gsl/screenshot.html
-${RUBY_DOCDIR}/gsl/sf.html
-${RUBY_DOCDIR}/gsl/siman.html
-${RUBY_DOCDIR}/gsl/sort.html
-${RUBY_DOCDIR}/gsl/start.html
-${RUBY_DOCDIR}/gsl/stats.html
-${RUBY_DOCDIR}/gsl/sum.html
-${RUBY_DOCDIR}/gsl/tensor.html
-${RUBY_DOCDIR}/gsl/tut.html
-${RUBY_DOCDIR}/gsl/use.html
-${RUBY_DOCDIR}/gsl/vector.html
-${RUBY_DOCDIR}/gsl/vector_complex.html
-${RUBY_DOCDIR}/gsl/wavelet.html
-${RUBY_EXAMPLESDIR}/gsl/blas/blas.rb
-${RUBY_EXAMPLESDIR}/gsl/blas/dnrm2.rb
-${RUBY_EXAMPLESDIR}/gsl/blas/level1.rb
-${RUBY_EXAMPLESDIR}/gsl/blas/level2.rb
-${RUBY_EXAMPLESDIR}/gsl/blas/level3.rb
-${RUBY_EXAMPLESDIR}/gsl/bspline.rb
-${RUBY_EXAMPLESDIR}/gsl/cdf.rb
-${RUBY_EXAMPLESDIR}/gsl/cheb.rb
-${RUBY_EXAMPLESDIR}/gsl/combination.rb
-${RUBY_EXAMPLESDIR}/gsl/complex/RC-lpf.rb
-${RUBY_EXAMPLESDIR}/gsl/complex/add.rb
-${RUBY_EXAMPLESDIR}/gsl/complex/coerce.rb
-${RUBY_EXAMPLESDIR}/gsl/complex/complex.rb
-${RUBY_EXAMPLESDIR}/gsl/complex/fpmi.rb
-${RUBY_EXAMPLESDIR}/gsl/complex/functions.rb
-${RUBY_EXAMPLESDIR}/gsl/complex/michelson.rb
-${RUBY_EXAMPLESDIR}/gsl/complex/mul.rb
-${RUBY_EXAMPLESDIR}/gsl/complex/oscillator.rb
-${RUBY_EXAMPLESDIR}/gsl/complex/set.rb
-${RUBY_EXAMPLESDIR}/gsl/const/physconst.rb
-${RUBY_EXAMPLESDIR}/gsl/const/travel.rb
-${RUBY_EXAMPLESDIR}/gsl/deriv/demo.rb
-${RUBY_EXAMPLESDIR}/gsl/deriv/deriv.rb
-${RUBY_EXAMPLESDIR}/gsl/deriv/diff.rb
-${RUBY_EXAMPLESDIR}/gsl/dht.rb
-${RUBY_EXAMPLESDIR}/gsl/dirac.rb
-${RUBY_EXAMPLESDIR}/gsl/eigen/eigen.rb
-${RUBY_EXAMPLESDIR}/gsl/eigen/gensymm.rb
-${RUBY_EXAMPLESDIR}/gsl/eigen/herm.rb
-${RUBY_EXAMPLESDIR}/gsl/eigen/narray.rb
-${RUBY_EXAMPLESDIR}/gsl/eigen/nonsymm.rb
-${RUBY_EXAMPLESDIR}/gsl/eigen/nonsymmv.rb
-${RUBY_EXAMPLESDIR}/gsl/eigen/qhoscillator.gp
-${RUBY_EXAMPLESDIR}/gsl/eigen/qhoscillator.rb
-${RUBY_EXAMPLESDIR}/gsl/eigen/vander.rb
-${RUBY_EXAMPLESDIR}/gsl/eigen/workspace.rb
-${RUBY_EXAMPLESDIR}/gsl/fft/fft.rb
-${RUBY_EXAMPLESDIR}/gsl/fft/fft2.rb
-${RUBY_EXAMPLESDIR}/gsl/fft/forward.rb
-${RUBY_EXAMPLESDIR}/gsl/fft/forward2.rb
-${RUBY_EXAMPLESDIR}/gsl/fft/radix2.rb
-${RUBY_EXAMPLESDIR}/gsl/fft/real-halfcomplex.rb
-${RUBY_EXAMPLESDIR}/gsl/fft/real-halfcomplex2.rb
-${RUBY_EXAMPLESDIR}/gsl/fft/realradix2.rb
-${RUBY_EXAMPLESDIR}/gsl/fft/sunspot.dat
-${RUBY_EXAMPLESDIR}/gsl/fft/sunspot.rb
-${RUBY_EXAMPLESDIR}/gsl/fit/expdata.dat
-${RUBY_EXAMPLESDIR}/gsl/fit/expfit.rb
-${RUBY_EXAMPLESDIR}/gsl/fit/gaussfit.rb
-${RUBY_EXAMPLESDIR}/gsl/fit/gaussian_2peaks.rb
-${RUBY_EXAMPLESDIR}/gsl/fit/hi.dat
-${RUBY_EXAMPLESDIR}/gsl/fit/hillfit.rb
-${RUBY_EXAMPLESDIR}/gsl/fit/lo.dat
-${RUBY_EXAMPLESDIR}/gsl/fit/lognormal.rb
-${RUBY_EXAMPLESDIR}/gsl/fit/lorentzfit.rb
-${RUBY_EXAMPLESDIR}/gsl/fit/multifit.rb
-${RUBY_EXAMPLESDIR}/gsl/fit/nonlinearfit.rb
-${RUBY_EXAMPLESDIR}/gsl/fit/polyfit.rb
-${RUBY_EXAMPLESDIR}/gsl/fit/powerfit.rb
-${RUBY_EXAMPLESDIR}/gsl/fit/sigmoidfit.rb
-${RUBY_EXAMPLESDIR}/gsl/fit/sinfit.rb
-${RUBY_EXAMPLESDIR}/gsl/fit/wlinear.rb
-${RUBY_EXAMPLESDIR}/gsl/fresnel.rb
-${RUBY_EXAMPLESDIR}/gsl/function/function.rb
-${RUBY_EXAMPLESDIR}/gsl/function/log.rb
-${RUBY_EXAMPLESDIR}/gsl/function/min.rb
-${RUBY_EXAMPLESDIR}/gsl/function/sin.rb
-${RUBY_EXAMPLESDIR}/gsl/function/synchrotron.rb
-${RUBY_EXAMPLESDIR}/gsl/gallery/butterfly.rb
-${RUBY_EXAMPLESDIR}/gsl/gallery/cayley.rb
-${RUBY_EXAMPLESDIR}/gsl/gallery/cornu.rb
-${RUBY_EXAMPLESDIR}/gsl/gallery/eight.rb
-${RUBY_EXAMPLESDIR}/gsl/gallery/koch.rb
-${RUBY_EXAMPLESDIR}/gsl/gallery/lemniscate.rb
-${RUBY_EXAMPLESDIR}/gsl/gallery/polar.rb
-${RUBY_EXAMPLESDIR}/gsl/gallery/rgplot/cossin.rb
-${RUBY_EXAMPLESDIR}/gsl/gallery/rgplot/rgplot.replaced
-${RUBY_EXAMPLESDIR}/gsl/gallery/rgplot/roesller.rb
-${RUBY_EXAMPLESDIR}/gsl/gallery/roesller.rb
-${RUBY_EXAMPLESDIR}/gsl/gallery/scarabaeus.rb
-${RUBY_EXAMPLESDIR}/gsl/histogram/cauchy.rb
-${RUBY_EXAMPLESDIR}/gsl/histogram/cauchy.sh
-${RUBY_EXAMPLESDIR}/gsl/histogram/exponential.rb
-${RUBY_EXAMPLESDIR}/gsl/histogram/gauss.rb
-${RUBY_EXAMPLESDIR}/gsl/histogram/gsl-histogram.rb
-${RUBY_EXAMPLESDIR}/gsl/histogram/histo2d.rb
-${RUBY_EXAMPLESDIR}/gsl/histogram/histo3d.rb
-${RUBY_EXAMPLESDIR}/gsl/histogram/histogram-pdf.rb
-${RUBY_EXAMPLESDIR}/gsl/histogram/histogram.rb
-${RUBY_EXAMPLESDIR}/gsl/histogram/integral.rb
-${RUBY_EXAMPLESDIR}/gsl/histogram/poisson.rb
-${RUBY_EXAMPLESDIR}/gsl/histogram/power.rb
-${RUBY_EXAMPLESDIR}/gsl/histogram/rebin.rb
-${RUBY_EXAMPLESDIR}/gsl/histogram/smp.dat
-${RUBY_EXAMPLESDIR}/gsl/integration/ahmed.rb
-${RUBY_EXAMPLESDIR}/gsl/integration/cosmology.rb
-${RUBY_EXAMPLESDIR}/gsl/integration/friedmann.gp
-${RUBY_EXAMPLESDIR}/gsl/integration/friedmann.rb
-${RUBY_EXAMPLESDIR}/gsl/integration/gamma-zeta.rb
-${RUBY_EXAMPLESDIR}/gsl/integration/integration.rb
-${RUBY_EXAMPLESDIR}/gsl/integration/qag.rb
-${RUBY_EXAMPLESDIR}/gsl/integration/qag2.rb
-${RUBY_EXAMPLESDIR}/gsl/integration/qag3.rb
-${RUBY_EXAMPLESDIR}/gsl/integration/qagi.rb
-${RUBY_EXAMPLESDIR}/gsl/integration/qagi2.rb
-${RUBY_EXAMPLESDIR}/gsl/integration/qagiu.rb
-${RUBY_EXAMPLESDIR}/gsl/integration/qagp.rb
-${RUBY_EXAMPLESDIR}/gsl/integration/qags.rb
-${RUBY_EXAMPLESDIR}/gsl/integration/qawc.rb
-${RUBY_EXAMPLESDIR}/gsl/integration/qawf.rb
-${RUBY_EXAMPLESDIR}/gsl/integration/qawo.rb
-${RUBY_EXAMPLESDIR}/gsl/integration/qaws.rb
-${RUBY_EXAMPLESDIR}/gsl/integration/qng.rb
-${RUBY_EXAMPLESDIR}/gsl/interp/demo.gp
-${RUBY_EXAMPLESDIR}/gsl/interp/demo.rb
-${RUBY_EXAMPLESDIR}/gsl/interp/interp.rb
-${RUBY_EXAMPLESDIR}/gsl/interp/points
-${RUBY_EXAMPLESDIR}/gsl/interp/spline.rb
-${RUBY_EXAMPLESDIR}/gsl/jacobi/deriv.rb
-${RUBY_EXAMPLESDIR}/gsl/jacobi/integrate.rb
-${RUBY_EXAMPLESDIR}/gsl/jacobi/interp.rb
-${RUBY_EXAMPLESDIR}/gsl/jacobi/jacobi.rb
-${RUBY_EXAMPLESDIR}/gsl/linalg/HH.rb
-${RUBY_EXAMPLESDIR}/gsl/linalg/HH_narray.rb
-${RUBY_EXAMPLESDIR}/gsl/linalg/LQ_solve.rb
-${RUBY_EXAMPLESDIR}/gsl/linalg/LU.rb
-${RUBY_EXAMPLESDIR}/gsl/linalg/LU2.rb
-${RUBY_EXAMPLESDIR}/gsl/linalg/LU_narray.rb
-${RUBY_EXAMPLESDIR}/gsl/linalg/PTLQ.rb
-${RUBY_EXAMPLESDIR}/gsl/linalg/QR.rb
-${RUBY_EXAMPLESDIR}/gsl/linalg/QRPT.rb
-${RUBY_EXAMPLESDIR}/gsl/linalg/QR_solve.rb
-${RUBY_EXAMPLESDIR}/gsl/linalg/QR_solve_narray.rb
-${RUBY_EXAMPLESDIR}/gsl/linalg/SV.rb
-${RUBY_EXAMPLESDIR}/gsl/linalg/SV_narray.rb
-${RUBY_EXAMPLESDIR}/gsl/linalg/SV_solve.rb
-${RUBY_EXAMPLESDIR}/gsl/linalg/chol.rb
-${RUBY_EXAMPLESDIR}/gsl/linalg/chol_narray.rb
-${RUBY_EXAMPLESDIR}/gsl/linalg/complex.rb
-${RUBY_EXAMPLESDIR}/gsl/linalg/invert_narray.rb
-${RUBY_EXAMPLESDIR}/gsl/linalg/linalg.replaced
-${RUBY_EXAMPLESDIR}/gsl/math/const.rb
-${RUBY_EXAMPLESDIR}/gsl/math/elementary.rb
-${RUBY_EXAMPLESDIR}/gsl/math/functions.rb
-${RUBY_EXAMPLESDIR}/gsl/math/inf_nan.rb
-${RUBY_EXAMPLESDIR}/gsl/math/minmax.rb
-${RUBY_EXAMPLESDIR}/gsl/math/power.rb
-${RUBY_EXAMPLESDIR}/gsl/math/test.rb
-${RUBY_EXAMPLESDIR}/gsl/matrix/a.dat
-${RUBY_EXAMPLESDIR}/gsl/matrix/a.rb
-${RUBY_EXAMPLESDIR}/gsl/matrix/add.rb
-${RUBY_EXAMPLESDIR}/gsl/matrix/b.dat
-${RUBY_EXAMPLESDIR}/gsl/matrix/cat.rb
-${RUBY_EXAMPLESDIR}/gsl/matrix/complex.rb
-${RUBY_EXAMPLESDIR}/gsl/matrix/det.rb
-${RUBY_EXAMPLESDIR}/gsl/matrix/diagonal.rb
-${RUBY_EXAMPLESDIR}/gsl/matrix/hilbert.rb
-${RUBY_EXAMPLESDIR}/gsl/matrix/iterator.rb
-${RUBY_EXAMPLESDIR}/gsl/matrix/matrix.rb
-${RUBY_EXAMPLESDIR}/gsl/matrix/minmax.rb
-${RUBY_EXAMPLESDIR}/gsl/matrix/mul.rb
-${RUBY_EXAMPLESDIR}/gsl/matrix/rand.rb
-${RUBY_EXAMPLESDIR}/gsl/matrix/read.rb
-${RUBY_EXAMPLESDIR}/gsl/matrix/rowcol.rb
-${RUBY_EXAMPLESDIR}/gsl/matrix/set.rb
-${RUBY_EXAMPLESDIR}/gsl/matrix/view.rb
-${RUBY_EXAMPLESDIR}/gsl/matrix/write.rb
-${RUBY_EXAMPLESDIR}/gsl/min.rb
-${RUBY_EXAMPLESDIR}/gsl/monte/miser.rb
-${RUBY_EXAMPLESDIR}/gsl/monte/monte.rb
-${RUBY_EXAMPLESDIR}/gsl/monte/plain.rb
-${RUBY_EXAMPLESDIR}/gsl/monte/vegas.rb
-${RUBY_EXAMPLESDIR}/gsl/multimin/bundle.rb
-${RUBY_EXAMPLESDIR}/gsl/multimin/cqp.rb
-${RUBY_EXAMPLESDIR}/gsl/multimin/fdfminimizer.rb
-${RUBY_EXAMPLESDIR}/gsl/multimin/fminimizer.rb
-${RUBY_EXAMPLESDIR}/gsl/multiroot/demo.rb
-${RUBY_EXAMPLESDIR}/gsl/multiroot/fdfsolver.rb
-${RUBY_EXAMPLESDIR}/gsl/multiroot/fsolver.rb
-${RUBY_EXAMPLESDIR}/gsl/multiroot/fsolver2.rb
-${RUBY_EXAMPLESDIR}/gsl/multiroot/fsolver3.rb
-${RUBY_EXAMPLESDIR}/gsl/narray/histogram.rb



Home | Main Index | Thread Index | Old Index