summaryrefslogtreecommitdiff
path: root/emulators/openmsx
diff options
context:
space:
mode:
authorxtraeme <xtraeme>2004-06-05 18:50:59 +0000
committerxtraeme <xtraeme>2004-06-05 18:50:59 +0000
commitd817b7816184becae98a938c8dbedf1d7e89838f (patch)
tree180896db5d16d9fe3fb34f0b8dd8555387b3c65c /emulators/openmsx
parent1213855273e86a67061a4cd4cdcf1461aace0012 (diff)
downloadpkgsrc-d817b7816184becae98a938c8dbedf1d7e89838f.tar.gz
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 (limited to 'emulators/openmsx')
-rw-r--r--emulators/openmsx/Makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/emulators/openmsx/Makefile b/emulators/openmsx/Makefile
index 209b2cffd8f..fe17c0b4343 100644
--- a/emulators/openmsx/Makefile
+++ b/emulators/openmsx/Makefile
@@ -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_FILES.prefix= build/custom.mk
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"