aboutsummaryrefslogtreecommitdiffstats
path: root/net/py-pcap/Makefile
blob: 5619b559fbf4341af39b411a7c03186783dd5e4c (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
# Created by: 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=    BSD3CLAUSE
LICENSE_FILE=   ${WRKSRC}/COPYING

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

USES=       python
USE_PYTHON= distutils autoplist

post-install:
    ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/_pcapmodule.so

.include <bsd.port.mk>