diff options
author | joerg <joerg@pkgsrc.org> | 2010-01-27 22:05:28 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2010-01-27 22:05:28 +0000 |
commit | aefc21d5b5bf5c688266b2923175e6a57dd6a497 (patch) | |
tree | cda897cdaf847e4059a16bcfa8098a9b15a8beff /security/dsniff-nox11/Makefile | |
parent | ee255fb0ce79495b1b2593da914ffc1e8ec24f77 (diff) | |
download | pkgsrc-aefc21d5b5bf5c688266b2923175e6a57dd6a497.tar.gz |
DESTDIR support
Diffstat (limited to 'security/dsniff-nox11/Makefile')
-rw-r--r-- | security/dsniff-nox11/Makefile | 9 |
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" |