25a80fb4ab
on some platforms that lacked shared library support in the past. The list hasn't been maintained at all and the gain is very limited, so just get rid of it.
41 lines
1.3 KiB
Makefile
41 lines
1.3 KiB
Makefile
# $NetBSD: Makefile,v 1.31 2009/03/05 18:51:30 joerg Exp $
|
|
|
|
DISTNAME= ScientificPython-2.4.5
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/Python//}
|
|
PKGREVISION= 2
|
|
CATEGORIES= math python
|
|
MASTER_SITES= http://starship.python.net/crew/hinsen/ScientificPython/ \
|
|
http://dirac.cnrs-orleans.fr/programs/ScientificPython/
|
|
|
|
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
|
|
|
|
MAKE_ENV+= NETCDF_PREFIX=${LOCALBASE:Q}
|
|
|
|
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 \
|
|
${DESTDIR}${PREFIX}/bin/mpipython${PYVERSSUFFIX}
|
|
|
|
.include "../../devel/netcdf/buildlink3.mk"
|
|
.include "../../lang/python/extension.mk"
|
|
.include "../../math/py-Numeric/buildlink3.mk"
|
|
.include "../../parallel/mpi-ch/buildlink3.mk"
|
|
.include "../../mk/pthread.buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|