mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-26 00:55:14 +00:00
5460b4ce50
- Stage support - Bump PORTREV
28 lines
575 B
Makefile
28 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>
|