summaryrefslogtreecommitdiff
path: root/net/driftnet/Makefile
diff options
context:
space:
mode:
authorjoerg <joerg>2010-02-11 20:47:11 +0000
committerjoerg <joerg>2010-02-11 20:47:11 +0000
commit1588feb222cea83b0dad2f57275765cd318351d6 (patch)
tree31fd6ffe2b0fc0e74f3ebbb66a6fa1a76e6b503d /net/driftnet/Makefile
parent119508af3bff2629d4086d0a51ef546ede2adbbe (diff)
downloadpkgsrc-1588feb222cea83b0dad2f57275765cd318351d6.tar.gz
DESTDIR support
Diffstat (limited to 'net/driftnet/Makefile')
-rw-r--r--net/driftnet/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/net/driftnet/Makefile b/net/driftnet/Makefile
index 069bdb4108b..45db532bf5b 100644
--- a/net/driftnet/Makefile
+++ b/net/driftnet/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.24 2010/01/18 09:59:19 wiz Exp $
+# $NetBSD: Makefile,v 1.25 2010/02/11 20:47:11 joerg Exp $
#
DISTNAME= driftnet-0.1.6
@@ -10,6 +10,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.ex-parrot.com/~chris/driftnet/
COMMENT= Real-time image sniffer
+PKG_DESTDIR_SUPPORT= user-destdir
+
DEPENDS+= mpg123-[0-9]*:../../audio/mpg123
MAKE_JOBS_SAFE= no
@@ -21,8 +23,8 @@ USE_TOOLS+= makedepend
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/driftnet ${PREFIX}/bin
- ${INSTALL_MAN} ${WRKSRC}/driftnet.1 ${PREFIX}/${PKGMANDIR}/man1
+ ${INSTALL_PROGRAM} ${WRKSRC}/driftnet ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/driftnet.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
.include "../../graphics/libungif/buildlink3.mk"
.include "../../x11/gtk/buildlink3.mk"