From 8143b80ef0b1010e50320df9f10be95ec059b2b5 Mon Sep 17 00:00:00 2001 From: Li-Wen Hsu Date: Sun, 16 Dec 2018 18:39:19 +0000 Subject: [PATCH] Add x11-fonts/py-cu2qu, cubic-to-quadratic bezier curve conversion PR: 228027 Submitted by: Ting-Wei Lan --- x11-fonts/Makefile | 1 + x11-fonts/py-cu2qu/Makefile | 23 +++++++++++++++++++++++ x11-fonts/py-cu2qu/distinfo | 3 +++ x11-fonts/py-cu2qu/pkg-descr | 4 ++++ 4 files changed, 31 insertions(+) create mode 100644 x11-fonts/py-cu2qu/Makefile create mode 100644 x11-fonts/py-cu2qu/distinfo create mode 100644 x11-fonts/py-cu2qu/pkg-descr diff --git a/x11-fonts/Makefile b/x11-fonts/Makefile index d40716351b45..7525f8d2f67b 100644 --- a/x11-fonts/Makefile +++ b/x11-fonts/Makefile @@ -173,6 +173,7 @@ SUBDIR += py-bdflib SUBDIR += py-booleanOperations SUBDIR += py-compreffor + SUBDIR += py-cu2qu SUBDIR += py-defcon SUBDIR += py-fontMath SUBDIR += py-glyphsLib diff --git a/x11-fonts/py-cu2qu/Makefile b/x11-fonts/py-cu2qu/Makefile new file mode 100644 index 000000000000..c0e415ece6ac --- /dev/null +++ b/x11-fonts/py-cu2qu/Makefile @@ -0,0 +1,23 @@ +# $FreeBSD$ + +PORTNAME= cu2qu +PORTVERSION= 1.6.4 +CATEGORIES= x11-fonts python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= lantw44@gmail.com +COMMENT= Cubic-to-quadratic bezier curve conversion + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>0:devel/py-setuptools_scm@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}fonttools>=3.18.0:print/py-fonttools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}ufoLib>=2.1.1:x11-fonts/py-ufoLib@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}defcon>=0.4.0:x11-fonts/py-defcon@${PY_FLAVOR} + +USES= python zip +USE_PYTHON= autoplist concurrent distutils + +.include diff --git a/x11-fonts/py-cu2qu/distinfo b/x11-fonts/py-cu2qu/distinfo new file mode 100644 index 000000000000..d24512772a4c --- /dev/null +++ b/x11-fonts/py-cu2qu/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1540712507 +SHA256 (cu2qu-1.6.4.zip) = 8ffda9ab0dec7f6249a93432c274d62a72b9a0ee6787b8027929ced3d6585fb5 +SIZE (cu2qu-1.6.4.zip) = 217409 diff --git a/x11-fonts/py-cu2qu/pkg-descr b/x11-fonts/py-cu2qu/pkg-descr new file mode 100644 index 000000000000..d158f04e118f --- /dev/null +++ b/x11-fonts/py-cu2qu/pkg-descr @@ -0,0 +1,4 @@ +cu2qu provides functions which take in UFO objects (Defcon Fonts or Robofab +RFonts) and converts any cubic curves to quadratic. + +WWW: https://github.com/googlei18n/cu2qu