aboutsummaryrefslogtreecommitdiffstats
path: root/net/sleuth/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/sleuth/Makefile')
-rw-r--r--net/sleuth/Makefile30
1 files changed, 30 insertions, 0 deletions
diff --git a/net/sleuth/Makefile b/net/sleuth/Makefile
new file mode 100644
index 000000000000..285126aada1f
--- /dev/null
+++ b/net/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>