pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/wpa_gui DESTDIR support.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/85c263338fff
branches:  trunk
changeset: 540819:85c263338fff
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Mon Apr 07 18:25:38 2008 +0000

description:
DESTDIR support.

diffstat:

 net/wpa_gui/Makefile |  8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diffs (27 lines):

diff -r 24e2b20459c4 -r 85c263338fff net/wpa_gui/Makefile
--- a/net/wpa_gui/Makefile      Mon Apr 07 18:23:06 2008 +0000
+++ b/net/wpa_gui/Makefile      Mon Apr 07 18:25:38 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2007/07/08 12:35:11 wiz Exp $
+# $NetBSD: Makefile,v 1.5 2008/04/07 18:25:38 joerg Exp $
 
 DISTNAME=      wpa_supplicant-0.4.9
 PKGNAME=       ${DISTNAME:S/supplicant/gui/}
@@ -9,12 +9,16 @@
 HOMEPAGE=      http://hostap.epitest.fi/wpa_supplicant/
 COMMENT=       QT GUI for wpa_supplicant(8)
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 USE_LANGUAGES= c c++
 BUILD_TARGET=  wpa_gui
 USE_TOOLS+=    gmake
 
+INSTALLATION_DIRS=     sbin
+
 do-install:
-       ${INSTALL_PROGRAM} ${WRKSRC}/wpa_gui/wpa_gui ${PREFIX}/sbin/wpa_gui
+       ${INSTALL_PROGRAM} ${WRKSRC}/wpa_gui/wpa_gui ${DESTDIR}${PREFIX}/sbin
 
 .include "../../x11/qt3-libs/buildlink3.mk"
 .include "../../x11/qt3-tools/buildlink3.mk"



Home | Main Index | Thread Index | Old Index