summaryrefslogtreecommitdiff
path: root/emulators/m1/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/m1/Makefile')
-rw-r--r--emulators/m1/Makefile14
1 files changed, 8 insertions, 6 deletions
diff --git a/emulators/m1/Makefile b/emulators/m1/Makefile
index 070cafcf8b3..3d669bf12d0 100644
--- a/emulators/m1/Makefile
+++ b/emulators/m1/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2007/07/29 05:18:37 jlam Exp $
+# $NetBSD: Makefile,v 1.10 2008/03/03 19:21:38 jlam Exp $
DISTNAME= m1074b2-lnx
PKGNAME= m1-0.7.4c
@@ -14,16 +14,18 @@ COMMENT= Arcade video and pinball game sound emulator (Linux binary)
EMUL_PLATFORMS= linux-i386
EMUL_MODULES.linux= compat
+PKG_DESTDIR_SUPPORT= user-destdir
+
WRKSRC= ${WRKDIR}/m1-0.7.4
BUILD_DIRS= # empty
INSTALLATION_DIRS= bin
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/m1 ${PREFIX}/bin
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/m1
- ${INSTALL_DATA} ${WRKSRC}/m1.txt ${PREFIX}/share/doc/m1
- ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/m1
- ${INSTALL_DATA} ${WRKSRC}/m1.ini ${PREFIX}/share/examples/m1
+ ${INSTALL_PROGRAM} ${WRKSRC}/m1 ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/m1
+ ${INSTALL_DATA} ${WRKSRC}/m1.txt ${DESTDIR}${PREFIX}/share/doc/m1
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/examples/m1
+ ${INSTALL_DATA} ${WRKSRC}/m1.ini ${DESTDIR}${PREFIX}/share/examples/m1
.include "../../mk/bsd.pkg.mk"