summaryrefslogtreecommitdiff
path: root/net/nprobe
diff options
context:
space:
mode:
authorjoerg <joerg>2010-02-11 22:14:30 +0000
committerjoerg <joerg>2010-02-11 22:14:30 +0000
commit2bb3117590b67f1fe0a0c6ab3915e3876f19e80e (patch)
tree158a207e58929596737a90cde12a40358acd9b2d /net/nprobe
parent899cbf4f8e2b987e61ce3c40f894971c69412cd3 (diff)
downloadpkgsrc-2bb3117590b67f1fe0a0c6ab3915e3876f19e80e.tar.gz
DESTDIR support
Diffstat (limited to 'net/nprobe')
-rw-r--r--net/nprobe/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/net/nprobe/Makefile b/net/nprobe/Makefile
index 46267ea5d4d..c71b5e9cd3f 100644
--- a/net/nprobe/Makefile
+++ b/net/nprobe/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 2006/05/12 09:19:54 joerg Exp $
+# $NetBSD: Makefile,v 1.19 2010/02/11 22:19:44 joerg Exp $
DISTNAME= nProbe-source-1.3.1
PKGREVISION= 4
@@ -11,6 +11,8 @@ MAINTAINER= cjs@NetBSD.org
HOMEPAGE= http://www.ntop.org/nProbe.html
COMMENT= Monitor a network interface and generate NetFlow data
+PKG_DESTDIR_SUPPORT= user-destdir
+
WRKSRC= ${WRKDIR}/nProbe
GNU_CONFIGURE= YES
USE_LIBTOOL= yes
@@ -23,7 +25,7 @@ INSTALLATION_DIRS= sbin
#CFLAGS+= -DMAX_DEMO_FLOWS=1000 -DDEMO_MODE
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/nprobe ${PREFIX}/sbin
+ ${INSTALL_PROGRAM} ${WRKSRC}/nprobe ${DESTDIR}${PREFIX}/sbin
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"