1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-04 01:48:54 +00:00
freebsd-ports/dns/sleuth/Makefile
2001-06-17 04:04:31 +00:00

31 lines
720 B
Makefile

# 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
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>