summaryrefslogtreecommitdiff
path: root/emulators/raine
diff options
context:
space:
mode:
authorxtraeme <xtraeme>2004-06-05 18:55:39 +0000
committerxtraeme <xtraeme>2004-06-05 18:55:39 +0000
commit9f372cb763025edd41290600fd68711e6b6049e3 (patch)
treec0d31538a36b963cf8679cdba459e55afd3cec0c /emulators/raine
parentd817b7816184becae98a938c8dbedf1d7e89838f (diff)
downloadpkgsrc-9f372cb763025edd41290600fd68711e6b6049e3.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"