1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-05 01:55:52 +00:00
freebsd-ports/net/py-pcs/Makefile
Tom McLaughlin 19be9b0ea4 Update to 0.5
- Now includes its own pypcap fork as the pcs.pcap module

Submitted by:	Li-Wen Hsu
Approved by:	gnn (maintainer)
2007-03-24 05:48:03 +00:00

40 lines
862 B
Makefile

# 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= pyrexc:${PORTSDIR}/devel/pyrex
USE_PYTHON= yes
USE_PYDISTUTILS= yes
USE_PYTHON_PREFIX= yes
.include <bsd.port.pre.mk>
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>