blob: 174386f3a0dd4dfee19c1a5944c7286d972f00bf (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
# $FreeBSD$
PORTNAME= ipv6toolkit
PORTVERSION= 1.4.1
CATEGORIES= security ipv6
MASTER_SITES= http://www.si6networks.com/tools/ipv6toolkit/
DISTNAME= ipv6toolkit-v${PORTVERSION}
MAINTAINER= hrs@FreeBSD.org
COMMENT= Set of IPv6 security assessment tools
LICENSE= GPLv3
MAKE_ENV= DATADIR=${DATADIR} WRKSRC=${WRKSRC}
SUB_FILES= BSDMakefile Makefile Makefile.lib
MAKEFILE= BSDMakefile
PORTDOCS= README.TXT CHANGES.TXT CONTRIB.TXT
MAN1= addr6.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//}
LIBDIRS= libipv6
OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
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
.if ${PORT_OPTIONS:MDOCS}
post-install:
@${MKDIR} ${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
.endif
.include <bsd.port.mk>
|