1998-03-01 19:11:29 +01:00
|
|
|
# New ports collection makefile for: dnswalk
|
|
|
|
# Date created: 17 January 1998
|
|
|
|
# Whom: Matthew Hunt <mph@pobox.com>
|
|
|
|
#
|
1999-08-30 16:24:37 +02:00
|
|
|
# $FreeBSD$
|
2000-04-09 20:14:07 +02:00
|
|
|
#
|
1998-03-01 19:11:29 +01:00
|
|
|
|
2000-04-09 20:14:07 +02:00
|
|
|
PORTNAME= dnswalk
|
|
|
|
PORTVERSION= 2.0.2
|
2008-07-20 12:52:17 +02:00
|
|
|
PORTREVISION= 1
|
2003-09-05 06:54:37 +02:00
|
|
|
CATEGORIES= dns
|
2008-07-20 12:52:17 +02:00
|
|
|
MASTER_SITES= SF
|
1998-03-01 19:11:29 +01:00
|
|
|
|
2006-06-22 04:21:39 +02:00
|
|
|
MAINTAINER= mark@foster.cc
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= DNS debugger - requests a zone transfer and analyzes the result
|
1998-03-01 19:11:29 +01:00
|
|
|
|
2012-06-30 15:48:34 +02:00
|
|
|
RUN_DEPENDS= p5-Net-DNS>=0:${PORTSDIR}/dns/p5-Net-DNS
|
1998-03-01 19:11:29 +01:00
|
|
|
|
|
|
|
NO_WRKSUBDIR= YES
|
|
|
|
NO_BUILD= YES
|
|
|
|
USE_PERL5= YES
|
|
|
|
|
|
|
|
MAN1= dnswalk.1
|
|
|
|
|
|
|
|
pre-configure:
|
|
|
|
${MV} -f ${WRKDIR}/dnswalk ${WRKDIR}/dnswalk.orig
|
1998-09-15 23:31:59 +02:00
|
|
|
${SED} -e "s#/usr/contrib/bin/perl#${PERL5}#"\
|
1998-03-01 19:11:29 +01:00
|
|
|
< ${WRKDIR}/dnswalk.orig > ${WRKDIR}/dnswalk
|
|
|
|
|
|
|
|
do-install:
|
2008-07-20 12:52:17 +02:00
|
|
|
.if !defined(NOPORTEXAMPLES)
|
2006-06-22 04:21:39 +02:00
|
|
|
@${MKDIR} ${EXAMPLESDIR}
|
|
|
|
${INSTALL_SCRIPT} ${WRKDIR}/do-dnswalk ${EXAMPLESDIR}
|
|
|
|
${INSTALL_SCRIPT} ${WRKDIR}/makereports ${EXAMPLESDIR}
|
|
|
|
${INSTALL_SCRIPT} ${WRKDIR}/sendreports ${EXAMPLESDIR}
|
2008-07-20 12:52:17 +02:00
|
|
|
.endif
|
1998-03-01 19:11:29 +01:00
|
|
|
.if !defined(NOPORTDOCS)
|
2006-06-22 04:21:39 +02:00
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKDIR}/README ${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKDIR}/dnswalk.errors ${DOCSDIR}
|
1998-03-01 19:11:29 +01:00
|
|
|
.endif
|
|
|
|
${INSTALL_MAN} ${WRKDIR}/dnswalk.1 ${PREFIX}/man/man1
|
|
|
|
${INSTALL_SCRIPT} ${WRKDIR}/dnswalk ${PREFIX}/bin
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|