summaryrefslogtreecommitdiff
path: root/dns/dnswalk/Makefile
blob: 08a94aa3e7610bcb845f97cf66ceb0c94606224e (plain)
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
PORTNAME=	dnswalk
PORTVERSION=	2.0.2
PORTREVISION=	3
CATEGORIES=	dns
MASTER_SITES=	SF

MAINTAINER=	mark@foster.cc
COMMENT=	DNS debugger - requests a zone transfer and analyzes the result
WWW=		https://sourceforge.net/projects/dnswalk/

OPTIONS_DEFINE=	DOCS EXAMPLES

RUN_DEPENDS=	p5-Net-DNS>=0:dns/p5-Net-DNS

NO_WRKSUBDIR=	YES
NO_BUILD=	YES
USES=		perl5 shebangfix
perl_OLD_CMD=	/usr/contrib/bin/perl
SHEBANG_FILES=	dnswalk makereports

do-install:
	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
	${INSTALL_SCRIPT} ${WRKSRC}/do-dnswalk \
		${WRKSRC}/makereports \
		${WRKSRC}/sendreports \
		${STAGEDIR}${EXAMPLESDIR}
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/README \
		${WRKSRC}/dnswalk.errors \
		${STAGEDIR}${DOCSDIR}
	${INSTALL_MAN} ${WRKSRC}/dnswalk.1 ${STAGEDIR}${PREFIX}/man/man1
	${INSTALL_SCRIPT} ${WRKSRC}/dnswalk ${STAGEDIR}${PREFIX}/bin

.include <bsd.port.mk>