1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00
freebsd-ports/dns/dnswalk/Makefile

43 lines
1.0 KiB
Makefile

# Created by: Matthew Hunt <mph@pobox.com>
# $FreeBSD$
PORTNAME= dnswalk
PORTVERSION= 2.0.2
PORTREVISION= 1
CATEGORIES= dns
MASTER_SITES= SF
MAINTAINER= mark@foster.cc
COMMENT= DNS debugger - requests a zone transfer and analyzes the result
RUN_DEPENDS= p5-Net-DNS>=0:${PORTSDIR}/dns/p5-Net-DNS
NO_WRKSUBDIR= YES
NO_BUILD= YES
USES= perl5
MAN1= dnswalk.1
NO_STAGE= yes
pre-configure:
${MV} -f ${WRKDIR}/dnswalk ${WRKDIR}/dnswalk.orig
${SED} -e "s#/usr/contrib/bin/perl#${PERL5}#"\
< ${WRKDIR}/dnswalk.orig > ${WRKDIR}/dnswalk
do-install:
.if !defined(NOPORTEXAMPLES)
@${MKDIR} ${EXAMPLESDIR}
${INSTALL_SCRIPT} ${WRKDIR}/do-dnswalk ${EXAMPLESDIR}
${INSTALL_SCRIPT} ${WRKDIR}/makereports ${EXAMPLESDIR}
${INSTALL_SCRIPT} ${WRKDIR}/sendreports ${EXAMPLESDIR}
.endif
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKDIR}/README ${DOCSDIR}
${INSTALL_DATA} ${WRKDIR}/dnswalk.errors ${DOCSDIR}
.endif
${INSTALL_MAN} ${WRKDIR}/dnswalk.1 ${PREFIX}/man/man1
${INSTALL_SCRIPT} ${WRKDIR}/dnswalk ${PREFIX}/bin
.include <bsd.port.mk>