pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/sysutils/memtestplus +PKG_DESTDIR_SUPPORT
details: https://anonhg.NetBSD.org/pkgsrc/rev/e5b8a224876a
branches: trunk
changeset: 393363:e5b8a224876a
user: abs <abs%pkgsrc.org@localhost>
date: Tue May 19 22:26:13 2009 +0000
description:
+PKG_DESTDIR_SUPPORT
diffstat:
sysutils/memtestplus/Makefile | 21 +++++++++++++--------
1 files changed, 13 insertions(+), 8 deletions(-)
diffs (43 lines):
diff -r d51aed9979ed -r e5b8a224876a sysutils/memtestplus/Makefile
--- a/sysutils/memtestplus/Makefile Tue May 19 22:25:55 2009 +0000
+++ b/sysutils/memtestplus/Makefile Tue May 19 22:26:13 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2008/11/26 11:28:27 tron Exp $
+# $NetBSD: Makefile,v 1.10 2009/05/19 22:26:13 abs Exp $
#
# Note -- version number also in the do-install rule
@@ -23,6 +23,8 @@
SUBST_FILES.delcr= README
SUBST_SED.delcr= -e 's/.$$//g'
+PKG_DESTDIR_SUPPORT= user-destdir
+
.include "options.mk"
.include "../../mk/compiler.mk"
@@ -32,14 +34,17 @@
.endif
do-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/mdec
- ${INSTALL_DATA} ${WRKSRC}/memtest.bin ${PREFIX}/mdec/memtestplus.bin
- ${INSTALL_DATA} ${WRKSRC}/memtest ${PREFIX}/mdec/memtestplus
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/memtestplus
- ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/memtestplus
- ${INSTALL_DATA} ${WRKSRC}/FAQ ${PREFIX}/share/doc/memtestplus
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/mdec
+ ${INSTALL_DATA} ${WRKSRC}/memtest.bin \
+ ${DESTDIR}${PREFIX}/mdec/memtestplus.bin
+ ${INSTALL_DATA} ${WRKSRC}/memtest ${DESTDIR}${PREFIX}/mdec/memtestplus
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/memtestplus
+ ${INSTALL_DATA} ${WRKSRC}/README \
+ ${DESTDIR}${PREFIX}/share/doc/memtestplus
+ ${INSTALL_DATA} ${WRKSRC}/FAQ ${DESTDIR}${PREFIX}/share/doc/memtestplus
.if !empty(PKG_OPTIONS:Miso)
- ${INSTALL_DATA} ${WRKSRC}/mt${MAJVER}${MINVER}.iso ${PREFIX}/mdec/memtestplus.iso
+ ${INSTALL_DATA} ${WRKSRC}/mt${MAJVER}${MINVER}.iso \
+ ${DESTDIR}${PREFIX}/mdec/memtestplus.iso
.endif
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index