pkgsrc-Changes-HG archive

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

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



details:   https://anonhg.NetBSD.org/pkgsrc/rev/cb66dbc0be64
branches:  trunk
changeset: 554174:cb66dbc0be64
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Tue Feb 10 00:42:02 2009 +0000

description:
DESTDIR support.

diffstat:

 sysutils/ipw-firmware/Makefile |  17 ++++++++++-------
 1 files changed, 10 insertions(+), 7 deletions(-)

diffs (38 lines):

diff -r dda6618b5905 -r cb66dbc0be64 sysutils/ipw-firmware/Makefile
--- a/sysutils/ipw-firmware/Makefile    Tue Feb 10 00:29:59 2009 +0000
+++ b/sysutils/ipw-firmware/Makefile    Tue Feb 10 00:42:02 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2007/02/22 19:27:11 wiz Exp $
+# $NetBSD: Makefile,v 1.6 2009/02/10 00:42:02 joerg Exp $
 
 DISTNAME=      ipw2100-fw-1.2
 PKGNAME=       ipw-firmware-1.0
@@ -10,6 +10,8 @@
 HOMEPAGE=      http://damien.bergamini.free.fr/ipw/
 COMMENT=       Firmware binary images for ipw(4) driver
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 LICENSE=       intel-ipw-license
 
 WRKSRC=                ${WRKDIR}
@@ -23,12 +25,13 @@
 NO_CONFIGURE=  yes
 NO_BUILD=      yes
 
+INSTALLATION_DIRS=     libdata/if_ipw
+
 do-install:
-       ${INSTALL_DATA_DIR} ${PREFIX}/libdata/if_ipw
-       ${INSTALL_DATA} ${WRKSRC}/LICENSE ${PREFIX}/libdata/if_ipw
-       ${INSTALL_DATA} ${WRKSRC}/ipw2100-1.2.fw ${PREFIX}/libdata/if_ipw
-       ${INSTALL_DATA} ${WRKSRC}/ipw2100-1.2-i.fw ${PREFIX}/libdata/if_ipw
-       ${INSTALL_DATA} ${WRKSRC}/ipw2100-1.2-p.fw ${PREFIX}/libdata/if_ipw
-       ${INSTALL_DATA} ${FILESDIR}/README ${PREFIX}/libdata/if_ipw
+       ${INSTALL_DATA} ${WRKSRC}/LICENSE ${DESTDIR}${PREFIX}/libdata/if_ipw
+       ${INSTALL_DATA} ${WRKSRC}/ipw2100-1.2.fw ${DESTDIR}${PREFIX}/libdata/if_ipw
+       ${INSTALL_DATA} ${WRKSRC}/ipw2100-1.2-i.fw ${DESTDIR}${PREFIX}/libdata/if_ipw
+       ${INSTALL_DATA} ${WRKSRC}/ipw2100-1.2-p.fw ${DESTDIR}${PREFIX}/libdata/if_ipw
+       ${INSTALL_DATA} ${FILESDIR}/README ${DESTDIR}${PREFIX}/libdata/if_ipw
 
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index