mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-15 03:14:23 +00:00
27 lines
591 B
Makefile
27 lines
591 B
Makefile
# Created by: George V. Neville-Neil
|
|
|
|
PORTNAME= pypcap
|
|
DISTVERSION= 1.2.3
|
|
CATEGORIES= net python
|
|
MASTER_SITES= CHEESESHOP
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= sunpoet@FreeBSD.org
|
|
COMMENT= Simplified object-oriented Python wrapper for libpcap
|
|
|
|
LICENSE= BSD3CLAUSE
|
|
|
|
USES= python:3.6+
|
|
USE_PYTHON= autoplist concurrent cython distutils
|
|
|
|
# PR 239725: workaround to avoid using /usr/lib32 over /usr/lib
|
|
LDFLAGS+= -L/usr/lib
|
|
|
|
pre-configure:
|
|
cd ${WRKSRC} && cython-${PYTHON_VER} pcap.pyx
|
|
|
|
post-install:
|
|
${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/pcap*.so
|
|
|
|
.include <bsd.port.mk>
|