26 lines
636 B
Makefile
26 lines
636 B
Makefile
PORTNAME= xxhash
|
|
PORTVERSION= 3.2.0
|
|
CATEGORIES= devel python
|
|
MASTER_SITES= PYPI
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= sunpoet@FreeBSD.org
|
|
COMMENT= Python bindings for the xxHash library
|
|
WWW= https://github.com/ifduyue/python-xxhash
|
|
|
|
LICENSE= BSD2CLAUSE
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
BUILD_DEPENDS= xxhash>=0.8.1:devel/xxhash
|
|
LIB_DEPENDS= libxxhash.so:devel/xxhash
|
|
|
|
USES= localbase python:3.6+
|
|
USE_PYTHON= autoplist concurrent distutils
|
|
|
|
CONFIGURE_ENV= XXHASH_LINK_SO=yes
|
|
MAKE_ENV= XXHASH_LINK_SO=yes
|
|
|
|
post-install:
|
|
${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} +
|
|
|
|
.include <bsd.port.mk>
|