aboutsummaryrefslogtreecommitdiffstats
path: root/net/py-pypcap/Makefile
blob: 98290610b9702f4caa8e93a82cb732abf806b869 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Created by: George V. Neville-Neil
# $FreeBSD$

PORTNAME=   pypcap
PORTVERSION=    1.1
PORTREVISION=   5
CATEGORIES= net python
MASTER_SITES=   GOOGLE_CODE
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}

MAINTAINER= wxs@FreeBSD.org
COMMENT=    Simplified object-oriented Python extension module for libpcap

BROKEN=     Unfetchable (google code has gone away)

BUILD_DEPENDS=  pyrexc: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>