# $NetBSD: Makefile,v 1.8 2011/12/22 16:32:04 joerg 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 CPPFLAGS+= -D__STDC_FORMAT_MACROS .include "../../lang/python/extension.mk" .include "../../math/fftw/buildlink3.mk" .include "../../math/py-numpy/buildlink3.mk" .include "../../mk/bsd.pkg.mk"