diff options
author | roy <roy@pkgsrc.org> | 2011-04-19 13:14:28 +0000 |
---|---|---|
committer | roy <roy@pkgsrc.org> | 2011-04-19 13:14:28 +0000 |
commit | c081481bf1282eecf87449d738e5a77b7cdaef8e (patch) | |
tree | cb463e376849db9d3bcb7bb4d785da2d0de8b33f | |
parent | 79fc1933ed076b0b55a68be3e3492731092a9695 (diff) | |
download | pkgsrc-c081481bf1282eecf87449d738e5a77b7cdaef8e.tar.gz |
Use python correctly.
-rw-r--r-- | math/py-numpy/Makefile | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/math/py-numpy/Makefile b/math/py-numpy/Makefile index e730e2ea78c..346b31fd006 100644 --- a/math/py-numpy/Makefile +++ b/math/py-numpy/Makefile @@ -1,7 +1,8 @@ -# $NetBSD: Makefile,v 1.12 2010/07/30 10:36:30 asau Exp $ +# $NetBSD: Makefile,v 1.13 2011/04/19 13:14:28 roy Exp $ # DISTNAME= numpy-1.4.1 +PKGREVISION= 1 PKGNAME= ${PYPKGPREFIX}-numpy-1.4.1 CATEGORIES= math python MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=numpy/} @@ -18,11 +19,12 @@ USE_LANGUAGES+= c fortran77 PLIST_SUBST+= PYVERSSUFFIX=${PYVERSSUFFIX} MAKE_ENV+= ATLAS=None -REPLACE_PYTHON+= numpy/core/scons_support.py -REPLACE_PYTHON+= numpy/distutils/from_template.py -REPLACE_PYTHON+= numpy/distutils/system_info.py -REPLACE_PYTHON+= numpy/ma/bench.py -REPLACE_PYTHON+= numpy/distutils/conv_template.py +REPLACE_PYTHON+= *.py */*.py */*/*.py */*/*/*.py */*/*/*/*.py +SUBST_CLASSES+= numpy +SUBST_STAGE.numpy= post-patch +SUBST_FILES.numpy= numpy/f2py/setup.py numpy/f2py/setupscons.py +SUBST_SED.numpy= -e 's:/usr/bin/env %s:${PYTHONBIN}:' +SUBST_SED.numpy+= -e 's:%(os.path.basename(sys.executable))::' # XXX Avoid picking up other compilers when installed .include "../../mk/compiler.mk" |