diff options
Diffstat (limited to 'dns/sleuth/Makefile')
-rw-r--r-- | dns/sleuth/Makefile | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/dns/sleuth/Makefile b/dns/sleuth/Makefile new file mode 100644 index 000000000000..285126aada1f --- /dev/null +++ b/dns/sleuth/Makefile @@ -0,0 +1,30 @@ +# New ports collection makefile for: sleuth +# Date created: Jun 15, 2001 +# Whom: Mark Pulford <mark@kyne.com.au> +# +# $FreeBSD$ +# + +PORTNAME= sleuth +PORTVERSION= 1.2 +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> |