xref: /mports/x11-fonts/py-cffsubr/Makefile
  • Home
  • History
  • Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1PORTNAME=	cffsubr
2PORTVERSION=	0.4.0
3PORTREVISION=	1
4CATEGORIES=	x11-fonts python
5MASTER_SITES=	PYPI
6PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
7
8MAINTAINER=	ports@MidnightBSD.org
9COMMENT=	Standalone CFF subroutinizer based on the AFDKO tx tool
10WWW=		https://github.com/adobe-type-tools/cffsubr
11
12LICENSE=	Apache-2.0
13LICENSE_FILE=	${WRKSRC}/LICENSE
14
15SKIP_FAKE_CHECK=	.*\/cffsubr/tx$
16
17BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
18		${PYTHON_PKGNAMEPREFIX}setuptools-scm>=0:devel/py-setuptools-scm@${PY_FLAVOR} \
19		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
20RUN_DEPENDS=	tx:x11-fonts/afdko \
21		${PYTHON_PKGNAMEPREFIX}afdko>=0:x11-fonts/py-afdko@${PY_FLAVOR} \
22		${PYTHON_PKGNAMEPREFIX}fonttools>=4.10.2:print/py-fonttools@${PY_FLAVOR}
23
24USES=		python
25USE_PYTHON=	autoplist concurrent pep517
26
27NO_ARCH=	yes
28PLIST_FILES=	${PYTHON_SITELIBDIR}/cffsubr/tx
29
30post-patch:
31# Clean up bundled libraries
32	@${RM} -r ${WRKSRC}/external/
33
34post-install:
35	cd ${FAKE_DESTDIR}${PYTHON_SITELIBDIR} && ${LN} -s ${LOCALBASE}/bin/tx cffsubr/tx
36
37.include <bsd.port.mk>
38

served by {OpenGrok

Last Index Update: Sun Mar 22 17:06:33 EDT 2026