pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/emulators/arcem Add DESTDIR to post-install target - u...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9fdc6f7cf4d0
branches:  trunk
changeset: 568765:9fdc6f7cf4d0
user:      abs <abs%pkgsrc.org@localhost>
date:      Thu Dec 17 22:12:08 2009 +0000

description:
Add DESTDIR to post-install target - unable to test destdir as this fails to build on amd64

diffstat:

 emulators/arcem/Makefile |  16 ++++++++++------
 1 files changed, 10 insertions(+), 6 deletions(-)

diffs (32 lines):

diff -r 927cc50b3ff2 -r 9fdc6f7cf4d0 emulators/arcem/Makefile
--- a/emulators/arcem/Makefile  Thu Dec 17 22:08:09 2009 +0000
+++ b/emulators/arcem/Makefile  Thu Dec 17 22:12:08 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2007/02/06 18:43:14 joerg Exp $
+# $NetBSD: Makefile,v 1.16 2009/12/17 22:12:08 abs Exp $
 #
 
 DISTNAME=      arcem-1.00-src
@@ -29,13 +29,17 @@
 
 MAKE_ENV+=     SYSTEM=X
 
+INSTALLATION_DIRS+=    share/arcem
+
 post-install:
-       ${INSTALL_DATA_DIR} ${PREFIX}/share/arcem
-       ${INSTALL_DATA} ${WRKDIR}/linux.rom ${PREFIX}/share/arcem/ROM
-       ${INSTALL_DATA} ${WRKDIR}/HardImage1 ${PREFIX}/share/arcem/HardImage1
+       ${INSTALL_DATA} ${WRKDIR}/linux.rom \
+               ${DESTDIR}${PREFIX}/share/arcem/ROM
+       ${INSTALL_DATA} ${WRKDIR}/HardImage1 \
+               ${DESTDIR}${PREFIX}/share/arcem/HardImage1
        ${INSTALL_DATA} ${FILESDIR}/dot.arcemrc \
-               ${PREFIX}/share/arcem/dot.arcemrc
-       ${INSTALL_DATA} ${WRKSRC}/hexcmos ${PREFIX}/share/arcem/hexcmos
+               ${DESTDIR}${PREFIX}/share/arcem/dot.arcemrc
+       ${INSTALL_DATA} ${WRKSRC}/hexcmos \
+               ${DESTDIR}${PREFIX}/share/arcem/hexcmos
 
 .include "../../x11/libXext/buildlink3.mk"
 .include "../../x11/xextproto/buildlink3.mk"



Home | Main Index | Thread Index | Old Index