aboutsummaryrefslogtreecommitdiff
path: root/x11-fonts/py-glyphsLib/Makefile
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2020-01-18 18:26:37 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2020-01-18 18:26:37 +0000
commite71fef3ce81db24de4a9e80719ff35494883b91a (patch)
tree9bd0b7aa5c5050c89068920fcd9d8bfaa1b3fe56 /x11-fonts/py-glyphsLib/Makefile
parentb7dc591c1704a8a35a1b37ad50b75490bb5a455f (diff)
downloadports-e71fef3ce81db24de4a9e80719ff35494883b91a.tar.gz
ports-e71fef3ce81db24de4a9e80719ff35494883b91a.zip
Notes
Diffstat (limited to 'x11-fonts/py-glyphsLib/Makefile')
-rw-r--r--x11-fonts/py-glyphsLib/Makefile14
1 files changed, 11 insertions, 3 deletions
diff --git a/x11-fonts/py-glyphsLib/Makefile b/x11-fonts/py-glyphsLib/Makefile
index a60fd3512e72..bad0ac90e83f 100644
--- a/x11-fonts/py-glyphsLib/Makefile
+++ b/x11-fonts/py-glyphsLib/Makefile
@@ -2,6 +2,7 @@
PORTNAME= glyphsLib
PORTVERSION= 3.1.4
+PORTREVISION= 1
CATEGORIES= x11-fonts python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -13,12 +14,19 @@ LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>0:devel/py-setuptools_scm@${PY_FLAVOR}
-RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}fonttools>=3.24.0:print/py-fonttools@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}defcon>=0.3.0:x11-fonts/py-defcon@${PY_FLAVOR}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}defcon>=0.3.0:x11-fonts/py-defcon@${PY_FLAVOR}
USES= python zip
USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_REL} < 3600
+RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}fonttools3>=3.24.0:print/py-fonttools3@${PY_FLAVOR}
+.else
+RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}fonttools>=3.24.0:print/py-fonttools@${PY_FLAVOR}
+.endif
+
+.include <bsd.port.post.mk>