aboutsummaryrefslogtreecommitdiffstats
path: root/dns/dnswalk/Makefile
blob: a42016e5638b526e6ff7224b459a80e3ce9603cc (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
# Created by: Matthew Hunt <mph@pobox.com>
# $FreeBSD$

PORTNAME=   dnswalk
PORTVERSION=    2.0.2
PORTREVISION=   2
CATEGORIES= dns
MASTER_SITES=   SF

MAINTAINER= mark@foster.cc
COMMENT=    DNS debugger - requests a zone transfer and analyzes the result

OPTIONS_DEFINE= DOCS EXAMPLES

RUN_DEPENDS=    p5-Net-DNS>=0:${PORTSDIR}/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>