aboutsummaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2019-10-01 17:05:27 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2019-10-01 17:05:27 +0000
commit7f3e1e211d80792c77108086bc2cd980d9e67179 (patch)
tree1fa1ec02902071b64ca1c5a68aa48495af768843 /print
parent0944b12ae4bf18c4f732891082a50395e97a4957 (diff)
downloadports-7f3e1e211d80792c77108086bc2cd980d9e67179.tar.gz
ports-7f3e1e211d80792c77108086bc2cd980d9e67179.zip
Notes
Diffstat (limited to 'print')
-rw-r--r--print/Makefile1
-rw-r--r--print/py-fonttools-woff/Makefile19
-rw-r--r--print/py-fonttools-woff/pkg-descr6
3 files changed, 26 insertions, 0 deletions
diff --git a/print/Makefile b/print/Makefile
index 5e224bf7dc20..260a4fec174f 100644
--- a/print/Makefile
+++ b/print/Makefile
@@ -190,6 +190,7 @@
SUBDIR += py-fonttools-symfont
SUBDIR += py-fonttools-ufo
SUBDIR += py-fonttools-unicode
+ SUBDIR += py-fonttools-woff
SUBDIR += py-fpdf
SUBDIR += py-pdf
SUBDIR += py-pdf2
diff --git a/print/py-fonttools-woff/Makefile b/print/py-fonttools-woff/Makefile
new file mode 100644
index 000000000000..be646992ffcb
--- /dev/null
+++ b/print/py-fonttools-woff/Makefile
@@ -0,0 +1,19 @@
+# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= fonttools
+PORTVERSION= 3.44.0
+CATEGORIES= print python
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+PKGNAMESUFFIX= -woff
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Dependencies for woff functionality of FontTools
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}brotli>=1.0.1:archivers/py-brotli@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}zopfli>=0.1.4:archivers/py-zopfli@${PY_FLAVOR}
+
+USES= metaport python:env
+USE_PYTHON= flavors
+
+.include <bsd.port.mk>
diff --git a/print/py-fonttools-woff/pkg-descr b/print/py-fonttools-woff/pkg-descr
new file mode 100644
index 000000000000..8b8571b7bca3
--- /dev/null
+++ b/print/py-fonttools-woff/pkg-descr
@@ -0,0 +1,6 @@
+This port is the extra dependencies for woff functionality of FontTools.
+
+Add both print/py-fonttools and print/py-fonttools-woff to RUN_DEPENDS if you
+need "fonttools[woff]".
+
+WWW: https://github.com/fonttools/fonttools