aboutsummaryrefslogtreecommitdiffstats
path: root/net/py-pcs/Makefile
blob: 558b0fd28128681d99523f69583d7d0fbe40e022 (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
33
34
35
36
37
38
39
40
41
42
43
# Ports collection Makefile for:   pcs
# Date created:        15 July 2006
# Whom:                gnn
#
# $FreeBSD$
#

PORTNAME=   pcs
PORTVERSION=    0.5
CATEGORIES= net python
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= pcs
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}

MAINTAINER= gnn@FreeBSD.org
COMMENT=    Protocol Construction Set

BUILD_DEPENDS=  pyrex>=0.9.6.2:${PORTSDIR}/devel/pyrex

USE_PYTHON= yes
USE_PYDISTUTILS=    yes
USE_PYTHON_PREFIX=  yes

.include <bsd.port.pre.mk>

.if ${OSVERSION} >= 800074
BROKEN=     does not build
.endif

post-install:
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
.for f in pcs.pdf
    ${INSTALL_DATA} ${WRKSRC}/docs/${f} ${DOCSDIR}
.endfor
    @${MKDIR} ${EXAMPLESDIR}
.for f in arpwhohas.py ddos_analyze.py dns_query.py http_get.py \
        pcap_info.py pcap_slice.py ping.py snarf.py udp_echo.py
    ${INSTALL_DATA} ${WRKSRC}/scripts/${f} ${EXAMPLESDIR}
.endfor
.endif

.include <bsd.port.post.mk>