2013-04-07 01:22:20 +02:00
|
|
|
# Created by: Alexey Dokuchaev <danfe@FreeBSD.org>
|
2008-08-08 12:17:13 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= switzerland
|
2009-05-07 09:43:38 +02:00
|
|
|
PORTVERSION= 0.1.0
|
2008-08-08 12:17:13 +02:00
|
|
|
CATEGORIES= security python
|
2009-08-22 02:35:32 +02:00
|
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/zero%20point%20one
|
2008-08-08 12:17:13 +02:00
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
2012-12-30 13:15:38 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2008-08-08 12:17:13 +02:00
|
|
|
COMMENT= Test the integrity of communications over networks and firewalls
|
|
|
|
|
|
|
|
USE_PYTHON= yes
|
2009-01-04 17:19:32 +01:00
|
|
|
USE_PYDISTUTILS= yes
|
2008-08-08 12:17:13 +02:00
|
|
|
PORTDOCS= *
|
|
|
|
|
2013-04-07 01:22:20 +02:00
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
|
2008-08-08 12:17:13 +02:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's,gcc -O3,${CC} ${CFLAGS}, ; \
|
|
|
|
s,"Switzerland","switzerland", ; \
|
|
|
|
s,"0\.0","${PORTVERSION}",' ${WRKSRC}/setup.py
|
|
|
|
|
|
|
|
post-install:
|
2013-04-07 01:22:20 +02:00
|
|
|
.if ${PORT_OPTIONS:MDOCS}
|
2008-08-08 12:17:13 +02:00
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/BUGS.txt ${WRKSRC}/README.txt \
|
|
|
|
${WRKSRC}/doc/* ${DOCSDIR}
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|