PORTNAME= shaperglot PORTVERSION= 1.2.2 DISTVERSIONPREFIX= v PORTREVISION= 1 CATEGORIES= x11-fonts python #MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} #DISTFILES= shaperglot-${PORTVERSION}${EXTRACT_SUFX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Test font files for OpenType language support WWW= https://github.com/googlefonts/shaperglot/tree/main/shaperglot-py \ https://github.com/googlefonts/shaperglot LICENSE= APACHE20 BUILD_DEPENDS= protoc:devel/protobuf \ ${PYTHON_PKGNAMEPREFIX}maturin>=1.9.1<2.0:devel/py-maturin@${PY_FLAVOR} USES= cargo python USE_PYTHON= autoplist concurrent pep517 CARGO_BUILD= no #CARGO_CARGOTOML=${WRKSRC}/shaperglot-py/Cargo.toml CARGO_INSTALL= no CARGO_TEST= no WRKSRC_SUBDIR= shaperglot-py USE_GITHUB= yes GH_ACCOUNT= googlefonts post-patch: @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' ${WRKSRC}/cargo-crates/google-fonts-languages-0.7.11/build.rs .include