1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00

print/py-fonttools: Update

- Build and install extra modules
  - Add USE_PYTHON=cython
  - Remove NO_ARCH
  - Strip shared library
- Update manpage location (003a571d1d, r523104)
- Bump PORTREVISION for dependency and package change
This commit is contained in:
Po-Chuan Hsieh 2023-05-28 07:24:05 +08:00
parent fe487292fe
commit eb43637822
No known key found for this signature in database
GPG Key ID: 9A4BD10F002DD04B

View File

@ -1,5 +1,6 @@
PORTNAME= fonttools
PORTVERSION= 4.39.4
PORTREVISION= 1
CATEGORIES= print python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@ -14,10 +15,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}ufolib2>=0:print/py-ufolib2@${PY_FLAVOR}
USES= python:3.7+ zip
USE_PYTHON= autoplist concurrent distutils
MAKE_ENV= FONTTOOLS_MANPATH="man"
NO_ARCH= yes
USE_PYTHON= autoplist concurrent cython distutils
OPTIONS_DEFINE= GRAPHITE INTERPOLATABLE LXML PLOT REPACKER SYMFONT UFO UNICODE WOFF
OPTIONS_DEFAULT=LXML UFO UNICODE
@ -47,4 +45,7 @@ WOFF_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}brotli>=1.0.1:archivers/py-brotli@${PY_
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}unicodedata2>=15.0.0:devel/py-unicodedata2@${PY_FLAVOR}
.endif
post-install:
${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} +
.include <bsd.port.post.mk>