summaryrefslogtreecommitdiff
path: root/net/wistumbler
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2010-02-11 22:57:40 +0000
committerjoerg <joerg@pkgsrc.org>2010-02-11 22:57:40 +0000
commitab25766c713e99d509c047b0f6cd6ae3260cc586 (patch)
tree892f24338b971c99ecdc3db1d871d95d58c28c61 /net/wistumbler
parent93963b34fa628b995ffc09e0241bdb72c019ad0f (diff)
downloadpkgsrc-ab25766c713e99d509c047b0f6cd6ae3260cc586.tar.gz
DESTDIR support
Diffstat (limited to 'net/wistumbler')
-rw-r--r--net/wistumbler/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/net/wistumbler/Makefile b/net/wistumbler/Makefile
index 064b10491fc..c25cec69cf7 100644
--- a/net/wistumbler/Makefile
+++ b/net/wistumbler/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.21 2006/03/04 21:30:26 jlam Exp $
+# $NetBSD: Makefile,v 1.22 2010/02/11 23:12:21 joerg Exp $
DISTNAME= wistumbler-20020816
PKGNAME= wistumbler-20020816.0
@@ -10,11 +10,19 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://gongon.com/persons/iseki/wistumbler/
COMMENT= Network stumbler for WaveLAN/IEEE wireless networking
+PKG_DESTDIR_SUPPORT= user-destdir
+
WRKSRC= ${WRKDIR}/wistumbler
NOT_FOR_PLATFORM= NetBSD-0.*-* NetBSD-1.[01234]*-* NetBSD-1.5-*
NOT_FOR_PLATFORM+= NetBSD-1.5.*-* NetBSD-1.5[A-V]-*
NOT_FOR_PLATFORM+= Interix-*-*
+INSTALLATION_DIRS+= bin ${PKGMANDIR}/man1
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/wistumbler ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/wistumbler.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+
.include "../../x11/gtk/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"