pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/sysutils/wpi-firmware DESTDIR support.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8109378967c3
branches:  trunk
changeset: 546851:8109378967c3
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Mon Sep 08 13:37:33 2008 +0000

description:
DESTDIR support.

diffstat:

 sysutils/wpi-firmware/Makefile |  13 ++++++++-----
 1 files changed, 8 insertions(+), 5 deletions(-)

diffs (30 lines):

diff -r b71e8bd3fcf5 -r 8109378967c3 sysutils/wpi-firmware/Makefile
--- a/sysutils/wpi-firmware/Makefile    Mon Sep 08 12:59:17 2008 +0000
+++ b/sysutils/wpi-firmware/Makefile    Mon Sep 08 13:37:33 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2006/07/02 13:35:55 rpaulo Exp $
+# $NetBSD: Makefile,v 1.2 2008/09/08 13:37:33 joerg Exp $
 #
 
 DISTNAME=              ipw3945-ucode-1.13
@@ -11,13 +11,16 @@
 HOMEPAGE=              http://bughost.org/ipw3945/
 COMMENT=               Firmware binary images for wpi(4) driver
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 NO_CONFIGURE=          yes
 NO_BUILD=              yes
 
+INSTALLATION_DIRS=     libdata/if_wpi
+
 do-install:
-       ${INSTALL_DATA_DIR} ${PREFIX}/libdata/if_wpi
-       ${INSTALL_DATA} ${WRKSRC}/LICENSE.ipw3945-ucode ${PREFIX}/libdata/if_wpi
-       ${INSTALL_DATA} ${WRKSRC}/README.ipw3945-ucode ${PREFIX}/libdata/if_wpi
-       ${INSTALL_DATA} ${WRKSRC}/ipw3945.ucode ${PREFIX}/libdata/if_wpi
+       ${INSTALL_DATA} ${WRKSRC}/LICENSE.ipw3945-ucode ${DESTDIR}${PREFIX}/libdata/if_wpi
+       ${INSTALL_DATA} ${WRKSRC}/README.ipw3945-ucode ${DESTDIR}${PREFIX}/libdata/if_wpi
+       ${INSTALL_DATA} ${WRKSRC}/ipw3945.ucode ${DESTDIR}${PREFIX}/libdata/if_wpi
 
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index