aboutsummaryrefslogblamecommitdiff
path: root/devel/py-google-crc32c0/Makefile
blob: e3374d507059a7d56b8188fed06a811cc05a6c8a (plain) (tree)
1
                                                  
















                                                                             
                                     







                                                                            
# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>

PORTNAME=	google-crc32c
PORTVERSION=	0.1.0
CATEGORIES=	devel python
MASTER_SITES=	CHEESESHOP
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
PKGNAMESUFFIX=	0

MAINTAINER=	sunpoet@FreeBSD.org
COMMENT=	Wrapper of the C library Google CRC32C

LICENSE=	APACHE20

BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}cffi>=1.0.0:devel/py-cffi@${PY_FLAVOR}
LIB_DEPENDS=	libcrc32c.so:devel/crc32c
RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}cffi>=1.0.0:devel/py-cffi@${PY_FLAVOR}

USES=		localbase python:3.6+
USE_PYTHON=	autoplist concurrent distutils

PORTSCOUT=	limit:^0\.

post-install:
	${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/crc32c/_crc32c_cffi*.so

.include <bsd.port.mk>