aboutsummaryrefslogtreecommitdiff
path: root/security/switzerland/Makefile
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2015-09-03 14:09:17 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2015-09-03 14:09:17 +0000
commit6b4de2698636ccc6f6b7a341e63f08d05a73cb01 (patch)
treeaa7d1cdb860adb0016f7fed0c6f208abcb26070a /security/switzerland/Makefile
parent846825312aa2fb296f9c628ea6423c337b94fc52 (diff)
downloadports-6b4de2698636ccc6f6b7a341e63f08d05a73cb01.tar.gz
ports-6b4de2698636ccc6f6b7a341e63f08d05a73cb01.zip
Notes
Diffstat (limited to 'security/switzerland/Makefile')
-rw-r--r--security/switzerland/Makefile9
1 files changed, 2 insertions, 7 deletions
diff --git a/security/switzerland/Makefile b/security/switzerland/Makefile
index 25598bce5cbc..ac567b605f21 100644
--- a/security/switzerland/Makefile
+++ b/security/switzerland/Makefile
@@ -5,32 +5,27 @@ PORTNAME= switzerland
PORTVERSION= 0.1.0
CATEGORIES= security python
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/zero%20point%20one
-EXTRACT_SUFX= .tgz
MAINTAINER= cs@FreeBSD.org
COMMENT= Test the integrity of communications over networks and firewalls
LICENSE= GPLv3
-USES= python
+USES= python tar:tgz
USE_PYTHON= distutils
PORTDOCS= *
OPTIONS_DEFINE= DOCS
-.include <bsd.port.options.mk>
-
post-patch:
@${REINPLACE_CMD} -e 's,gcc -O3,${CC} ${CFLAGS}, ; \
s,"Switzerland","switzerland", ; \
s,"0\.0","${PORTVERSION}",' ${WRKSRC}/setup.py
-post-install:
-.if ${PORT_OPTIONS:MDOCS}
+post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/BUGS.txt ${WRKSRC}/README.txt \
${WRKSRC}/doc/* ${STAGEDIR}${DOCSDIR}
-.endif
.include <bsd.port.mk>