mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-27 00:57:50 +00:00
e97db53ab7
new PERL_ARCH'ified location. In a few cases, standardize on searching for ${SITE_PERL}/${PERL_ARCH}/Net/DNS.pm instead of other files.
46 lines
1.2 KiB
Makefile
46 lines
1.2 KiB
Makefile
# New ports collection makefile for: dnswalk
|
|
# Date created: 17 January 1998
|
|
# Whom: Matthew Hunt <mph@pobox.com>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= dnswalk
|
|
PORTVERSION= 2.0.2
|
|
CATEGORIES= dns
|
|
MASTER_SITES= http://www.visi.com/~barr/dnswalk/
|
|
|
|
MAINTAINER= mph@freebsd.org
|
|
COMMENT= DNS debugger - requests a zone transfer and analyzes the result
|
|
|
|
RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Net/DNS.pm:${PORTSDIR}/dns/p5-Net-DNS
|
|
|
|
NO_WRKSUBDIR= YES
|
|
NO_BUILD= YES
|
|
USE_PERL5= YES
|
|
|
|
MAN1= dnswalk.1
|
|
|
|
EX_DIR= ${PREFIX}/share/examples/dnswalk
|
|
DOC_DIR= ${PREFIX}/share/doc/dnswalk
|
|
|
|
pre-configure:
|
|
${MV} -f ${WRKDIR}/dnswalk ${WRKDIR}/dnswalk.orig
|
|
${SED} -e "s#/usr/contrib/bin/perl#${PERL5}#"\
|
|
< ${WRKDIR}/dnswalk.orig > ${WRKDIR}/dnswalk
|
|
|
|
do-install:
|
|
${MKDIR} ${EX_DIR}
|
|
${INSTALL_SCRIPT} ${WRKDIR}/do-dnswalk ${EX_DIR}
|
|
${INSTALL_SCRIPT} ${WRKDIR}/makereports ${EX_DIR}
|
|
${INSTALL_SCRIPT} ${WRKDIR}/sendreports ${EX_DIR}
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${DOC_DIR}
|
|
${INSTALL_DATA} ${WRKDIR}/README ${DOC_DIR}
|
|
${INSTALL_DATA} ${WRKDIR}/dnswalk.errors ${DOC_DIR}
|
|
.endif
|
|
${INSTALL_MAN} ${WRKDIR}/dnswalk.1 ${PREFIX}/man/man1
|
|
${INSTALL_SCRIPT} ${WRKDIR}/dnswalk ${PREFIX}/bin
|
|
|
|
.include <bsd.port.mk>
|