aboutsummaryrefslogtreecommitdiffstats
path: root/net/py-pcap/Makefile
blob: 091cf8fa1925792535826c41a356eafbead1ff07 (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
31
32
# New ports collection makefile for:    py-pcap
# Date created:     24 Nov 2001
# Whom:         Hye-Shik Chang
#
# $FreeBSD$
#

PORTNAME=   pcap
PORTVERSION=    0.6.4
CATEGORIES= net python
MASTER_SITES=   SF/pylib${PORTNAME}/pylib${PORTNAME}/${PORTVERSION}
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}
DISTNAME=   pylib${PORTNAME}-${PORTVERSION}

MAINTAINER= ports@FreeBSD.org
COMMENT=    Python interface to LBL Packet Capture library (libpcap)

LICENSE=    BSD
LICENSE_FILE=   ${WRKSRC}/COPYING

BUILD_DEPENDS=  swig:${PORTSDIR}/devel/swig13

USE_PYTHON= yes
USE_PYDISTUTILS=    yes
PYDISTUTILS_PKGNAME=    pylib${PORTNAME}

PLIST_FILES=    %%PYTHON_SITELIBDIR%%/_pcapmodule.so \
        %%PYTHON_SITELIBDIR%%/pcap.py \
        %%PYTHON_SITELIBDIR%%/pcap.pyc \
        %%PYTHON_SITELIBDIR%%/pcap.pyo

.include <bsd.port.mk>