summaryrefslogtreecommitdiffstats
path: root/dns/sleuth/Makefile
blob: 6d99bf3dcb54ea1347580eed3e6683f5c65a87b8 (plain)
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
# Created by: Mark Pulford <mark@kyne.com.au>
# $FreeBSD$

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

MAINTAINER=	portmaster@BSDforge.com
COMMENT=	Tool for checking, and diagnosing DNS zones

LICENSE=	GPLv2

RUN_DEPENDS=	p5-Net-DNS>=0:dns/p5-Net-DNS

USES=		shebangfix perl5
SHEBANG_FILES=	sleuth

PLIST_FILES=	bin/sleuth etc/sleuth.conf.sample

post-patch:
	@${REINPLACE_CMD} -i '' -e 's|/etc/sleuth.conf|${PREFIX}/etc/sleuth.conf|' \
		${WRKSRC}/sleuth

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

.include <bsd.port.mk>
OpenPOWER on IntegriCloud