aboutsummaryrefslogtreecommitdiffstats
path: root/net/py-pypcap/Makefile
blob: 79d4ec7d209c898bfa9d3a06b6c8b8fe160d9437 (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
28
29
30
# New ports collection makefile for:    py-pypcap
# Date created:     15 Jul 2006
# Whom:         George V. Neville-Neil
#
# $FreeBSD$
#

PORTNAME=   pypcap
PORTVERSION=    1.1
PORTREVISION=   3
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_PYTHON_PREFIX=  yes
INSTALLS_EGGINFO=   yes
PYDISTUTILS_PKGNAME=    pcap

PLIST_FILES=    %%PYTHON_SITELIBDIR%%/pcap.so

post-patch:
    ${RM} ${WRKDIR}/${PORTNAME}-${PORTVERSION}/pcap.c

.include <bsd.port.mk>