1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-21 04:06:46 +00:00
freebsd-ports/security/ipv6toolkit/Makefile
2015-09-22 17:59:24 +00:00

48 lines
1.2 KiB
Makefile

# $FreeBSD$
PORTNAME= ipv6toolkit
PORTVERSION= 2.0
DISTVERSIONPREFIX= v
CATEGORIES= security ipv6
MASTER_SITES= http://www.si6networks.com/tools/ipv6toolkit/
MAINTAINER= hrs@FreeBSD.org
COMMENT= Set of IPv6 security assessment tools
LICENSE= GPLv3
USES= shebangfix uidfix
SHEBANG_FILES= tools/blackhole6 tools/script6
MAKE_ENV= DATADIR=${DATADIR} WRKSRC=${WRKSRC}
SUB_FILES= BSDMakefile Makefile Makefile.lib
MAKEFILE= BSDMakefile
PORTDOCS= README.TXT CHANGES.TXT CREDITS.TXT
PROGDIRS= addr6 flow6 frag6 icmp6 jumbo6 na6 ni6 ns6 path6 ra6 rd6 rs6 \
scan6 tcp6 udp6
LIBDIRS= libipv6
OPTIONS_DEFINE= DOCS
post-extract:
@cd ${WRKSRC} && ${MKDIR} ${PROGDIRS} ${LIBDIRS}
post-patch: apply-slist
${INSTALL_DATA} ${WRKDIR}/BSDMakefile ${WRKSRC}
for D in ${PROGDIRS}; do \
${INSTALL_DATA} ${WRKDIR}/Makefile ${WRKSRC}/$$D; \
done
for D in ${LIBDIRS}; do \
${INSTALL_DATA} ${WRKDIR}/Makefile.lib ${WRKSRC}/$$D/Makefile; \
done
post-install:
${INSTALL_SCRIPT} ${WRKSRC}/tools/blackhole6 ${WRKSRC}/tools/script6 \
${STAGEDIR}${PREFIX}/sbin
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>