From 40b210118f0e1a0cd925be8c6da7593c75238af7 Mon Sep 17 00:00:00 2001
From: Emanuel Haupt <ehaupt@FreeBSD.org>
Date: Tue, 18 Mar 2014 08:27:14 +0000
Subject: Support staging

---
 dns/sleuth/Makefile | 9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)

(limited to 'dns')

diff --git a/dns/sleuth/Makefile b/dns/sleuth/Makefile
index 36a83832614e..8a4cb8603bd9 100644
--- a/dns/sleuth/Makefile
+++ b/dns/sleuth/Makefile
@@ -16,16 +16,13 @@ SHEBANG_FILES=	sleuth
 
 PLIST_FILES=	bin/sleuth etc/sleuth.conf.sample
 
-NO_STAGE=	yes
 post-patch:
 	@${REINPLACE_CMD} -i '' -e 's|/etc/sleuth.conf|${PREFIX}/etc/sleuth.conf|' \
 		${WRKSRC}/sleuth
 
 do-install:
-	${INSTALL_SCRIPT} ${WRKSRC}/sleuth ${PREFIX}/bin
-	${INSTALL_DATA} ${WRKSRC}/sleuth.conf ${PREFIX}/etc/sleuth.conf.sample
-
-post-install:
-	@${CAT} ${PKGMESSAGE}
+	${INSTALL_SCRIPT} ${WRKSRC}/sleuth ${STAGEDIR}${PREFIX}/bin
+	${INSTALL_DATA} ${WRKSRC}/sleuth.conf \
+		${STAGEDIR}${PREFIX}/etc/sleuth.conf.sample
 
 .include <bsd.port.mk>
-- 
cgit debian/1.2.3+git2.25.1-1-2-gaceb0