blob: 5dd9aed3720f1c25c6f08445e5cc9111a0365451 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# $NetBSD: Makefile,v 1.7 2010/06/06 02:37:08 markd Exp $
DISTNAME= scipy-0.7.2
PKGNAME= ${PYPKGPREFIX}-scipy-0.7.2
CATEGORIES= math python
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=scipy/}
MAINTAINER= markd@NetBSD.org
HOMEPAGE= http://www.scipy.org/
COMMENT= Scientific Algorithms Library for Python
LICENSE= modified-bsd
PKG_DESTDIR_SUPPORT= user-destdir
PYDISTUTILSPKG= yes
PLIST_SUBST+= PYPKGPREFIX=${PYPKGPREFIX}
USE_LANGUAGES+= c c++ fortran
MAKE_ENV+= ATLAS=None
# XXX Avoid picking up other compilers when installed
.include "../../mk/compiler.mk"
.if defined(PKGSRC_FORTRAN) && !empty(PKGSRC_FORTRAN:Mg95)
PYSETUPBUILDARGS+= --fcompiler=g95
.elif defined(PKGSRC_FORTRAN) && !empty(PKGSRC_FORTRAN:Mgfortran)
PYSETUPBUILDARGS+= --fcompiler=gnu95
.else
BROKEN= Requires fortran 95
.endif
.include "../../lang/python/extension.mk"
.include "../../math/fftw/buildlink3.mk"
.include "../../math/py-numpy/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|