summaryrefslogtreecommitdiff
path: root/comms/smstools3/files/patch-install.sh
diff options
context:
space:
mode:
authorMartin Matuska <mm@FreeBSD.org>2009-06-15 08:13:38 +0000
committerMartin Matuska <mm@FreeBSD.org>2009-06-15 08:13:38 +0000
commit6203b5885e087262c475215815accbb2e478410a (patch)
treeb84e58fa0810133b26aa0f40c17589dca7688358 /comms/smstools3/files/patch-install.sh
parent- Fix build with USB 2.0 (diff)
- Update to 3.1.5
- Fix build and install with custom PREFIX [1] Reported by: QAT [1]
Diffstat (limited to 'comms/smstools3/files/patch-install.sh')
-rw-r--r--comms/smstools3/files/patch-install.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/comms/smstools3/files/patch-install.sh b/comms/smstools3/files/patch-install.sh
index 607cefb5a788..18a117ccbb3c 100644
--- a/comms/smstools3/files/patch-install.sh
+++ b/comms/smstools3/files/patch-install.sh
@@ -5,7 +5,7 @@
BINDIR=$1
if [ -z "$BINDIR" ]; then
- BINDIR=/usr/local/bin
-+ BINDIR=/usr/local
++ BINDIR=%%PREFIX%%/bin
fi
makepath()
@@ -21,7 +21,7 @@
-
echo "Installing config file"
-copy examples/smsd.conf.easy /etc/smsd.conf
-+copy examples/smsd.conf.easy /usr/local/etc/smsd.conf
++copy examples/smsd.conf.easy %%PREFIX%%/etc/smsd.conf
echo "Creating minimum spool directories"
makedir /var/spool
@@ -48,4 +48,4 @@
- echo "You have installed executables to $BINDIR,"
- echo "you should manually edit $SMS3SCRIPT script."
-fi
-+echo 'Please dont forget to edit /usr/local/etc/smsd.conf.'
++echo 'Please dont forget to edit %%PREFIX%%/etc/smsd.conf.'