summaryrefslogtreecommitdiff
path: root/net/kismet
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2010-02-11 21:58:29 +0000
committerjoerg <joerg@pkgsrc.org>2010-02-11 21:58:29 +0000
commit1f0ec9473ffca4ae93f5d69807084cca883fb420 (patch)
tree546cb5bced724a7f7f47415dd221ea8c20d8f3dc /net/kismet
parent7b0151f3cad9db6c6d581a4564df22b43918a839 (diff)
downloadpkgsrc-1f0ec9473ffca4ae93f5d69807084cca883fb420.tar.gz
DESTDIR support
Diffstat (limited to 'net/kismet')
-rw-r--r--net/kismet/Makefile17
1 files changed, 10 insertions, 7 deletions
diff --git a/net/kismet/Makefile b/net/kismet/Makefile
index 1c590f92716..f05ccd1dda0 100644
--- a/net/kismet/Makefile
+++ b/net/kismet/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2010/01/24 13:26:12 wiz Exp $
+# $NetBSD: Makefile,v 1.14 2010/02/11 21:58:29 joerg Exp $
DISTNAME= kismet-2008-05-R1
PKGNAME= kismet-2008.05.01
@@ -10,6 +10,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.kismetwireless.net/
COMMENT= 802.11 wireless network detector, sniffer and IDS
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_LANGUAGES= c c++
USE_NCURSES= yes # needs libpanel
USE_TOOLS+= gmake perl:run
@@ -50,16 +52,17 @@ SUBST_STAGE.user= pre-configure
SUBST_FILES.user= conf/kismet.conf.in
SUBST_SED.user= -e 's/your_user_here/${KISMET_USER}/'
+INSTALLATION_DIRS+= bin ${PKGMANDIR}/man1 ${PKGMANDIR}/man5 ${EGDIR}
+
post-install:
- ${INSTALL_DATA_DIR} ${EGDIR}
- ${INSTALL_DATA} ${WRKSRC}/conf/ap_manuf ${EGDIR}/
- ${INSTALL_DATA} ${WRKSRC}/conf/client_manuf ${EGDIR}/
+ ${INSTALL_DATA} ${WRKSRC}/conf/ap_manuf ${DESTDIR}${EGDIR}/
+ ${INSTALL_DATA} ${WRKSRC}/conf/client_manuf ${DESTDIR}${EGDIR}/
${INSTALL_DATA} ${WRKSRC}/conf/kismet.conf \
- ${EGDIR}/kismet.conf.default
+ ${DESTDIR}${EGDIR}/kismet.conf.default
${INSTALL_DATA} ${WRKSRC}/conf/kismet_drone.conf \
- ${EGDIR}/kismet_drone.conf.default
+ ${DESTDIR}${EGDIR}/kismet_drone.conf.default
${INSTALL_DATA} ${WRKSRC}/conf/kismet_ui.conf \
- ${EGDIR}/kismet_ui.conf.default
+ ${DESTDIR}${EGDIR}/kismet_ui.conf.default
.include "options.mk"