aboutsummaryrefslogtreecommitdiff
path: root/math/py-matplotlib/Makefile
diff options
context:
space:
mode:
authorAntoine Brodin <antoine@FreeBSD.org>2020-02-19 13:03:59 +0000
committerAntoine Brodin <antoine@FreeBSD.org>2020-02-19 13:03:59 +0000
commit8eb5d593dad0ceb8572e52df8398a04231a180ce (patch)
tree185b7d7d88170c08e79843e048212262eeb81230 /math/py-matplotlib/Makefile
parentfdb5d0917b03594e0852267560cf6eb8ae479343 (diff)
downloadports-8eb5d593dad0ceb8572e52df8398a04231a180ce.tar.gz
ports-8eb5d593dad0ceb8572e52df8398a04231a180ce.zip
Notes
Diffstat (limited to 'math/py-matplotlib/Makefile')
-rw-r--r--math/py-matplotlib/Makefile15
1 files changed, 5 insertions, 10 deletions
diff --git a/math/py-matplotlib/Makefile b/math/py-matplotlib/Makefile
index 2e2c50e032ae..30b978fa2bc3 100644
--- a/math/py-matplotlib/Makefile
+++ b/math/py-matplotlib/Makefile
@@ -44,23 +44,26 @@ OPTIONS_EXCLUDE= GTKBACKEND GTKAGGBACKEND WXAGGBACKEND
GTKBACKEND_DESC= GTK backend support
GTKBACKEND_VARS= GTK_BACKEND=True
GTKBACKEND_VARS_OFF= GTK_BACKEND=False
+GTKBACKEND_USES= display
GTKBACKEND_USE= GNOME=gtk20,pygtk2,cairo,gdkpixbuf2
GTKAGGBACKEND_DESC= GTKAgg backend support
+GTKAGGBACKEND_USES= display
GTKAGGBACKEND_USE= GNOME=gtk20,pygtk2,cairo,gdkpixbuf2
GTKAGGBACKEND_VARS= GTKAGG_BACKEND=True
GTKAGGBACKEND_VARS_OFF= GTKAGG_BACKEND=False
QT5AGGBACKEND_DESC= Qt5Agg backend support
-QT5AGGBACKEND_USES= pyqt:5
+QT5AGGBACKEND_USES= display pyqt:5
QT5AGGBACKEND_USE= PYQT=sip,widgets
QT5AGGBACKEND_VARS= QT5AGG_BACKEND=True
QT5AGGBACKEND_VARS_OFF= QT5AGG_BACKEND=False
TKAGGBACKEND_DESC= TKAgg backend support
TKAGGBACKEND_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tkinter>0:x11-toolkits/py-tkinter@${PY_FLAVOR}
TKAGGBACKEND_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tkinter>0:x11-toolkits/py-tkinter@${PY_FLAVOR}
-TKAGGBACKEND_USES= tk:run
+TKAGGBACKEND_USES= display tk:run
TKAGGBACKEND_VARS= TKAGG_BACKEND=True
TKAGGBACKEND_VARS_OFF= TKAGG_BACKEND=False
WXAGGBACKEND_DESC= WXAgg backend support
+WXAGGBACKEND_USES= display
WXAGGBACKEND_USE= WX=2.8+
WXAGGBACKEND_CONFIGURE_ENV= WX_CONFIG="${WX_CONFIG}"
WXAGGBACKEND_VARS= WXAGG_BACKEND=True WX_COMPS=python:lib
@@ -68,14 +71,6 @@ WXAGGBACKEND_VARS_OFF= WXAGG_BACKEND=False
PORTEXAMPLES= *
-.if defined(PACKAGE_BUILDING)
-GTKBACKEND_BUILD_DEPENDS= Xvfb:x11-servers/xorg-vfbserver
-GTKAGGBACKEND_BUILD_DEPENDS= Xvfb:x11-servers/xorg-vfbserver
-QT5AGGBACKEND_BUILD_DEPENDS+= Xvfb:x11-servers/xorg-vfbserver
-TKAGGBACKEND_BUILD_DEPENDS+= Xvfb:x11-servers/xorg-vfbserver
-WXAGGBACKEND_BUILD_DEPENDS= Xvfb:x11-servers/xorg-vfbserver
-.endif
-
post-extract:
@${FIND} ${WRKSRC} -name '*.py' | ${XARGS} ${CHMOD} -x