2011-12-22 17:32:04 +01:00
|
|
|
# $NetBSD: Makefile,v 1.8 2011/12/22 16:32:04 joerg Exp $
|
2008-12-19 23:14:28 +01:00
|
|
|
|
2010-06-06 04:37:08 +02:00
|
|
|
DISTNAME= scipy-0.7.2
|
|
|
|
PKGNAME= ${PYPKGPREFIX}-scipy-0.7.2
|
2008-12-19 23:14:28 +01:00
|
|
|
CATEGORIES= math python
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=scipy/}
|
|
|
|
|
|
|
|
MAINTAINER= markd@NetBSD.org
|
|
|
|
HOMEPAGE= http://www.scipy.org/
|
|
|
|
COMMENT= Scientific Algorithms Library for Python
|
2010-02-21 16:13:42 +01:00
|
|
|
LICENSE= modified-bsd
|
2008-12-19 23:14:28 +01:00
|
|
|
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
|
|
|
|
PYDISTUTILSPKG= yes
|
|
|
|
PLIST_SUBST+= PYPKGPREFIX=${PYPKGPREFIX}
|
|
|
|
USE_LANGUAGES+= c c++ fortran
|
|
|
|
MAKE_ENV+= ATLAS=None
|
|
|
|
|
2010-06-06 04:37:08 +02:00
|
|
|
# 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
|
|
|
|
|
2011-12-22 17:32:04 +01:00
|
|
|
CPPFLAGS+= -D__STDC_FORMAT_MACROS
|
|
|
|
|
2008-12-19 23:14:28 +01:00
|
|
|
.include "../../lang/python/extension.mk"
|
|
|
|
.include "../../math/fftw/buildlink3.mk"
|
|
|
|
.include "../../math/py-numpy/buildlink3.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|