diff options
author | xtraeme <xtraeme@pkgsrc.org> | 2004-06-05 18:55:39 +0000 |
---|---|---|
committer | xtraeme <xtraeme@pkgsrc.org> | 2004-06-05 18:55:39 +0000 |
commit | d9db8b40229fc52804edcbe3249ae9c76587b19b (patch) | |
tree | c0d31538a36b963cf8679cdba459e55afd3cec0c /emulators/raine | |
parent | c87e0f8140f2bb13aab03e9e53a79d924d89bdaa (diff) | |
download | pkgsrc-d9db8b40229fc52804edcbe3249ae9c76587b19b.tar.gz |
jmmv's suggestions in tech-pkg:
o ${ECHO_MSG} -> ${ECHO}
o /bin/sh -> ${SH}
o Add missing "$@" to pass parameters to the app.
o Build/install the script in the right target.
Diffstat (limited to 'emulators/raine')
-rw-r--r-- | emulators/raine/Makefile | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/emulators/raine/Makefile b/emulators/raine/Makefile index e8ce5d74c0c..20c5069b7f3 100644 --- a/emulators/raine/Makefile +++ b/emulators/raine/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.4 2004/06/05 17:14:14 xtraeme Exp $ +# $NetBSD: Makefile,v 1.5 2004/06/05 18:55:39 xtraeme Exp $ # DISTNAME= raines-0.40.2 @@ -25,11 +25,13 @@ REPLACE_PERL= makedep # XXX Really? ONLY_FOR_PLATFORM= *-*-i386 -pre-install: - @( \ - ${ECHO_MSG} "#!/bin/sh"; \ - ${ECHO_MSG} "cd ${PREFIX}/share/raine && ./raine" \ +post-build: + @( \ + ${ECHO} "#!${SH}"; \ + ${ECHO} "cd ${PREFIX}/share/raine && ./raine $$@" \ ) > ${WRKSRC}/raine.sh + +pre-install: @${INSTALL_SCRIPT} ${WRKSRC}/raine.sh ${PREFIX}/bin/raine .include "../../devel/allegro/buildlink3.mk" |