pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/wpa_supplicant * Marked as DESTDIR support, and re...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/441e4e121f22
branches:  trunk
changeset: 552118:441e4e121f22
user:      obache <obache%pkgsrc.org@localhost>
date:      Sun Dec 28 12:49:25 2008 +0000

description:
* Marked as DESTDIR support, and remove redundant slashes.
* Change to use BUILD_DIRS instead of custom do-build target.

diffstat:

 net/wpa_supplicant/Makefile |  23 ++++++++++++-----------
 1 files changed, 12 insertions(+), 11 deletions(-)

diffs (53 lines):

diff -r 2b80d8fc426d -r 441e4e121f22 net/wpa_supplicant/Makefile
--- a/net/wpa_supplicant/Makefile       Sun Dec 28 12:43:27 2008 +0000
+++ b/net/wpa_supplicant/Makefile       Sun Dec 28 12:49:25 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2008/12/11 21:18:41 reed Exp $
+# $NetBSD: Makefile,v 1.2 2008/12/28 12:49:25 obache Exp $
 #
 
 DISTNAME=      wpa_supplicant-0.6.6
@@ -9,32 +9,33 @@
 HOMEPAGE=      http://hostap.epitest.fi/wpa_supplicant/
 COMMENT=       Wireless connection client daemon for WPA, WPA2, and WEP
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 USE_LANGUAGES= c
 USE_TOOLS+=    gmake
 
+BUILD_DIRS=    wpa_supplicant
+
 INSTALLATION_DIRS=     sbin ${PKGMANDIR}/man5 ${PKGMANDIR}/man8
 
 post-extract:
        cp ${FILESDIR}/defconfig.${OPSYS} ${WRKSRC}/wpa_supplicant/.config
 
-do-build:
-       cd ${WRKSRC}/wpa_supplicant && ${SETENV} ${MAKE_ENV} ${GMAKE} all
-
 do-install:
        ${INSTALL_PROGRAM} ${WRKSRC}/wpa_supplicant/wpa_cli \
-               ${DESTDIR}/${PREFIX}/sbin/
+               ${DESTDIR}${PREFIX}/sbin/
        ${INSTALL_PROGRAM} ${WRKSRC}/wpa_supplicant/wpa_passphrase \
-               ${DESTDIR}/${PREFIX}/sbin/
+               ${DESTDIR}${PREFIX}/sbin/
        ${INSTALL_PROGRAM} ${WRKSRC}/wpa_supplicant/wpa_supplicant \
-               ${DESTDIR}/${PREFIX}/sbin/
+               ${DESTDIR}${PREFIX}/sbin/
        ${INSTALL_MAN} ${WRKSRC}/wpa_supplicant/doc/docbook/wpa_supplicant.conf.5 \
-               ${DESTDIR}/${PREFIX}/${PKGMANDIR}/man5/
+               ${DESTDIR}${PREFIX}/${PKGMANDIR}/man5/
        ${INSTALL_MAN} ${WRKSRC}/wpa_supplicant/doc/docbook/wpa_cli.8 \
-               ${DESTDIR}/${PREFIX}/${PKGMANDIR}/man8/
+               ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8/
        ${INSTALL_MAN} ${WRKSRC}/wpa_supplicant/doc/docbook/wpa_passphrase.8 \
-               ${DESTDIR}/${PREFIX}/${PKGMANDIR}/man8/
+               ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8/
        ${INSTALL_MAN} ${WRKSRC}/wpa_supplicant/doc/docbook/wpa_supplicant.8 \
-               ${DESTDIR}/${PREFIX}/${PKGMANDIR}/man8/
+               ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8/
 
 .include "../../net/libpcap/buildlink3.mk"
 



Home | Main Index | Thread Index | Old Index