aboutsummaryrefslogtreecommitdiffstats
path: root/science
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2006-12-01 15:39:02 +0800
committerpav <pav@FreeBSD.org>2006-12-01 15:39:02 +0800
commit92d21b3194c49cedf08339e7514171807a9c6196 (patch)
tree9c146b3b2fdea9918389f3184052481e51ccf2f9 /science
parent977deb3eb313758a6e81aa2d1d05565d53d51455 (diff)
downloadfreebsd-ports-gnome-92d21b3194c49cedf08339e7514171807a9c6196.tar.gz
freebsd-ports-gnome-92d21b3194c49cedf08339e7514171807a9c6196.tar.zst
freebsd-ports-gnome-92d21b3194c49cedf08339e7514171807a9c6196.zip
- Use features of bsd.wx.mk, especially USE_WX
PR: ports/101613 Submitted by: alepulver
Diffstat (limited to 'science')
-rw-r--r--science/py-scipy/Makefile9
1 files changed, 2 insertions, 7 deletions
diff --git a/science/py-scipy/Makefile b/science/py-scipy/Makefile
index fd5119e4b49a..2f405addd7a4 100644
--- a/science/py-scipy/Makefile
+++ b/science/py-scipy/Makefile
@@ -19,19 +19,14 @@ COMMENT= Scientific tools for Python
BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/numpy/core/numeric.py:${PORTSDIR}/math/py-numpy \
${LOCALBASE}/lib/libdjbfft.a:${PORTSDIR}/math/djbfft
LIB_DEPENDS= fftw.2:${PORTSDIR}/math/fftw
-.if exists(${PYTHON_SITELIBDIR}/wx.pth)
-BUILD_DEPENDS+= ${PYTHON_SITELIBDIR}/wx.pth:${PORTSDIR}/x11-toolkits/py-wxPython26
-.elif exists(${PYTHON_SITELIBDIR}/wx/__init__.py)
-BUILD_DEPENDS+= ${PYTHON_SITELIBDIR}/wx/__init__.py:${PORTSDIR}/x11-toolkits/py-wxPython24
-.else
-BUILD_DEPENDS+= ${PYTHON_SITELIBDIR}/wx.pth:${PORTSDIR}/x11-toolkits/py-wxPython26
-.endif
LATEST_LINK= py-${PORTNAME}
OPTIONSFILE= ${PORT_DBDIR}/py-numpy/options
USE_PYTHON= 2.3+
USE_PYDISTUTILS= yes
+USE_WX= 2.4-2.6
+WX_COMPS= python:build python:run
OPTIONS= ATLAS "Use optimized blas library" OFF
post-patch: