diff options
author | sunpoet <sunpoet@FreeBSD.org> | 2014-09-05 00:25:39 +0800 |
---|---|---|
committer | sunpoet <sunpoet@FreeBSD.org> | 2014-09-05 00:25:39 +0800 |
commit | 8b69250a8f9566b05441634050114340092b9bf5 (patch) | |
tree | 5966f2609211d655bd746c07649398865fa4d908 | |
parent | 530ca7401aef73439657b1bade7267dbe280695a (diff) | |
download | freebsd-ports-gnome-8b69250a8f9566b05441634050114340092b9bf5.tar.gz freebsd-ports-gnome-8b69250a8f9566b05441634050114340092b9bf5.tar.zst freebsd-ports-gnome-8b69250a8f9566b05441634050114340092b9bf5.zip |
- Add DOCS to OPTIONS_DEFINE
- Convert to new options helper
-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} |