module fortran

This commit is contained in:
espie 2010-05-23 10:25:55 +00:00
parent b283989e7c
commit 84154e7171

View File

@ -1,10 +1,10 @@
# $OpenBSD: Makefile,v 1.21 2010/04/15 14:11:02 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.22 2010/05/23 10:25:55 espie Exp $
COMMENT= fast array and numeric programming library for Python
MODPY_EGG_VERSION= 1.3.0
DISTNAME= numpy-${MODPY_EGG_VERSION}
PKGNAME= py-${DISTNAME}p3
PKGNAME= py-${DISTNAME}p4
CATEGORIES= math devel
HOMEPAGE= http://numpy.scipy.org/
@ -17,17 +17,23 @@ PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= blas m g2c
WANTLIB= blas m ${MODFORTRAN_WANTLIB}
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=numpy/}
MODULES= lang/python
MODULES= lang/python \
fortran
MODPY_SETUPTOOLS= Yes
MODPY_SETUP= setupegg.py
REGRESS_DEPENDS= ::devel/py-nose
LIB_DEPENDS= lapack::math/lapack
MODFORTRAN_WANTG77 = Yes
BUILD_DEPENDS = ${MODFORTRAN_BUILD_DEPENDS}
LIB_DEPENDS= lapack::math/lapack \
${MODFORTRAN_LIB_DEPENDS}
# XXX Segmentation fault on powerpc when building py-scipy:
# remove '-funroll-loops'