aboutsummaryrefslogtreecommitdiff
path: root/print/py-fontbakery/Makefile
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2020-01-25 18:18:00 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2020-01-25 18:18:00 +0000
commit12f917488dd8f3875b131c56bd3155cd31d5d62b (patch)
treedcb2904e365acee04ab123cc63e981e8b396df43 /print/py-fontbakery/Makefile
parent76bfc9a9aa7f405a549f3705076a973877cb0d53 (diff)
downloadports-12f917488dd8f3875b131c56bd3155cd31d5d62b.tar.gz
ports-12f917488dd8f3875b131c56bd3155cd31d5d62b.zip
Notes
Diffstat (limited to 'print/py-fontbakery/Makefile')
-rw-r--r--print/py-fontbakery/Makefile39
1 files changed, 39 insertions, 0 deletions
diff --git a/print/py-fontbakery/Makefile b/print/py-fontbakery/Makefile
new file mode 100644
index 000000000000..8cd4277d1c56
--- /dev/null
+++ b/print/py-fontbakery/Makefile
@@ -0,0 +1,39 @@
+# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= fontbakery
+PORTVERSION= 0.7.17
+DISTVERSIONPREFIX= v
+CATEGORIES= print python
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Well designed Font QA tool
+
+LICENSE= APACHE20
+LICENSE_FILE= ${WRKSRC}/LICENSE.txt
+
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=0:devel/py-setuptools_scm@${PY_FLAVOR}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}beautifulsoup>=0:www/py-beautifulsoup@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}defcon>=0:x11-fonts/py-defcon@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}font-v>=0:print/py-font-v@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}fonttools>=3.34:print/py-fonttools@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}lxml>=0:devel/py-lxml@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}opentype-sanitizer>=7.1.9:x11-fonts/py-opentype-sanitizer@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}protobuf>=3.7.0:devel/py-protobuf@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}requests>=0:www/py-requests@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}ttfautohint-py>=0:print/py-ttfautohint-py@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}ufolint>=0:x11-fonts/py-ufolint@${PY_FLAVOR}
+
+USES= python:3.6+
+USE_PYTHON= autoplist distutils
+
+NO_ARCH= yes
+
+GH_ACCOUNT= googlefonts
+USE_GITHUB= yes
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|%%PORTVERSION%%|${PORTVERSION}|' ${WRKSRC}/setup.py
+
+.include <bsd.port.mk>