summaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
authorabs <abs@pkgsrc.org>2009-12-17 22:12:08 +0000
committerabs <abs@pkgsrc.org>2009-12-17 22:12:08 +0000
commitebcb2cd5c75e2fcde5909b8cbfbb14e56c469060 (patch)
tree3679bfae5b38a1f68371a1e2198f22733a2bfb3d /emulators
parent5baf58b2f3829d59c7c8f031feac603a5a1f3302 (diff)
downloadpkgsrc-ebcb2cd5c75e2fcde5909b8cbfbb14e56c469060.tar.gz
Add DESTDIR to post-install target - unable to test destdir as this fails to build on amd64
Diffstat (limited to 'emulators')
-rw-r--r--emulators/arcem/Makefile16
1 files changed, 10 insertions, 6 deletions
diff --git a/emulators/arcem/Makefile b/emulators/arcem/Makefile
index 0327d1de4e0..148c974b218 100644
--- a/emulators/arcem/Makefile
+++ b/emulators/arcem/Makefile
@@ -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 @@ USE_TOOLS+= gmake
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"