aboutsummaryrefslogtreecommitdiffstats
path: root/x11-fonts/py-defcon
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2020-01-19 02:26:23 +0800
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2020-01-19 02:26:23 +0800
commit04970749f7849baff07319b0ab15f8f37198c076 (patch)
treef5c44b7d498d3884aa53bff144cd9855cf3c86a7 /x11-fonts/py-defcon
parentf7aa01ab7aa5bc073d6e2aeb3a330cb3d691d795 (diff)
downloadfreebsd-ports-gnome-04970749f7849baff07319b0ab15f8f37198c076.tar.gz
freebsd-ports-gnome-04970749f7849baff07319b0ab15f8f37198c076.tar.zst
freebsd-ports-gnome-04970749f7849baff07319b0ab15f8f37198c076.zip
Update RUN_DEPENDS for py-fonttools 4.2.4 update
- Bump PORTREVISION for dependency change
Diffstat (limited to 'x11-fonts/py-defcon')
-rw-r--r--x11-fonts/py-defcon/Makefile14
1 files changed, 10 insertions, 4 deletions
diff --git a/x11-fonts/py-defcon/Makefile b/x11-fonts/py-defcon/Makefile
index dce7ff01cabd..fcb73be08ff0 100644
--- a/x11-fonts/py-defcon/Makefile
+++ b/x11-fonts/py-defcon/Makefile
@@ -2,7 +2,7 @@
PORTNAME= defcon
PORTVERSION= 0.6.0
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= x11-fonts python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -13,12 +13,18 @@ COMMENT= Set of flexible objects for representing UFO data
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/License.txt
-RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}fonttools>=3.31.0:print/py-fonttools@${PY_FLAVOR}
-
USES= python zip
USE_PYTHON= autoplist distutils
USE_LOCALE= en_US.UTF-8
NO_ARCH= yes
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_REL} < 3600
+RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}fonttools3>=3.31.0:print/py-fonttools3@${PY_FLAVOR}
+.else
+RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}fonttools>=3.31.0:print/py-fonttools@${PY_FLAVOR}
+.endif
+
+.include <bsd.port.post.mk>