26 lines
640 B
Makefile
26 lines
640 B
Makefile
PORTNAME= cramjam
|
|
PORTVERSION= 2.7.0
|
|
PORTREVISION= 4
|
|
CATEGORIES= archivers python
|
|
MASTER_SITES= PYPI
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
|
|
|
|
MAINTAINER= sunpoet@FreeBSD.org
|
|
COMMENT= Thin Python bindings to de/compression algorithms in Rust
|
|
WWW= https://github.com/milesgranger/pyrus-cramjam
|
|
|
|
LICENSE= MIT
|
|
|
|
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}maturin>=0.14:devel/py-maturin@${PY_FLAVOR}
|
|
|
|
USES= cargo python
|
|
USE_PYTHON= autoplist concurrent pep517
|
|
|
|
CARGO_BUILD= no
|
|
CARGO_INSTALL= no
|
|
|
|
post-install:
|
|
${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} +
|
|
|
|
.include <bsd.port.mk>
|