diff options
-rw-r--r-- | math/py-numpy/Makefile | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/math/py-numpy/Makefile b/math/py-numpy/Makefile index d007c596d43a..c74ea6aacd96 100644 --- a/math/py-numpy/Makefile +++ b/math/py-numpy/Makefile @@ -24,7 +24,7 @@ RUN_DEPENDS= nosetests:${PORTSDIR}/devel/py-nose USES= fortran python USE_PYTHON= concurrent distutils py3kplist -OPTIONS_DEFINE= ATLAS SUITESPARSE +OPTIONS_DEFINE= ATLAS SUITESPARSE DOCS OPTIONS_DEFAULT= SUITESPARSE ATLAS_DESC= Use optimized blas library SUITESPARSE_DESC= Use AMD and UMFPACK in SuiteSparse @@ -35,6 +35,11 @@ PYDISTUTILS_BUILDARGS+= --fcompiler=gnu95 PORTDOCS= * WRKSRC= ${WRKDIR}/${DISTNAME:S/r/rc/} +ATLAS_LIB_DEPENDS= libatlas.so:${PORTSDIR}/math/atlas +ATLAS_LIB_DEPENDS_OFF= libblas.so:${PORTSDIR}/math/blas \ + liblapack.so:${PORTSDIR}/math/lapack +SUITESPARSE_LIB_DEPENDS=libumfpack.so:${PORTSDIR}/math/suitesparse + .include <bsd.port.pre.mk> PLIST_SUB+= PYTHON_VER=${PYTHON_VER} @@ -42,17 +47,6 @@ PLIST_SUB+= PYTHON_VER=${PYTHON_VER} PLIST_FILES+= man/man1/f2py.1.gz .endif -.if ${PORT_OPTIONS:MATLAS} -LIB_DEPENDS+= libatlas.so:${PORTSDIR}/math/atlas -.else -LIB_DEPENDS+= liblapack.so:${PORTSDIR}/math/lapack \ - libblas.so:${PORTSDIR}/math/blas -.endif - -.if ${PORT_OPTIONS:MSUITESPARSE} -LIB_DEPENDS+= libumfpack.so:${PORTSDIR}/math/suitesparse -.endif - post-extract: @${CP} ${DISTDIR}/numpy-ref-${PORTVERSION}.pdf ${WRKDIR} @${CP} ${DISTDIR}/numpy-user-${PORTVERSION}.pdf ${WRKDIR} |