summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoerg <joerg>2009-03-02 17:40:02 +0000
committerjoerg <joerg>2009-03-02 17:40:02 +0000
commitbf7691cc4277df8a26c861a77af870d73487797c (patch)
treeaef4b2b499c362f45b58365c7e2ff2575b9812f7
parent27265ef85eb53b0952d6ba48ef7b1c30d2e0e294 (diff)
downloadpkgsrc-bf7691cc4277df8a26c861a77af870d73487797c.tar.gz
DESTDIR support
-rw-r--r--net/chksniff/Makefile6
-rw-r--r--net/chksniff/distinfo4
-rw-r--r--net/chksniff/patches/patch-aa4
3 files changed, 9 insertions, 5 deletions
diff --git a/net/chksniff/Makefile b/net/chksniff/Makefile
index ecba99e5960..b49e6c67809 100644
--- a/net/chksniff/Makefile
+++ b/net/chksniff/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2005/10/29 01:05:17 minskim Exp $
+# $NetBSD: Makefile,v 1.2 2009/03/02 17:40:02 joerg Exp $
#
DISTNAME= chksniff-0.2
@@ -9,6 +9,10 @@ MAINTAINER= virtus@wanadoo.nl
HOMEPAGE= http://virtus.ath.cx/chksniff/
COMMENT= Small tool to check for promiscuous interfaces
+PKG_DESTDIR_SUPPORT= user-destdir
+
+INSTALLATION_DIRS= bin
+
GNU_CONFIGURE= YES
.include "../../mk/bsd.pkg.mk"
diff --git a/net/chksniff/distinfo b/net/chksniff/distinfo
index 99da7a8256f..42487ab57e5 100644
--- a/net/chksniff/distinfo
+++ b/net/chksniff/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.1.1.1 2005/10/29 01:05:17 minskim Exp $
+$NetBSD: distinfo,v 1.2 2009/03/02 17:40:02 joerg Exp $
SHA1 (chksniff-0.2.tar.gz) = 008a63e429dc0c12c0ba760e6476623ca99ad85a
RMD160 (chksniff-0.2.tar.gz) = ad7475a9c8acc5d527e2abe28b352c1375c6bb11
Size (chksniff-0.2.tar.gz) = 28419 bytes
-SHA1 (patch-aa) = a91144e2178475c2424ce84dbdae4c7e7faacff0
+SHA1 (patch-aa) = 00392a03d68fecea9a9eb4427a77b0093af70adc
diff --git a/net/chksniff/patches/patch-aa b/net/chksniff/patches/patch-aa
index 3134acfd7f0..72e33ac2f6e 100644
--- a/net/chksniff/patches/patch-aa
+++ b/net/chksniff/patches/patch-aa
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.1.1.1 2005/10/29 01:05:17 minskim Exp $
+$NetBSD: patch-aa,v 1.2 2009/03/02 17:40:03 joerg Exp $
--- src/Makefile.in.orig 2003-04-06 13:22:35.000000000 -0700
+++ src/Makefile.in
@@ -13,7 +13,7 @@ $NetBSD: patch-aa,v 1.1.1.1 2005/10/29 01:05:17 minskim Exp $
install:
- cp chksniff $(INSDIR)
-+ $(BSD_INSTALL_PROGRAM) chksniff $(INSDIR)
++ $(BSD_INSTALL_PROGRAM) chksniff ${DESTDIR}$(INSDIR)
uninstall:
rm $(INSDIR)/chksniff