2018-01-15 22:17:34 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= zstandard
|
2018-12-01 16:39:14 +00:00
|
|
|
DISTVERSION= 0.10.2
|
2018-01-15 22:17:34 +00:00
|
|
|
CATEGORIES= archivers python
|
|
|
|
MASTER_SITES= CHEESESHOP
|
|
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
|
|
|
|
MAINTAINER= yuri@FreeBSD.org
|
|
|
|
COMMENT= Zstandard bindings for Python, a full-featured version
|
|
|
|
|
|
|
|
LICENSE= BSD2CLAUSE
|
|
|
|
|
2018-09-10 02:06:12 +00:00
|
|
|
BROKEN_powerpc64= fails to build: cffi.error.CDefError: parse error
|
|
|
|
|
2018-06-20 17:05:41 +00:00
|
|
|
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>=1.8.0:devel/py-cffi@${PY_FLAVOR}
|
2018-10-19 05:21:06 +00:00
|
|
|
LIB_DEPENDS= libzstd.so:archivers/zstd
|
2018-01-15 22:17:34 +00:00
|
|
|
|
2018-04-09 09:31:16 +00:00
|
|
|
USES= localbase python
|
2018-01-15 22:17:34 +00:00
|
|
|
USE_PYTHON= distutils autoplist
|
2018-10-19 05:21:06 +00:00
|
|
|
PYDISTUTILS_BUILDARGS= --system-zstd
|
2018-01-15 22:17:34 +00:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
@cd ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} && ${STRIP_CMD} zstd.so _zstd_cffi.so
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|