summaryrefslogtreecommitdiff
path: root/emulators/openmsx
diff options
context:
space:
mode:
authorxtraeme <xtraeme@pkgsrc.org>2004-06-05 17:26:55 +0000
committerxtraeme <xtraeme@pkgsrc.org>2004-06-05 17:26:55 +0000
commit6df29f000034fc3cf153b17b81390fc78285afdd (patch)
tree4e206f26afcc7bc33fb55eeb29e2f42792e4f5b6 /emulators/openmsx
parent2e38c3dc88e5a05cfeba40cd03aa7ce5e01ad1a3 (diff)
downloadpkgsrc-6df29f000034fc3cf153b17b81390fc78285afdd.tar.gz
Install a simple script into ${PREFIX}/bin to run openmsx.
Diffstat (limited to 'emulators/openmsx')
-rw-r--r--emulators/openmsx/Makefile9
-rw-r--r--emulators/openmsx/PLIST3
2 files changed, 10 insertions, 2 deletions
diff --git a/emulators/openmsx/Makefile b/emulators/openmsx/Makefile
index 7123318d96f..209b2cffd8f 100644
--- a/emulators/openmsx/Makefile
+++ b/emulators/openmsx/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2004/05/29 11:28:43 xtraeme Exp $
+# $NetBSD: Makefile,v 1.2 2004/06/05 17:26:55 xtraeme Exp $
#
DISTNAME= openmsx-0.4.0
@@ -30,6 +30,13 @@ SUBST_FILES.prefix= build/custom.mk
SUBST_SED.prefix= -e "s,/opt/openMSX,${PREFIX}/openmsx,"
SUBST_MESSAGE.prefix= "Fixing installation directory."
+post-install:
+ @( \
+ ${ECHO_MSG} "#!/bin/sh"; \
+ ${ECHO_MSG} "exec ${PREFIX}/openmsx/bin/openmsx" \
+ ) > ${WRKSRC}/openmsx.sh
+ ${INSTALL_SCRIPT} ${WRKSRC}/openmsx.sh ${PREFIX}/bin/openmsx
+
.include "../../devel/SDL/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../graphics/SDL_image/buildlink3.mk"
diff --git a/emulators/openmsx/PLIST b/emulators/openmsx/PLIST
index 482228ce54c..a531cd327bb 100644
--- a/emulators/openmsx/PLIST
+++ b/emulators/openmsx/PLIST
@@ -1,4 +1,5 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2004/05/29 11:28:46 xtraeme Exp $
+@comment $NetBSD: PLIST,v 1.2 2004/06/05 17:26:55 xtraeme Exp $
+bin/openmsx
openmsx/Contrib/README.cbios
openmsx/Contrib/cbios/CB_MAIN.BIN
openmsx/Contrib/cbios/CB_SH.BIN