freebsd-ports/net/py-pypcap/Makefile
Marcus von Appen 2f71940292 - Convert ports of net/ to new USES=python
Approved by:	portmgr (implicit)
2014-10-24 16:21:26 +00:00

25 lines
532 B
Makefile

# Created by: George V. Neville-Neil
# $FreeBSD$
PORTNAME= pypcap
PORTVERSION= 1.1
PORTREVISION= 5
CATEGORIES= net python
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= wxs@FreeBSD.org
COMMENT= Simplified object-oriented Python extension module for libpcap
BUILD_DEPENDS= pyrexc:${PORTSDIR}/devel/pyrex
USES= python
USE_PYTHON= distutils autoplist
post-patch:
@${RM} ${WRKDIR}/${PORTNAME}-${PORTVERSION}/pcap.c
pre-build:
(cd ${WRKSRC}; pyrexc pcap.pyx)
.include <bsd.port.mk>