diff options
author | edwin <edwin@FreeBSD.org> | 2003-09-28 18:49:23 +0800 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2003-09-28 18:49:23 +0800 |
commit | a62b462f232ce396e1807edcbd54ecabb7d57a07 (patch) | |
tree | 0f49d85713c386a81cce982e8a824e8187ad221e /devel/tide | |
parent | 3348a40164419d96f8eba52fd02b58005a442c45 (diff) | |
download | freebsd-ports-graphics-a62b462f232ce396e1807edcbd54ecabb7d57a07.tar.gz freebsd-ports-graphics-a62b462f232ce396e1807edcbd54ecabb7d57a07.tar.zst freebsd-ports-graphics-a62b462f232ce396e1807edcbd54ecabb7d57a07.zip |
Make devel/tide localbase clean.
Diffstat (limited to 'devel/tide')
-rw-r--r-- | devel/tide/files/patch-ports::unix::install.sh | 34 |
1 files changed, 34 insertions, 0 deletions
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 00000000000..0064c3edb4d --- /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 |