aboutsummaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2019-10-01 17:05:22 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2019-10-01 17:05:22 +0000
commit0944b12ae4bf18c4f732891082a50395e97a4957 (patch)
treea998fbfbc5374dde9a167c20a0327a86aa88f48c /print
parent063ddcd687d9ffa97bd511f76a4bdb663ffcd81a (diff)
downloadports-0944b12ae4bf18c4f732891082a50395e97a4957.tar.gz
ports-0944b12ae4bf18c4f732891082a50395e97a4957.zip
Notes
Diffstat (limited to 'print')
-rw-r--r--print/Makefile1
-rw-r--r--print/py-fonttools-unicode/Makefile22
-rw-r--r--print/py-fonttools-unicode/pkg-descr6
3 files changed, 29 insertions, 0 deletions
diff --git a/print/Makefile b/print/Makefile
index 4ae638c11883..5e224bf7dc20 100644
--- a/print/Makefile
+++ b/print/Makefile
@@ -189,6 +189,7 @@
SUBDIR += py-fonttools-plot
SUBDIR += py-fonttools-symfont
SUBDIR += py-fonttools-ufo
+ SUBDIR += py-fonttools-unicode
SUBDIR += py-fpdf
SUBDIR += py-pdf
SUBDIR += py-pdf2
diff --git a/print/py-fonttools-unicode/Makefile b/print/py-fonttools-unicode/Makefile
new file mode 100644
index 000000000000..ba51cead00d4
--- /dev/null
+++ b/print/py-fonttools-unicode/Makefile
@@ -0,0 +1,22 @@
+# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= fonttools
+PORTVERSION= 3.44.0
+CATEGORIES= print python
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+PKGNAMESUFFIX= -unicode
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Dependencies for unicode functionality of FontTools
+
+USES= metaport python:env
+USE_PYTHON= flavors
+
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_REL} < 3800
+RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}unicodedata2>=12.0.0:devel/py-unicodedata2@${PY_FLAVOR}
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/print/py-fonttools-unicode/pkg-descr b/print/py-fonttools-unicode/pkg-descr
new file mode 100644
index 000000000000..89514a069cf3
--- /dev/null
+++ b/print/py-fonttools-unicode/pkg-descr
@@ -0,0 +1,6 @@
+This port is the extra dependencies for unicode functionality of FontTools.
+
+Add both print/py-fonttools and print/py-fonttools-unicode to RUN_DEPENDS if you
+need "fonttools[unicode]".
+
+WWW: https://github.com/fonttools/fonttools