1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-25 00:51:21 +00:00
freebsd-ports/x11-fonts/py-cffsubr/Makefile
Po-Chuan Hsieh 4fdef02afc
x11-fonts/py-cffsubr: Update to 0.3.0
- Remove PY_SETUPTOOLS: py-setuptools should be used rather than PY_SETUPTOOLS

Changes:	https://github.com/adobe-type-tools/cffsubr/releases
2024-03-23 22:49:39 +08:00

35 lines
1.0 KiB
Makefile

PORTNAME= cffsubr
PORTVERSION= 0.3.0
CATEGORIES= x11-fonts python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Standalone CFF subroutinizer based on the AFDKO tx tool
WWW= https://github.com/adobe-type-tools/cffsubr
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}setuptools-scm>=0:devel/py-setuptools-scm@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
RUN_DEPENDS= tx:x11-fonts/afdko \
${PYTHON_PKGNAMEPREFIX}afdko>=0:x11-fonts/py-afdko@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}fonttools>=4.10.2:print/py-fonttools@${PY_FLAVOR}
USES= python
USE_PYTHON= autoplist concurrent pep517
NO_ARCH= yes
PLIST_FILES= ${PYTHON_SITELIBDIR}/cffsubr/tx
post-patch:
# Clean up bundled libraries
@${RM} -r ${WRKSRC}/external/
post-install:
${LN} -s ${LOCALBASE}/bin/tx ${STAGEDIR}${PYTHON_SITELIBDIR}/cffsubr/tx
.include <bsd.port.mk>