From 2e8978edb184d6082ea0a03beffdda04218d6399 Mon Sep 17 00:00:00 2001 From: Edwin Groothuis Date: Sun, 28 Sep 2003 10:49:23 +0000 Subject: [PATCH] Make devel/tide localbase clean. --- .../tide/files/patch-ports::unix::install.sh | 34 +++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 devel/tide/files/patch-ports::unix::install.sh diff --git a/devel/tide/files/patch-ports::unix::install.sh b/devel/tide/files/patch-ports::unix::install.sh new file mode 100644 index 000000000000..0064c3edb4d9 --- /dev/null +++ b/devel/tide/files/patch-ports::unix::install.sh @@ -0,0 +1,34 @@ +--- ports/unix/install.sh.orig Sun Sep 28 03:46:54 2003 ++++ ports/unix/install.sh Sun Sep 28 03:47:48 2003 +@@ -15,7 +15,7 @@ + echo "that supports shell functions." + echo + echo "On your system, you may try one out of these shells:" +- for p in /bin /usr/bin /usr/local/bin; do ++ for p in /bin /usr/bin ${LOCALBASE}/bin; do + for s in ksh bash; do + if [ -f $p/$s ]; then echo $p/$s; fi + done +@@ -98,7 +98,7 @@ + strip tools/sdfmt + fi + +-rm -f /usr/local/bin/tide /usr/local/bin/sdfmt ++rm -f ${PREFIX}/bin/tide ${PREFIX}/bin/sdfmt + + (cd classes; + txcm -i config +@@ -146,9 +146,9 @@ + install -o bin -g bin -C -m 0644 docs/Changes.sd $T3XDIR/doc/tool-changes.sd + + if [ $SYMLINK = yes ]; then +- ln -fs $T3XDIR/tide/tide /usr/local/bin/tide +- ln -fs $T3XDIR/bin/sdfmt /usr/local/bin/sdfmt ++ ln -fs $T3XDIR/tide/tide ${PREFIX}/bin/tide ++ ln -fs $T3XDIR/bin/sdfmt ${PREFIX}/bin/sdfmt + else +- binlink $T3XDIR/tide/tide /usr/local/bin/tide +- binlink $T3XDIR/bin/sdfmt /usr/local/bin/sdfmt ++ binlink $T3XDIR/tide/tide ${PREFIX}/bin/tide ++ binlink $T3XDIR/bin/sdfmt ${PREFIX}/bin/sdfmt + fi