summaryrefslogtreecommitdiff
path: root/math/py-matplotlib/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'math/py-matplotlib/Makefile')
-rw-r--r--math/py-matplotlib/Makefile11
1 files changed, 6 insertions, 5 deletions
diff --git a/math/py-matplotlib/Makefile b/math/py-matplotlib/Makefile
index 67361a802cb9..7e8e554a3ad0 100644
--- a/math/py-matplotlib/Makefile
+++ b/math/py-matplotlib/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= matplotlib
-PORTVERSION= 3.3.1
+PORTVERSION= 3.3.3
CATEGORIES= math python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -38,26 +38,27 @@ USE_PYTHON= distutils
LDFLAGS+= -fuse-ld=lld
+PLIST_SUB= VER=${PORTVERSION}
+PORTEXAMPLES= *
+
OPTIONS_DEFINE= EXAMPLES \
QT5AGGBACKEND TKAGGBACKEND
OPTIONS_DEFAULT= TKAGGBACKEND
OPTIONS_SUB= yes
QT5AGGBACKEND_DESC= Qt5Agg backend support
+TKAGGBACKEND_DESC= TKAgg backend support
+
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= display tk:run
TKAGGBACKEND_VARS= TKAGG_BACKEND=True
TKAGGBACKEND_VARS_OFF= TKAGG_BACKEND=False
-PLIST_SUB= VER=${PORTVERSION}
-PORTEXAMPLES= *
-
post-extract:
@${FIND} ${WRKSRC} -name '*.py' | ${XARGS} ${CHMOD} -x