summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2009-02-10 00:42:02 +0000
committerjoerg <joerg@pkgsrc.org>2009-02-10 00:42:02 +0000
commita317cbe44382885e1bcbcc27248912809b52500b (patch)
tree86123f07766ae0c4f52b82fab87f2c32f2374215 /sysutils
parentc8d852327b89313441617de11fba3e3fb5d28a55 (diff)
downloadpkgsrc-a317cbe44382885e1bcbcc27248912809b52500b.tar.gz
DESTDIR support.
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/ipw-firmware/Makefile17
1 files changed, 10 insertions, 7 deletions
diff --git a/sysutils/ipw-firmware/Makefile b/sysutils/ipw-firmware/Makefile
index e7fe725be6e..633c3cd2bcc 100644
--- a/sysutils/ipw-firmware/Makefile
+++ b/sysutils/ipw-firmware/Makefile
@@ -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 @@ MAINTAINER= Damien.Bergamini@Free.FR
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_BIN_ON_FTP= ${RESTRICTED}
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"