From 749d07db100d51f9ab5ead245de550c33e96f725 Mon Sep 17 00:00:00 2001 From: xtraeme Date: Sat, 5 Jun 2004 18:50:59 +0000 Subject: 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. --- emulators/openmsx/Makefile | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'emulators') 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" -- cgit v1.2.3