summaryrefslogtreecommitdiff
path: root/emulators/openmsx/Makefile
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/openmsx/Makefile
parent466f68f113618fca28edbf292ab895956b302f87 (diff)
downloadpkgsrc-eb10f5b9616d6c7232290b971ac7b62ed46e2d2e.tar.gz
Install a simple script into ${PREFIX}/bin to run openmsx.
Diffstat (limited to 'emulators/openmsx/Makefile')
-rw-r--r--emulators/openmsx/Makefile9
1 files changed, 8 insertions, 1 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"