summaryrefslogtreecommitdiff
path: root/emulators/mame
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2020-10-20 11:14:41 +0000
committernia <nia@pkgsrc.org>2020-10-20 11:14:41 +0000
commit3f1ada438aab702c7f47d3578038fd03fac781d6 (patch)
treeda4b2583e25385816fe34ac757ec4e1a28fe7d17 /emulators/mame
parentc9b641888be8dac047f4742b966a473f59dab4b6 (diff)
downloadpkgsrc-3f1ada438aab702c7f47d3578038fd03fac781d6.tar.gz
mame: Install the correct executable name
Diffstat (limited to 'emulators/mame')
-rw-r--r--emulators/mame/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/emulators/mame/Makefile b/emulators/mame/Makefile
index 848906b8569..d190fd3f27d 100644
--- a/emulators/mame/Makefile
+++ b/emulators/mame/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.123 2020/09/30 09:22:48 wiz Exp $
+# $NetBSD: Makefile,v 1.124 2020/10/20 11:14:41 nia Exp $
DISTNAME= mame-0.225
CATEGORIES= emulators
@@ -92,7 +92,11 @@ pre-build:
${RM} -f ${WRKDIR}/.buildlink/include/png*
do-install:
+.if ${MACHINE_ARCH} == "x86_64"
${INSTALL_PROGRAM} ${WRKSRC}/mame64 ${DESTDIR}${PREFIX}/bin/mame
+.else
+ ${INSTALL_PROGRAM} ${WRKSRC}/mame ${DESTDIR}${PREFIX}/bin/mame
+.endif
set -e; \
for prg in castool chdman floptool imgtool jedutil ldresample ldverify \
nltool nlwav pngcmp regrep romcmp split srcclean unidasm; do \