diff options
author | Dmitry Sivachenko <demon@FreeBSD.org> | 2015-04-04 13:30:20 +0000 |
---|---|---|
committer | Dmitry Sivachenko <demon@FreeBSD.org> | 2015-04-04 13:30:20 +0000 |
commit | 97806177ea8e82a8117a0312e41daa0faa6a06b7 (patch) | |
tree | 9b6d5bd43e093e2df164b5f2374b7d09550221fa /science/py-scipy | |
parent | 409cd0b2569b231d918b3c0599115ceae5f1434e (diff) | |
download | ports-97806177ea8e82a8117a0312e41daa0faa6a06b7.tar.gz ports-97806177ea8e82a8117a0312e41daa0faa6a06b7.zip |
Notes
Diffstat (limited to 'science/py-scipy')
-rw-r--r-- | science/py-scipy/Makefile | 23 |
1 files changed, 3 insertions, 20 deletions
diff --git a/science/py-scipy/Makefile b/science/py-scipy/Makefile index bcb721212022..1f7b9156c5cd 100644 --- a/science/py-scipy/Makefile +++ b/science/py-scipy/Makefile @@ -17,7 +17,8 @@ COMMENT= Scientific tools for Python LICENSE= BSD3CLAUSE BUILD_DEPENDS= ${PYNUMPY} -RUN_DEPENDS= ${PYNUMPY} +RUN_DEPENDS= ${PYNUMPY} \ + swig:${PORTSDIR}/devel/swig13 USES= fortran python USE_PYTHON= distutils autoplist concurrent @@ -27,33 +28,15 @@ PYDISTUTILS_BUILDARGS+= --fcompiler=gnu95 LDFLAGS+= -shared -OPTIONS_DEFINE= ATLAS DOCS SUITESPARSE -OPTIONS_DEFAULT=SUITESPARSE -ATLAS_DESC= Use optimized blas library -SUITESPARSE_DESC= Use AMD and UMFPACK in SuiteSparse - -ATLAS_USES= blaslapack:atlas -ATLAS_USES_OFF= blaslapack:netlib -SUITESPARSE_LIB_DEPENDS= libumfpack.so:${PORTSDIR}/math/suitesparse -SUITESPARSE_BUILD_DEPENDS= swig:${PORTSDIR}/devel/swig13 +OPTIONS_DEFINE= DOCS PORTDOCS= scipy-ref-${PORTVERSION}.pdf .include <bsd.port.pre.mk> -.if ${PORT_OPTIONS:MATLAS} -.if !exists(${LOCALBASE}/lib/libalapack.a) -IGNORE= atlas needs to be built with WITH_STATIC for scipy to function properly -.endif -.endif - post-extract: @${CP} ${DISTDIR}/scipy-ref-${PORTVERSION}.pdf ${WRKDIR} -post-patch: - @${GREP} -lR "malloc\.h" ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} \ - -e "s@malloc\.h@stdlib.h@" - post-install: .if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${STAGEDIR}${DOCSDIR} |