summaryrefslogtreecommitdiff
path: root/emulators
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
commiteb10f5b9616d6c7232290b971ac7b62ed46e2d2e (patch)
tree4e206f26afcc7bc33fb55eeb29e2f42792e4f5b6 /emulators
parent466f68f113618fca28edbf292ab895956b302f87 (diff)
downloadpkgsrc-eb10f5b9616d6c7232290b971ac7b62ed46e2d2e.tar.gz
Install a simple script into ${PREFIX}/bin to run openmsx.
Diffstat (limited to 'emulators')
-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