pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc jmms's suggestions in tech-pkg for emulators/openmsx:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/716c65b65d1d
branches:  trunk
changeset: 476242:716c65b65d1d
user:      xtraeme <xtraeme%pkgsrc.org@localhost>
date:      Sat Jun 05 18:50:59 2004 +0000

description:
jmms's suggestions in tech-pkg for emulators/openmsx:

        o ${ECHO_MSG} -> ${ECHO}
        o /bin/sh -> ${SH}
        o Build/install the script in the right target.
        o Add missing "$@" to pass parameters to the app.

And bump PKGREVISION because the PLIST was modified.

diffstat:

 doc/CHANGES                |   3 ++-
 emulators/openmsx/Makefile |  11 +++++++----
 2 files changed, 9 insertions(+), 5 deletions(-)

diffs (44 lines):

diff -r 59278bf96353 -r 716c65b65d1d doc/CHANGES
--- a/doc/CHANGES       Sat Jun 05 18:05:54 2004 +0000
+++ b/doc/CHANGES       Sat Jun 05 18:50:59 2004 +0000
@@ -1,4 +1,4 @@
-$NetBSD: CHANGES,v 1.6145 2004/06/05 17:47:12 xtraeme Exp $
+$NetBSD: CHANGES,v 1.6146 2004/06/05 18:50:59 xtraeme Exp $
 
 Changes to the packages collection and infrastructure in 2004:
 
@@ -2799,3 +2799,4 @@
        Updated raine to 0.40.2 [xtraeme 2004-06-05]
        Updated mew to 2.3nb1 [minskim 2004-06-05]
        Added weechat-0.0.6 [xtraeme 2004-06-05]
+       Updated openmsx to 0.4.0nb1 [xtraeme 2004-06-05]
diff -r 59278bf96353 -r 716c65b65d1d emulators/openmsx/Makefile
--- a/emulators/openmsx/Makefile        Sat Jun 05 18:05:54 2004 +0000
+++ b/emulators/openmsx/Makefile        Sat Jun 05 18:50:59 2004 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.2 2004/06/05 17:26:55 xtraeme Exp $
+# $NetBSD: Makefile,v 1.3 2004/06/05 18:50:59 xtraeme Exp $
 #
 
 DISTNAME=              openmsx-0.4.0
+PKGREVISION=           1
 CATEGORIES=            emulators
 MASTER_SITES=          ${MASTER_SITE_SOURCEFORGE:=openmsx/}
 
@@ -30,11 +31,13 @@
 SUBST_SED.prefix=      -e "s,/opt/openMSX,${PREFIX}/openmsx,"
 SUBST_MESSAGE.prefix=  "Fixing installation directory."
 
-post-install:
+post-build:
        @(                                                      \
-       ${ECHO_MSG} "#!/bin/sh";                                \
-       ${ECHO_MSG} "exec ${PREFIX}/openmsx/bin/openmsx"        \
+       ${ECHO} "#!${SH}";                                      \
+       ${ECHO} 'exec ${PREFIX}/openmsx/bin/openmsx $$@'        \
        ) > ${WRKSRC}/openmsx.sh
+
+post-install:
        ${INSTALL_SCRIPT} ${WRKSRC}/openmsx.sh ${PREFIX}/bin/openmsx
 
 .include "../../devel/SDL/buildlink3.mk"



Home | Main Index | Thread Index | Old Index