freebsd-ports/net/py-pypcap/Makefile

24 lines
500 B
Makefile

# Created by: George V. Neville-Neil
# $FreeBSD$
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
USE_PYTHON= autoplist cython distutils
pre-configure:
cd ${WRKSRC} && cython-${PYTHON_VER} pcap.pyx
post-install:
${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/pcap.so
.include <bsd.port.mk>