diff options
author | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2020-01-18 18:26:27 +0000 |
---|---|---|
committer | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2020-01-18 18:26:27 +0000 |
commit | 1ef143e2273c295159e94818593942d067bdf9d6 (patch) | |
tree | ec22b47317fc388cc0a665e8b37535ae9471d47f /x11-fonts/py-fontMath/Makefile | |
parent | 04970749f7849baff07319b0ab15f8f37198c076 (diff) | |
download | ports-1ef143e2273c295159e94818593942d067bdf9d6.tar.gz ports-1ef143e2273c295159e94818593942d067bdf9d6.zip |
Notes
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> |