1998-03-01 18:11:29 +00:00
|
|
|
# New ports collection makefile for: dnswalk
|
|
|
|
# Date created: 17 January 1998
|
|
|
|
# Whom: Matthew Hunt <mph@pobox.com>
|
|
|
|
#
|
1999-08-30 14:24:37 +00:00
|
|
|
# $FreeBSD$
|
2000-04-09 18:14:07 +00:00
|
|
|
#
|
1998-03-01 18:11:29 +00:00
|
|
|
|
2000-04-09 18:14:07 +00:00
|
|
|
PORTNAME= dnswalk
|
|
|
|
PORTVERSION= 2.0.2
|
1998-03-01 18:11:29 +00:00
|
|
|
CATEGORIES= net
|
2000-03-22 17:24:18 +00:00
|
|
|
MASTER_SITES= http://www.visi.com/~barr/dnswalk/
|
1998-03-01 18:11:29 +00:00
|
|
|
|
1998-04-17 23:26:31 +00:00
|
|
|
MAINTAINER= mph@freebsd.org
|
1998-03-01 18:11:29 +00:00
|
|
|
|
2000-04-20 20:18:09 +00:00
|
|
|
RUN_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Net/DNS.pm:${PORTSDIR}/net/p5-Net-DNS
|
1998-03-01 18:11:29 +00:00
|
|
|
|
|
|
|
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
|
1998-09-15 21:31:59 +00:00
|
|
|
${SED} -e "s#/usr/contrib/bin/perl#${PERL5}#"\
|
1998-03-01 18:11:29 +00:00
|
|
|
< ${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>
|