pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/emulators/openmsx Install a simple script into ${PREFI...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3f73c80c91b2
branches:  trunk
changeset: 476235:3f73c80c91b2
user:      xtraeme <xtraeme%pkgsrc.org@localhost>
date:      Sat Jun 05 17:26:55 2004 +0000

description:
Install a simple script into ${PREFIX}/bin to run openmsx.

diffstat:

 emulators/openmsx/Makefile |  9 ++++++++-
 emulators/openmsx/PLIST    |  3 ++-
 2 files changed, 10 insertions(+), 2 deletions(-)

diffs (33 lines):

diff -r 743feddc8e6d -r 3f73c80c91b2 emulators/openmsx/Makefile
--- a/emulators/openmsx/Makefile        Sat Jun 05 17:14:14 2004 +0000
+++ b/emulators/openmsx/Makefile        Sat Jun 05 17:26:55 2004 +0000
@@ -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_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 -r 743feddc8e6d -r 3f73c80c91b2 emulators/openmsx/PLIST
--- a/emulators/openmsx/PLIST   Sat Jun 05 17:14:14 2004 +0000
+++ b/emulators/openmsx/PLIST   Sat Jun 05 17:26:55 2004 +0000
@@ -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



Home | Main Index | Thread Index | Old Index