summaryrefslogtreecommitdiff
path: root/devel/py-xxhash/Makefile
blob: a8b4fb30ddda8bdae6ae247760902c0d1cd4f978 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26

PORTNAME=	xxhash
PORTVERSION=	2.0.0
CATEGORIES=	devel
MASTER_SITES=	CHEESESHOP
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}

MAINTAINER=	sunpoet@FreeBSD.org
COMMENT=	Python bindings for the xxHash library

LICENSE=	BSD2CLAUSE
LICENSE_FILE=	${WRKSRC}/LICENSE

BUILD_DEPENDS=	xxhash>=0.8.0: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:
	${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/xxhash/_xxhash*.so

.include <bsd.port.mk>