aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge C A Reid <greid@FreeBSD.org>2001-06-08 21:53:06 +0000
committerGeorge C A Reid <greid@FreeBSD.org>2001-06-08 21:53:06 +0000
commit643c643fab6669a5124e60f9f97acb3a6f37c6b5 (patch)
treeb706702b85e030d465b4dc42a267aec791d111d4
parent1c79d21eb1053f93fede2c6630c508023eaf005a (diff)
downloadports-643c643fab6669a5124e60f9f97acb3a6f37c6b5.tar.gz
ports-643c643fab6669a5124e60f9f97acb3a6f37c6b5.zip
Ooops...add a quick hack to make the example scripts work.
Notes
Notes: svn path=/head/; revision=43665
-rw-r--r--audio/sbagen/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/audio/sbagen/Makefile b/audio/sbagen/Makefile
index d8a2189e04ee..d80907cd319e 100644
--- a/audio/sbagen/Makefile
+++ b/audio/sbagen/Makefile
@@ -27,6 +27,11 @@ DOCFILES= sbagen.txt theory.txt theory2.txt
do-build:
(cd ${WRKSRC} && ${CC} ${CFLAGS} sbagen.c -o sbagen -lm)
+post-patch:
+.for F in ${SHAREFILES}
+ @${PERL} -pi -e 's,/bin/bash,/bin/sh,g' ${WRKSRC}/$F
+.endfor
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/sbagen ${PREFIX}/bin
${MKDIR} ${PREFIX}/share/sbagen