aboutsummaryrefslogtreecommitdiffstats
path: root/x11-fonts
diff options
context:
space:
mode:
authorlwhsu <lwhsu@FreeBSD.org>2018-12-17 02:25:38 +0800
committerlwhsu <lwhsu@FreeBSD.org>2018-12-17 02:25:38 +0800
commit6c9fb860bc647093e2d3996526428c2c3f4d994f (patch)
treef4e92bb7fdbeb1bd05c9ca6893d2635720d86dc3 /x11-fonts
parent6ecef1950ebbf9165cf85eba6f126805d59728ec (diff)
downloadfreebsd-ports-gnome-6c9fb860bc647093e2d3996526428c2c3f4d994f.tar.gz
freebsd-ports-gnome-6c9fb860bc647093e2d3996526428c2c3f4d994f.tar.zst
freebsd-ports-gnome-6c9fb860bc647093e2d3996526428c2c3f4d994f.zip
Add x11-fonts/py-ufoLib, Low-level Unified Font Object (UFO) reader and writer
PR: 228027 Submitted by: Ting-Wei Lan <lantw44@gmail.com>
Diffstat (limited to 'x11-fonts')
-rw-r--r--x11-fonts/Makefile1
-rw-r--r--x11-fonts/py-ufoLib/Makefile29
-rw-r--r--x11-fonts/py-ufoLib/distinfo3
-rw-r--r--x11-fonts/py-ufoLib/pkg-descr4
4 files changed, 37 insertions, 0 deletions
diff --git a/x11-fonts/Makefile b/x11-fonts/Makefile
index 1a0324ddfcd3..f01a06bdd998 100644
--- a/x11-fonts/Makefile
+++ b/x11-fonts/Makefile
@@ -171,6 +171,7 @@
SUBDIR += psftools
SUBDIR += py-QtAwesome
SUBDIR += py-bdflib
+ SUBDIR += py-ufoLib
SUBDIR += raleway
SUBDIR += roboto-fonts-ttf
SUBDIR += sgifonts
diff --git a/x11-fonts/py-ufoLib/Makefile b/x11-fonts/py-ufoLib/Makefile
new file mode 100644
index 000000000000..8a66071f097e
--- /dev/null
+++ b/x11-fonts/py-ufoLib/Makefile
@@ -0,0 +1,29 @@
+# $FreeBSD$
+
+PORTNAME= ufoLib
+PORTVERSION= 2.3.2
+CATEGORIES= x11-fonts python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= lantw44@gmail.com
+COMMENT= Low-level Unified Font Object (UFO) reader and writer
+
+LICENSE= BSD3CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE.txt
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}fonttools>=3.1.2:print/py-fonttools@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}lxml>=4.0:devel/py-lxml@${PY_FLAVOR}
+
+USES= python zip
+USE_PYTHON= autoplist distutils
+
+NO_ARCH= yes
+
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_REL} < 3400
+RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}singledispatch>=3.4.0.3:devel/py-singledispatch@${PY_FLAVOR}
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/x11-fonts/py-ufoLib/distinfo b/x11-fonts/py-ufoLib/distinfo
new file mode 100644
index 000000000000..15800efca29a
--- /dev/null
+++ b/x11-fonts/py-ufoLib/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1540712987
+SHA256 (ufoLib-2.3.2.zip) = 2bc337a78b104e554e3e75c7c99fa1c8b305e2f82022743a34d5c77e2bca29e5
+SIZE (ufoLib-2.3.2.zip) = 125009
diff --git a/x11-fonts/py-ufoLib/pkg-descr b/x11-fonts/py-ufoLib/pkg-descr
new file mode 100644
index 000000000000..f69076e2ec75
--- /dev/null
+++ b/x11-fonts/py-ufoLib/pkg-descr
@@ -0,0 +1,4 @@
+Unified Font Object (UFO) is a cross-platform, human-readable, future-proof
+format for storing font data. ufoLib is a low-level reader and writer for it.
+
+WWW: http://unifiedfontobject.org/