aboutsummaryrefslogtreecommitdiffstats
path: root/net/py-pcapy/Makefile
blob: 8a14f6a6ddf95a0546c5064ffd83f3fa9ca85bce (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:    pcapy
# Date created:             15th September 2005
# Whom:                 Marcin Jessa <yazzy@yazzy.org>
# $FreeBSD$

PORTNAME=   pcapy
PORTVERSION=    0.10.5
CATEGORIES= net python
MASTER_SITES=   http://oss.coresecurity.com/repo/ \
        http://www.yazzy.org/ports/pcapy/
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}

MAINTAINER= ports@FreeBSD.org
COMMENT=    Python extension module to capture packets on the network

USE_PYTHON= yes
USE_PYDISTUTILS=    yes

BROKEN=     checksum mismatch

DOCSDIR=    ${PREFIX}/share/doc/py-${PORTNAME}

PLIST_FILES=    %%PYTHON_SITELIBDIR%%/pcapy.so
PORTDOCS=   README LICENSE pcapy.html

.if !defined(NOPORTDOCS)
post-install:
    @${MKDIR} ${DOCSDIR}
    @${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
.endif

.include <bsd.port.mk>