pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/sysutils/memtest86 Support staged installation.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0115237a9ad2
branches:  trunk
changeset: 568407:0115237a9ad2
user:      asau <asau%pkgsrc.org@localhost>
date:      Sat Dec 12 19:34:46 2009 +0000

description:
Support staged installation.

diffstat:

 sysutils/memtest86/Makefile |  14 ++++++++------
 1 files changed, 8 insertions(+), 6 deletions(-)

diffs (32 lines):

diff -r 47b1275ae848 -r 0115237a9ad2 sysutils/memtest86/Makefile
--- a/sysutils/memtest86/Makefile       Sat Dec 12 19:19:00 2009 +0000
+++ b/sysutils/memtest86/Makefile       Sat Dec 12 19:34:46 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.21 2009/05/22 17:23:06 zafer Exp $
+# $NetBSD: Makefile,v 1.22 2009/12/12 19:34:46 asau Exp $
 #
 
 DISTNAME=              memtest86-3.4
@@ -13,15 +13,17 @@
 
 ONLY_FOR_PLATFORM=     NetBSD-*-i386 Linux-*-i386
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 USE_TOOLS+=            gmake
 
 DIST_SUBDIR=           ${PKGNAME}
 
 do-install:
-       ${INSTALL_DATA_DIR} ${PREFIX}/mdec
-       ${INSTALL_DATA} ${WRKSRC}/memtest ${PREFIX}/mdec
-       ${INSTALL_DATA} ${WRKSRC}/memtest.bin ${PREFIX}/mdec
-       ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/memtest
-       ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/memtest
+       ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/mdec
+       ${INSTALL_DATA} ${WRKSRC}/memtest ${DESTDIR}${PREFIX}/mdec
+       ${INSTALL_DATA} ${WRKSRC}/memtest.bin ${DESTDIR}${PREFIX}/mdec
+       ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/memtest
+       ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/memtest
 
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index