summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
Diffstat (limited to 'math')
-rw-r--r--math/calcoo/Makefile4
-rw-r--r--math/cln/Makefile4
-rw-r--r--math/euler/Makefile4
-rw-r--r--math/fftw2/Makefile3
-rw-r--r--math/galculator/Makefile4
-rw-r--r--math/p5-Math-Base85/Makefile3
-rw-r--r--math/p5-Math-Bezier/Makefile4
-rw-r--r--math/p5-Math-FFT/Makefile4
-rw-r--r--math/p5-Math-GMP/Makefile4
-rw-r--r--math/p5-Math-Interpolate/Makefile4
-rw-r--r--math/p5-Math-MatrixReal/Makefile4
-rw-r--r--math/p5-Math-Pari/Makefile4
-rw-r--r--math/p5-Math-Random/Makefile4
-rw-r--r--math/p5-Number-Compare/Makefile3
-rw-r--r--math/p5-Number-Latin/Makefile4
-rw-r--r--math/p5-Set-Crontab/Makefile4
-rw-r--r--math/p5-Set-Infinite/Makefile4
-rw-r--r--math/pari/Makefile4
-rw-r--r--math/pear-Numbers_Roman/Makefile4
-rw-r--r--math/pear-Numbers_Words/Makefile4
-rw-r--r--math/php-bcmath/Makefile4
-rw-r--r--math/pspp/Makefile4
-rw-r--r--math/pspp/distinfo3
-rw-r--r--math/pspp/patches/patch-ar25
-rw-r--r--math/py-Scientific/Makefile8
-rw-r--r--math/py-ephem/Makefile9
-rw-r--r--math/py-fpconst/Makefile4
-rw-r--r--math/py-numarray/Makefile4
-rw-r--r--math/py-pytables/Makefile4
-rw-r--r--math/py-rpy/Makefile4
-rw-r--r--math/py-sympy/Makefile4
31 files changed, 117 insertions, 33 deletions
diff --git a/math/calcoo/Makefile b/math/calcoo/Makefile
index 045b2c18b12..f3f06ed034a 100644
--- a/math/calcoo/Makefile
+++ b/math/calcoo/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2007/09/03 15:59:14 drochner Exp $
+# $NetBSD: Makefile,v 1.9 2008/06/12 02:14:36 joerg Exp $
#
DISTNAME= calcoo-1.3.18
@@ -9,6 +9,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://calcoo.sourceforge.net/
COMMENT= Scientific calculator
+PKG_DESTDIR_SUPPORT= user-destdir
+
GNU_CONFIGURE= yes
USE_TOOLS+= pkg-config
diff --git a/math/cln/Makefile b/math/cln/Makefile
index 202e0805c9c..36977d81ec5 100644
--- a/math/cln/Makefile
+++ b/math/cln/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2007/01/07 09:54:52 wiz Exp $
+# $NetBSD: Makefile,v 1.17 2008/06/12 02:14:36 joerg Exp $
DISTNAME= cln-1.1.13
CATEGORIES= math
@@ -10,6 +10,8 @@ MAINTAINER= adam@NetBSD.org
HOMEPAGE= http://www.ginac.de/CLN/
COMMENT= CLN Class Library for Numbers
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_TOOLS+= gmake pkg-config
USE_LANGUAGES= c c++
USE_LIBTOOL= yes
diff --git a/math/euler/Makefile b/math/euler/Makefile
index 8f25663503e..55c2a360c96 100644
--- a/math/euler/Makefile
+++ b/math/euler/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 2007/06/06 12:43:31 tnn Exp $
+# $NetBSD: Makefile,v 1.19 2008/06/12 02:14:36 joerg Exp $
DISTNAME= euler-1.61.0
PKGNAME= euler-1.61
@@ -10,6 +10,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://euler.sourceforge.net/index.html
COMMENT= Interactive numerical analysis and graphics program
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_LANGUAGES= c c++
GNU_CONFIGURE= yes
USE_TOOLS+= gmake pkg-config
diff --git a/math/fftw2/Makefile b/math/fftw2/Makefile
index 44d3f77d733..8c4e265fd44 100644
--- a/math/fftw2/Makefile
+++ b/math/fftw2/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.17 2008/01/19 09:16:25 wiz Exp $
+# $NetBSD: Makefile,v 1.18 2008/06/12 02:14:36 joerg Exp $
DISTNAME= fftw-2.1.5
PKGNAME= fftw2-2.1.5
@@ -12,6 +12,7 @@ HOMEPAGE= http://www.fftw.org/
COMMENT= Collection of fast C routines to compute DFTs
PKG_INSTALLATION_TYPES= overwrite pkgviews
+PKG_DESTDIR_SUPPORT= user-destdir
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --enable-shared
diff --git a/math/galculator/Makefile b/math/galculator/Makefile
index 9c977c59584..6d176e1d30c 100644
--- a/math/galculator/Makefile
+++ b/math/galculator/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2007/11/05 20:35:29 drochner Exp $
+# $NetBSD: Makefile,v 1.16 2008/06/12 02:14:36 joerg Exp $
#
DISTNAME= galculator-1.3.1
@@ -9,6 +9,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://galculator.sourceforge.net/
COMMENT= Desktop calculator with scientific / RPN modes
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_PKGLOCALEDIR= yes
GNU_CONFIGURE= yes
USE_TOOLS+= gmake msgfmt pkg-config intltool
diff --git a/math/p5-Math-Base85/Makefile b/math/p5-Math-Base85/Makefile
index 69ff70299f0..cff22d0e0ba 100644
--- a/math/p5-Math-Base85/Makefile
+++ b/math/p5-Math-Base85/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2005/08/13 07:59:41 adrianp Exp $
+# $NetBSD: Makefile,v 1.2 2008/06/12 02:14:36 joerg Exp $
DISTNAME= Math-Base85-0.2
PKGNAME= p5-${DISTNAME}
@@ -9,6 +9,7 @@ MAINTAINER= adrianp@NetBSD.org
COMMENT= Perl extension for base 85 numbers, as referenced by RFC 1924
PKG_INSTALLATION_TYPES= overwrite pkgviews
+PKG_DESTDIR_SUPPORT= user-destdir
PERL5_PACKLIST= auto/Math/Base85/.packlist
diff --git a/math/p5-Math-Bezier/Makefile b/math/p5-Math-Bezier/Makefile
index 36678bc5318..406ad1db027 100644
--- a/math/p5-Math-Bezier/Makefile
+++ b/math/p5-Math-Bezier/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2007/02/27 09:22:38 wiz Exp $
+# $NetBSD: Makefile,v 1.12 2008/06/12 02:14:36 joerg Exp $
DISTNAME= Math-Bezier-0.01
PKGNAME= p5-${DISTNAME}
@@ -10,6 +10,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://search.cpan.org/dist/Math-Bezier/
COMMENT= Perl module for the solution of Bezier curves
+PKG_DESTDIR_SUPPORT= user-destdir
+
PERL5_PACKLIST= auto/Math/Bezier/.packlist
.include "../../lang/perl5/module.mk"
diff --git a/math/p5-Math-FFT/Makefile b/math/p5-Math-FFT/Makefile
index 4dc72154a13..97ba848174b 100644
--- a/math/p5-Math-FFT/Makefile
+++ b/math/p5-Math-FFT/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2007/02/27 09:23:45 wiz Exp $
+# $NetBSD: Makefile,v 1.8 2008/06/12 02:14:36 joerg Exp $
DISTNAME= Math-FFT-1.28
PKGNAME= p5-${DISTNAME}
@@ -10,6 +10,8 @@ MAINTAINER= gson@NetBSD.org
HOMEPAGE= http://search.cpan.org/dist/Math-FFT/
COMMENT= Perl module to calculate Fast Fourier Transforms
+PKG_DESTDIR_SUPPORT= user-destdir
+
PERL5_PACKLIST= auto/Math/FFT/.packlist
.include "../../lang/perl5/module.mk"
diff --git a/math/p5-Math-GMP/Makefile b/math/p5-Math-GMP/Makefile
index 026cf838920..b28b2da3bce 100644
--- a/math/p5-Math-GMP/Makefile
+++ b/math/p5-Math-GMP/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2006/03/04 21:30:04 jlam Exp $
+# $NetBSD: Makefile,v 1.4 2008/06/12 02:14:36 joerg Exp $
#
DISTNAME= Math-GMP-2.04
@@ -11,6 +11,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://search.cpan.org/dist/Math-GMP/
COMMENT= Perl 5 module for high speed arbitrary size integer math
+PKG_DESTDIR_SUPPORT= user-destdir
+
PERL5_PACKLIST= auto/Math/GMP/.packlist
.include "../../devel/gmp/buildlink3.mk"
diff --git a/math/p5-Math-Interpolate/Makefile b/math/p5-Math-Interpolate/Makefile
index 7592c5ca1f5..32faf5dca44 100644
--- a/math/p5-Math-Interpolate/Makefile
+++ b/math/p5-Math-Interpolate/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2006/03/04 21:30:05 jlam Exp $
+# $NetBSD: Makefile,v 1.13 2008/06/12 02:14:36 joerg Exp $
DISTNAME= Math-Interpolate-1.05
PKGNAME= p5-${DISTNAME}
@@ -10,6 +10,8 @@ MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Math/}
MAINTAINER= pkgsrc-users@NetBSD.org
COMMENT= Perl module for interpolating data
+PKG_DESTDIR_SUPPORT= user-destdir
+
PERL5_PACKLIST= auto/Math/Interpolate/.packlist
.include "../../lang/perl5/module.mk"
diff --git a/math/p5-Math-MatrixReal/Makefile b/math/p5-Math-MatrixReal/Makefile
index 439ecce2178..40111380175 100644
--- a/math/p5-Math-MatrixReal/Makefile
+++ b/math/p5-Math-MatrixReal/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2007/02/27 09:25:29 wiz Exp $
+# $NetBSD: Makefile,v 1.14 2008/06/12 02:14:36 joerg Exp $
DISTNAME= Math-MatrixReal-2.01
PKGNAME= p5-${DISTNAME}
@@ -10,6 +10,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://search.cpan.org/dist/Math-MatrixReal/
COMMENT= Perl module for performing operations on real matrices
+PKG_DESTDIR_SUPPORT= user-destdir
+
PERL5_PACKLIST= auto/Math/MatrixReal/.packlist
.include "../../lang/perl5/module.mk"
diff --git a/math/p5-Math-Pari/Makefile b/math/p5-Math-Pari/Makefile
index baeb1c33901..19aefa522cf 100644
--- a/math/p5-Math-Pari/Makefile
+++ b/math/p5-Math-Pari/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.29 2008/02/09 22:39:50 adrianp Exp $
+# $NetBSD: Makefile,v 1.30 2008/06/12 02:14:36 joerg Exp $
#
DISTNAME= Math-Pari-2.010709
@@ -16,6 +16,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://search.cpan.org/dist/Math-Pari/
COMMENT= Perl5 interface to the pari math library
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_TOOLS+= perl
# XXX: to use or not to use...
diff --git a/math/p5-Math-Random/Makefile b/math/p5-Math-Random/Makefile
index 6d8f89654f6..c668b967147 100644
--- a/math/p5-Math-Random/Makefile
+++ b/math/p5-Math-Random/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2007/08/01 19:45:17 joerg Exp $
+# $NetBSD: Makefile,v 1.6 2008/06/12 02:14:36 joerg Exp $
#
DISTNAME= Math-Random-0.67
@@ -11,6 +11,8 @@ MAINTAINER= imil@gcu.info
HOMEPAGE= http://search.cpan.org/dist/Math-Random/
COMMENT= Random number generators
+PKG_DESTDIR_SUPPORT= user-destdir
+
PERL5_PACKLIST= auto/Math/Random/.packlist
REPLACE_PERL= example.pl
diff --git a/math/p5-Number-Compare/Makefile b/math/p5-Number-Compare/Makefile
index 0c56ea770d0..91b02acc319 100644
--- a/math/p5-Number-Compare/Makefile
+++ b/math/p5-Number-Compare/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2005/08/06 06:19:23 jlam Exp $
+# $NetBSD: Makefile,v 1.4 2008/06/12 02:14:36 joerg Exp $
DISTNAME= Number-Compare-0.01
PKGNAME= p5-${DISTNAME}
@@ -12,6 +12,7 @@ HOMEPAGE= http://search.cpan.org/dist/Number-Compare/
COMMENT= Compiles a simple comparison to an anonymous subroutine
PKG_INSTALLATION_TYPES= overwrite pkgviews
+PKG_DESTDIR_SUPPORT= user-destdir
PERL5_PACKLIST= auto/Number/Compare/.packlist
diff --git a/math/p5-Number-Latin/Makefile b/math/p5-Number-Latin/Makefile
index 56651cdf2fc..ffac264430e 100644
--- a/math/p5-Number-Latin/Makefile
+++ b/math/p5-Number-Latin/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2005/08/06 06:19:23 jlam Exp $
+# $NetBSD: Makefile,v 1.7 2008/06/12 02:14:36 joerg Exp $
DISTNAME= Number-Latin-1.01
PKGNAME= p5-${DISTNAME}
@@ -9,6 +9,8 @@ MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Number/}
MAINTAINER= norm@sandbox.org.uk
COMMENT= Perl module for "lower/upper-latin" numbering system
+PKG_DESTDIR_SUPPORT= user-destdir
+
PERL5_PACKLIST= auto/Number/Latin/.packlist
.include "../../lang/perl5/module.mk"
diff --git a/math/p5-Set-Crontab/Makefile b/math/p5-Set-Crontab/Makefile
index 4df409bec99..f151dfda02c 100644
--- a/math/p5-Set-Crontab/Makefile
+++ b/math/p5-Set-Crontab/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2005/08/06 06:19:23 jlam Exp $
+# $NetBSD: Makefile,v 1.5 2008/06/12 02:14:36 joerg Exp $
DISTNAME= Set-Crontab-1.00
PKGNAME= p5-${DISTNAME}
@@ -10,6 +10,8 @@ MAINTAINER= cube@NetBSD.org
HOMEPAGE= http://search.cpan.org/dist/Set-Crontab/
COMMENT= Perl module to parse crontab(5)-like lists of integers
+PKG_DESTDIR_SUPPORT= user-destdir
+
PERL5_PACKLIST= auto/Set/Crontab/.packlist
.include "../../lang/perl5/module.mk"
diff --git a/math/p5-Set-Infinite/Makefile b/math/p5-Set-Infinite/Makefile
index 3a38f2bf275..a80bebbf8ce 100644
--- a/math/p5-Set-Infinite/Makefile
+++ b/math/p5-Set-Infinite/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2005/08/06 06:19:23 jlam Exp $
+# $NetBSD: Makefile,v 1.5 2008/06/12 02:14:36 joerg Exp $
DISTNAME= Set-Infinite-0.61
PKGNAME= p5-${DISTNAME}
@@ -10,6 +10,8 @@ MAINTAINER= cube@NetBSD.org
HOMEPAGE= http://search.cpan.org/dist/Set-Infinite/
COMMENT= Perl module for sets of integers and objects
+PKG_DESTDIR_SUPPORT= user-destdir
+
PERL5_PACKLIST= auto/Set/Infinite/.packlist
.include "../../lang/perl5/module.mk"
diff --git a/math/pari/Makefile b/math/pari/Makefile
index 5f68eeb89ef..6220854b7cf 100644
--- a/math/pari/Makefile
+++ b/math/pari/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.39 2007/01/23 17:59:42 joerg Exp $
+# $NetBSD: Makefile,v 1.40 2008/06/12 02:14:36 joerg Exp $
DISTNAME= pari-2.1.6
PKGREVISION= 2
@@ -10,6 +10,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://pari.math.u-bordeaux.fr/
COMMENT= Software package for computer-aided number theory
+PKG_DESTDIR_SUPPORT= user-destdir
+
TEX_ACCEPTED= teTeX3
TEX_DEPMETHOD= build
diff --git a/math/pear-Numbers_Roman/Makefile b/math/pear-Numbers_Roman/Makefile
index 8084e8e697d..3a7f01c6c8a 100644
--- a/math/pear-Numbers_Roman/Makefile
+++ b/math/pear-Numbers_Roman/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2007/05/05 22:09:18 adrianp Exp $
+# $NetBSD: Makefile,v 1.7 2008/06/12 02:14:36 joerg Exp $
DISTNAME= Numbers_Roman-0.2.0
PKGREVISION= 1
@@ -8,6 +8,8 @@ MAINTAINER= adrianp@NetBSD.org
HOMEPAGE= http://pear.php.net/package/Numbers_Roman/
COMMENT= Provides methods for converting to and from Roman Numerals
+PKG_DESTDIR_SUPPORT= user-destdir
+
CONFLICTS= php-pear-Numbers_Roman-[0-9]*
.include "../../lang/php/pear.mk"
diff --git a/math/pear-Numbers_Words/Makefile b/math/pear-Numbers_Words/Makefile
index d99e5aeeaaa..f1b17930d63 100644
--- a/math/pear-Numbers_Words/Makefile
+++ b/math/pear-Numbers_Words/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2007/05/05 22:09:18 adrianp Exp $
+# $NetBSD: Makefile,v 1.7 2008/06/12 02:14:36 joerg Exp $
DISTNAME= Numbers_Words-0.14.0
PKGREVISION= 1
@@ -10,5 +10,7 @@ COMMENT= Provides methods for spelling numerals in words
CONFLICTS= php-pear-Numbers_Words-[0-9]*
+PKG_DESTDIR_SUPPORT= user-destdir
+
.include "../../lang/php/pear.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/math/php-bcmath/Makefile b/math/php-bcmath/Makefile
index b0d61c1571f..404b96e4e19 100644
--- a/math/php-bcmath/Makefile
+++ b/math/php-bcmath/Makefile
@@ -1,9 +1,11 @@
-# $NetBSD: Makefile,v 1.6 2006/06/04 16:26:54 joerg Exp $
+# $NetBSD: Makefile,v 1.7 2008/06/12 02:14:36 joerg Exp $
MODNAME= bcmath
CATEGORIES+= math
COMMENT= PHP extension for bc-style arbitrary precision math
+PKG_DESTDIR_SUPPORT= user-destdir
+
CONFLICTS= php-bcmath-[0-9]*
CONFIGURE_ARGS+= --enable-${MODNAME}
diff --git a/math/pspp/Makefile b/math/pspp/Makefile
index 24026226842..c6ba89b50f0 100644
--- a/math/pspp/Makefile
+++ b/math/pspp/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.38 2007/11/11 23:55:19 wiz Exp $
+# $NetBSD: Makefile,v 1.39 2008/06/12 02:14:36 joerg Exp $
#
DISTNAME= pspp-0.3.0
@@ -16,6 +16,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.gnu.org/software/pspp/
COMMENT= Program for statistical analysis of sampled data
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_TOOLS+= msgfmt
GNU_CONFIGURE= yes
CPPFLAGS+= -Dunix=1
diff --git a/math/pspp/distinfo b/math/pspp/distinfo
index 11a5a681b85..0764c87f746 100644
--- a/math/pspp/distinfo
+++ b/math/pspp/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.11 2006/07/09 13:43:56 joerg Exp $
+$NetBSD: distinfo,v 1.12 2008/06/12 02:14:36 joerg Exp $
SHA1 (pspp-0.3.0.tar.gz) = 1d07a7e7ef0677e5934331ed0b80b92c7bba7074
RMD160 (pspp-0.3.0.tar.gz) = 8272d458340e77ffa54962c12a9fe377498fb10a
@@ -19,3 +19,4 @@ SHA1 (patch-an) = 1bcb30f7a0a21a9a05cf022d18c9cf806c204f85
SHA1 (patch-ao) = c918fe9d3837ea5902405a0faca885528b31a6f6
SHA1 (patch-ap) = 1682fe56215616b09782ca1f1f5d5f59834b043b
SHA1 (patch-aq) = dc3fc8b4b642b79b854bae03a3622dc561d0605c
+SHA1 (patch-ar) = 863562c8f7ad6b7666fb58ca73672b559a77973a
diff --git a/math/pspp/patches/patch-ar b/math/pspp/patches/patch-ar
new file mode 100644
index 00000000000..c783dbf5ac3
--- /dev/null
+++ b/math/pspp/patches/patch-ar
@@ -0,0 +1,25 @@
+$NetBSD: patch-ar,v 1.1 2008/06/12 02:14:36 joerg Exp $
+
+--- po/Makefile.in.in.orig 2008-06-11 10:30:55.000000000 +0000
++++ po/Makefile.in.in
+@@ -110,16 +110,16 @@ install-data: install-data-@USE_NLS@
+ install-data-no: all
+ install-data-yes: all
+ if test -r $(MKINSTALLDIRS); then \
+- $(MKINSTALLDIRS) $(datadir); \
++ $(MKINSTALLDIRS) ${DESTDIR}$(datadir); \
+ else \
+- $(top_srcdir)/mkinstalldirs $(datadir); \
++ $(top_srcdir)/mkinstalldirs ${DESTDIR}$(datadir); \
+ fi
+ @catalogs='$(CATALOGS)'; \
+ for cat in $$catalogs; do \
+ cat=`basename $$cat`; \
+ case "$$cat" in \
+- *.gmo) destdir=$(gnulocaledir);; \
+- *) destdir=$(localedir);; \
++ *.gmo) destdir=${DESTDIR}$(gnulocaledir);; \
++ *) destdir=${DESTDIR}$(localedir);; \
+ esac; \
+ lang=`echo $$cat | sed 's/\$(CATOBJEXT)$$//'`; \
+ dir=$$destdir/$$lang/LC_MESSAGES; \
diff --git a/math/py-Scientific/Makefile b/math/py-Scientific/Makefile
index bda8e8285e2..16931cbbac0 100644
--- a/math/py-Scientific/Makefile
+++ b/math/py-Scientific/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.29 2008/04/25 20:39:10 joerg Exp $
+# $NetBSD: Makefile,v 1.30 2008/06/12 02:14:36 joerg Exp $
DISTNAME= ScientificPython-2.4.5
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/Python//}
@@ -11,6 +11,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://starship.python.net/crew/hinsen/scientific.html
COMMENT= Python modules for scientific computing
+PKG_DESTDIR_SUPPORT= user-destdir
+
CONFLICTS+= py-Scientific-*
PYDISTUTILSPKG= yes
@@ -22,13 +24,15 @@ EVAL_PREFIX+= NETCDFPREFIX=netcdf MPICHPREFIX=mpich
PLIST_SUBST+= PYVERSSUFFIX=${PYVERSSUFFIX:Q}
PLIST_SUBST+= OSVER=${OS_VERSION:C/^(.).*/\1/}
+INSTALLATION_DIRS= bin
+
post-build:
@(cd ${WRKSRC}/Src/MPI && ${SETENV} CFLAGS="${CFLAGS}" \
LDFLAGS="${LDFLAGS} ${PTHREAD_LDFLAGS} ${PTHREAD_LIBS}" ${PYTHONBIN} compile.py)
post-install:
${INSTALL_PROGRAM} ${WRKSRC}/Src/MPI/mpipython \
- ${PREFIX}/bin/mpipython${PYVERSSUFFIX}
+ ${DESTDIR}${PREFIX}/bin/mpipython${PYVERSSUFFIX}
.include "../../devel/netcdf/buildlink3.mk"
.include "../../lang/python/extension.mk"
diff --git a/math/py-ephem/Makefile b/math/py-ephem/Makefile
index dcc9640fe74..5b1a205915d 100644
--- a/math/py-ephem/Makefile
+++ b/math/py-ephem/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2008/04/25 20:39:10 joerg Exp $
+# $NetBSD: Makefile,v 1.4 2008/06/12 02:14:36 joerg Exp $
#
DISTNAME= pyephem-3.7b
@@ -10,6 +10,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.rhodesmill.org/brandon/projects/pyephem.html
COMMENT= Scientific-grade astronomical computations for Python
+PKG_DESTDIR_SUPPORT= user-destdir
+
# See ../../x11/xephem/Makefile.
LICENSE= xephem-license
RESTRICTED= Combined work is both GPL and non-Free
@@ -18,9 +20,10 @@ NO_BIN_ON_CDROM= ${RESTRICTED}
PYDISTUTILSPKG= true
+INSTALLATION_DIRS= share/doc/${PKGNAME}
+
post-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/${PKGNAME}
- ${INSTALL} ${WRKSRC}/doc/pyephem-manual.html ${PREFIX}/share/doc/${PKGNAME}
+ ${INSTALL} ${WRKSRC}/doc/pyephem-manual.html ${DESTDIR}${PREFIX}/share/doc/${PKGNAME}
.include "../../lang/python/extension.mk"
.include "../../lang/python/application.mk"
diff --git a/math/py-fpconst/Makefile b/math/py-fpconst/Makefile
index e7716db1a10..149d7b7eece 100644
--- a/math/py-fpconst/Makefile
+++ b/math/py-fpconst/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2006/02/05 23:10:03 joerg Exp $
+# $NetBSD: Makefile,v 1.6 2008/06/12 02:14:37 joerg Exp $
#
DISTNAME= fpconst-0.7.0
@@ -11,6 +11,8 @@ MAINTAINER= recht@NetBSD.org
HOMEPAGE= http://www.analytics.washington.edu/statcomp/projects/rzope/fpconst/
COMMENT= IEEE 754 floating point special handling for Python
+PKG_DESTDIR_SUPPORT= user-destdir
+
PYDISTUTILSPKG= yes
.include "../../lang/python/extension.mk"
diff --git a/math/py-numarray/Makefile b/math/py-numarray/Makefile
index 20860b94ca2..d30b6ed45d9 100644
--- a/math/py-numarray/Makefile
+++ b/math/py-numarray/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2008/04/25 20:39:10 joerg Exp $
+# $NetBSD: Makefile,v 1.15 2008/06/12 02:14:37 joerg Exp $
#
DISTNAME= numarray-1.5.2
@@ -10,6 +10,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.stsci.edu/resources/software_hardware/numarray
COMMENT= Array manipulation
+PKG_DESTDIR_SUPPORT= user-destdir
+
PYDISTUTILSPKG= yes
PLIST_VARS+= blas
diff --git a/math/py-pytables/Makefile b/math/py-pytables/Makefile
index 59504efcafd..5a10c57316d 100644
--- a/math/py-pytables/Makefile
+++ b/math/py-pytables/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2008/04/25 20:39:10 joerg Exp $
+# $NetBSD: Makefile,v 1.16 2008/06/12 02:14:37 joerg Exp $
#
DISTNAME= pytables-1.3.3
@@ -10,6 +10,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://pytables.sourceforge.net/
COMMENT= Database package for large amounts of data
+PKG_DESTDIR_SUPPORT= user-destdir
+
PKG_OPTIONS_VAR= PKG_OPTIONS.pytables
PKG_SUPPORTED_OPTIONS= lzo ucl
PKG_SUGGESTED_OPTIONS=
diff --git a/math/py-rpy/Makefile b/math/py-rpy/Makefile
index a8506ebd13a..1d73db57206 100644
--- a/math/py-rpy/Makefile
+++ b/math/py-rpy/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.22 2008/04/26 02:41:00 markd Exp $
+# $NetBSD: Makefile,v 1.23 2008/06/12 02:14:37 joerg Exp $
#
DISTNAME= rpy-0.99.0
@@ -11,6 +11,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://rpy.sourceforge.net/
COMMENT= R interface for Python
+PKG_DESTDIR_SUPPORT= user-destdir
+
PYDISTUTILSPKG= YES
BUILDLINK_API_DEPENDS.R+= R>=2.7.0
diff --git a/math/py-sympy/Makefile b/math/py-sympy/Makefile
index 4807908ef36..1dad141c46b 100644
--- a/math/py-sympy/Makefile
+++ b/math/py-sympy/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2008/05/29 17:59:25 drochner Exp $
+# $NetBSD: Makefile,v 1.3 2008/06/12 02:14:37 joerg Exp $
#
DISTNAME= sympy-0.5.15
@@ -10,6 +10,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://code.google.com/p/sympy/
COMMENT= Python library for symbolic mathematics
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_LANGUAGES= # none
PYDISTUTILSPKG= yes
PLIST_SUBST+= PYVERSSUFFIX=${PYVERSSUFFIX}