aboutsummaryrefslogtreecommitdiff
path: root/x11-fonts
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2020-01-18 18:26:13 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2020-01-18 18:26:13 +0000
commitce243101a8cb0ec57a1128f31e876e9d3f33c26b (patch)
tree6e1c590d05817f6e0c159c26f843fc99be2c0de5 /x11-fonts
parent67c9c40adea0c79d98cd195b47b73df5cbe859c0 (diff)
downloadports-ce243101a8cb0ec57a1128f31e876e9d3f33c26b.tar.gz
ports-ce243101a8cb0ec57a1128f31e876e9d3f33c26b.zip
Update RUN_DEPENDS for py-fonttools 4.2.4 update
- Bump PORTREVISION for dependency change
Notes
Notes: svn path=/head/; revision=523465
Diffstat (limited to 'x11-fonts')
-rw-r--r--x11-fonts/py-compreffor/Makefile14
1 files changed, 10 insertions, 4 deletions
diff --git a/x11-fonts/py-compreffor/Makefile b/x11-fonts/py-compreffor/Makefile
index f0fc9707da39..e294a596088c 100644
--- a/x11-fonts/py-compreffor/Makefile
+++ b/x11-fonts/py-compreffor/Makefile
@@ -2,7 +2,7 @@
PORTNAME= compreffor
PORTVERSION= 0.4.6
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= x11-fonts python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -13,9 +13,15 @@ COMMENT= CFF subroutinizer for fontTools
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
-RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}fonttools>=3.1:print/py-fonttools@${PY_FLAVOR}
-
USES= compiler:c++11-lang python zip
USE_PYTHON= autoplist concurrent distutils
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_REL} < 3600
+RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}fonttools3>=3.1:print/py-fonttools3@${PY_FLAVOR}
+.else
+RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}fonttools>=3.1:print/py-fonttools@${PY_FLAVOR}
+.endif
+
+.include <bsd.port.post.mk>