diff options
author | xtraeme <xtraeme@pkgsrc.org> | 2004-06-05 18:50:59 +0000 |
---|---|---|
committer | xtraeme <xtraeme@pkgsrc.org> | 2004-06-05 18:50:59 +0000 |
commit | c87e0f8140f2bb13aab03e9e53a79d924d89bdaa (patch) | |
tree | 180896db5d16d9fe3fb34f0b8dd8555387b3c65c /emulators | |
parent | 09897349eadc46d72ff14ff80c63ffd8d80d0474 (diff) | |
download | pkgsrc-c87e0f8140f2bb13aab03e9e53a79d924d89bdaa.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')
-rw-r--r-- | emulators/openmsx/Makefile | 11 |
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" |