# $FreeBSD$ PORTNAME= ipv6toolkit PORTVERSION= 1.3.4 CATEGORIES= security ipv6 MASTER_SITES= http://www.si6networks.com/tools/ipv6toolkit/ DISTNAME= ipv6-toolkit-v${PORTVERSION} MAINTAINER= hrs@FreeBSD.org COMMENT= Set of IPv6 security assessment tools LICENSE= GPLv3 MAKE_ENV= DATADIR=${DATADIR} SUB_FILES= BSDMakefile Makefile MAKEFILE= BSDMakefile PORTDOCS= README.TXT MAN1= address6.1 flow6.1 frag6.1 icmp6.1 jumbo6.1 na6.1 ni6.1 \ ns6.1 ra6.1 rd6.1 rs6.1 scan6.1 tcp6.1 MAN5= ipv6toolkit.conf.5 PROGDIRS= ${MAN1:S/.1//} OPTIONS_DEFINE= DOCS .include post-extract: @cd ${WRKSRC} && ${MKDIR} ${PROGDIRS} post-patch: apply-slist ${REINPLACE_CMD} -e 's,%%DATADIR%%,${DATADIR},' \ ${WRKSRC}/data/ipv6toolkit.conf ${INSTALL_DATA} ${WRKDIR}/BSDMakefile ${WRKSRC} for D in ${PROGDIRS}; do \ ${INSTALL_DATA} ${WRKDIR}/Makefile ${WRKSRC}/$$D; \ done .if ${PORT_OPTIONS:MDOCS} post-install: @${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README.TXT ${DOCSDIR} .endif .include