summaryrefslogtreecommitdiff
path: root/emulators/raine
diff options
context:
space:
mode:
authorxtraeme <xtraeme@pkgsrc.org>2004-06-05 18:55:39 +0000
committerxtraeme <xtraeme@pkgsrc.org>2004-06-05 18:55:39 +0000
commit163397dcaba79f6de5370f8e47cf8e61dc176919 (patch)
treec0d31538a36b963cf8679cdba459e55afd3cec0c /emulators/raine
parent749d07db100d51f9ab5ead245de550c33e96f725 (diff)
downloadpkgsrc-163397dcaba79f6de5370f8e47cf8e61dc176919.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/Makefile12
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"