1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-03 01:23:49 +00:00
freebsd-ports/net/py-pcs/Makefile
Mark Linimon 78bf81ac03 Work around the bug introduced in a previous version of pyrex, to fix
build on the cluster.

Approved by:	portmgr (self)
2007-11-12 03:29:01 +00:00

40 lines
870 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= pyrex>=0.9.6.2:${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>