PORTNAME= pypcap PORTVERSION= 1.3.0 PORTREVISION= 1 CATEGORIES= net python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Simplified object-oriented Python wrapper for libpcap WWW= https://github.com/pynetwork/pypcap LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} USES= python USE_PYTHON= autoplist concurrent cython pep517 # 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