diff options
Diffstat (limited to 'dns')
-rw-r--r-- | dns/sleuth/Makefile | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/dns/sleuth/Makefile b/dns/sleuth/Makefile index e40a43baa46..81b582cdee5 100644 --- a/dns/sleuth/Makefile +++ b/dns/sleuth/Makefile @@ -1,9 +1,5 @@ -# New ports collection makefile for: sleuth -# Date created: Jun 15, 2001 -# Whom: Mark Pulford <mark@kyne.com.au> -# +# Created by: Mark Pulford <mark@kyne.com.au> # $FreeBSD$ -# PORTNAME= sleuth PORTVERSION= 1.4.4 @@ -16,12 +12,14 @@ COMMENT= A tool for checking DNS zones RUN_DEPENDS= p5-Net-DNS>=0:${PORTSDIR}/dns/p5-Net-DNS USE_PERL5= yes +USES= shebangfix +SHEBANG_FILES= sleuth PLIST_FILES= bin/sleuth etc/sleuth.conf.sample post-patch: - ${PERL} -pi -e "s|/etc/sleuth.conf|${PREFIX}/etc/sleuth.conf|g; \ - s|#!/usr/bin/perl|#!${PERL}|g;" ${WRKSRC}/sleuth + @${REINPLACE_CMD} -i '' -e 's|/etc/sleuth.conf|${PREFIX}/etc/sleuth.conf|' \ + ${WRKSRC}/sleuth do-install: ${INSTALL_SCRIPT} ${WRKSRC}/sleuth ${PREFIX}/bin |