summaryrefslogtreecommitdiff
path: root/security/dsniff-nox11
diff options
context:
space:
mode:
authorjoerg <joerg>2010-01-27 22:05:28 +0000
committerjoerg <joerg>2010-01-27 22:05:28 +0000
commitc41a29baca40c8706c970aedeac5d8012c204188 (patch)
treecda897cdaf847e4059a16bcfa8098a9b15a8beff /security/dsniff-nox11
parent5d6eb297b801f452078e729f1f165537d1ee6224 (diff)
downloadpkgsrc-c41a29baca40c8706c970aedeac5d8012c204188.tar.gz
DESTDIR support
Diffstat (limited to 'security/dsniff-nox11')
-rw-r--r--security/dsniff-nox11/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/security/dsniff-nox11/Makefile b/security/dsniff-nox11/Makefile
index d68458714b7..346d7ea6d60 100644
--- a/security/dsniff-nox11/Makefile
+++ b/security/dsniff-nox11/Makefile
@@ -1,4 +1,6 @@
-# $NetBSD: Makefile,v 1.5 2008/10/01 08:43:09 apb Exp $
+# $NetBSD: Makefile,v 1.6 2010/01/27 22:12:22 joerg Exp $
+
+PKG_DESTDIR_SUPPORT= user-destdir
.include "../../security/dsniff/Makefile.common"
@@ -8,12 +10,15 @@ COMMENT= Password sniffer
CONFIGURE_ARGS+= --without-x
+INSTALLATION_DIRS+= ${PKGMANDIR}/man8
+INSTALL_MAKE_FLAGS+= install_prefix=${DESTDIR}
+
post-configure:
( cd ${WRKSRC} \
&& grep '#define.*HAVE_SYS_QUEUE_H' config.h >/dev/null \
&& mv missing/sys/queue.h missing/sys/queue.h.fake )
post-install:
- ${RM} ${PREFIX}/${PKGMANDIR}/man8/webspy.8
+ ${RM} ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8/webspy.8
.include "../../mk/bsd.pkg.mk"