diff options
author | joerg <joerg@pkgsrc.org> | 2008-06-12 02:14:13 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2008-06-12 02:14:13 +0000 |
commit | ba171a91fab519f587b027c1a2888cb6e3fce049 (patch) | |
tree | c12b9c282e2706cb6bac87456615dfdf2b256e55 /math/py-Scientific | |
parent | 3ba79d294eb62e9c75cc32d37b4af7759af8c9d6 (diff) | |
download | pkgsrc-ba171a91fab519f587b027c1a2888cb6e3fce049.tar.gz |
Add DESTDIR support.
Diffstat (limited to 'math/py-Scientific')
-rw-r--r-- | math/py-Scientific/Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
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" |