7cb67fd558
- Trim Makefile header - Use OptionsNG DOCS PR: ports/177605 [1] Submitted by: John Marino <draco@marino.st> [1] Approved by: portmgr (miwi), jpaetzel (mentor)
31 lines
734 B
Makefile
31 lines
734 B
Makefile
# Created by: Alexey Dokuchaev <danfe@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= switzerland
|
|
PORTVERSION= 0.1.0
|
|
CATEGORIES= security python
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/zero%20point%20one
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Test the integrity of communications over networks and firewalls
|
|
|
|
USE_PYTHON= yes
|
|
USE_PYDISTUTILS= yes
|
|
PORTDOCS= *
|
|
|
|
.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}
|
|
@${MKDIR} ${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/BUGS.txt ${WRKSRC}/README.txt \
|
|
${WRKSRC}/doc/* ${DOCSDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|