aboutsummaryrefslogtreecommitdiffstats
path: root/net/sleuth/Makefile
blob: 90298d6e61646fc5c844927790c6f6af98b5c5fb (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
# New ports collection makefile for:    sleuth
# Date created:         Jun 15, 2001
# Whom:             Mark Pulford <mark@kyne.com.au>
#
# $FreeBSD$
#

PORTNAME=   sleuth
PORTVERSION=    1.3
CATEGORIES= net
MASTER_SITES=   ftp://atrey.karlin.mff.cuni.cz/pub/local/mj/net/

MAINTAINER= markp@FreeBSD.org
COMMENT=    A tool for checking DNS zones

RUN_DEPENDS=    ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Net/DNS.pm:${PORTSDIR}/net/p5-Net-DNS

USE_PERL5=  yes

post-patch:
    ${PERL} -pi -e "s|/etc/sleuth.conf|${PREFIX}/etc/sleuth.conf|g; \
        s|#!/usr/bin/perl|#!${PERL}|g;" ${WRKSRC}/sleuth

do-install:
    ${INSTALL_SCRIPT} ${WRKSRC}/sleuth ${PREFIX}/bin
    ${INSTALL_DATA} ${WRKSRC}/sleuth.conf ${PREFIX}/etc/sleuth.conf.sample

post-install:
    @${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>