freebsd-ports/net/py-pypcap/Makefile
Martin Wilke 5460b4ce50 - Convert to PYDISTUTILS_AUTOPLIST
- Stage support
- Bump PORTREV
2014-01-31 07:55:11 +00:00

27 lines
575 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
USE_PYTHON= yes
USE_PYDISTUTILS=yes
PYDISTUTILS_PKGNAME= pcap
PYDISTUTILS_AUTOPLIST= yes
post-patch:
@${RM} ${WRKDIR}/${PORTNAME}-${PORTVERSION}/pcap.c
pre-build:
(cd ${WRKSRC}; pyrexc pcap.pyx)
.include <bsd.port.mk>