diff options
Diffstat (limited to 'x11-fonts/py-fontMath/Makefile')
-rw-r--r-- | x11-fonts/py-fontMath/Makefile | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/x11-fonts/py-fontMath/Makefile b/x11-fonts/py-fontMath/Makefile index 6f3b6e8964c0..f7db5d8682a9 100644 --- a/x11-fonts/py-fontMath/Makefile +++ b/x11-fonts/py-fontMath/Makefile @@ -2,6 +2,7 @@ PORTNAME= fontMath PORTVERSION= 0.4.9 +PORTREVISION= 1 CATEGORIES= x11-fonts python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -12,11 +13,17 @@ COMMENT= Set of objects for performing math operations on font data LICENSE= MIT LICENSE_FILE= ${WRKSRC}/License.txt -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}fonttools>=3.32.0:print/py-fonttools@${PY_FLAVOR} - USES= python zip USE_PYTHON= autoplist distutils NO_ARCH= yes -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${PYTHON_REL} < 3600 +RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}fonttools3>=3.32.0:print/py-fonttools3@${PY_FLAVOR} +.else +RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}fonttools>=3.32.0:print/py-fonttools@${PY_FLAVOR} +.endif + +.include <bsd.port.post.mk> |