blob: df176bd56131f63a3440f0e975d6307fd4464874 (
plain) (
blame)
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
|
# 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:
${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} +
.include <bsd.port.mk>
|