summaryrefslogtreecommitdiff
path: root/net/bb/scripts
diff options
context:
space:
mode:
authorAndreas Klemm <andreas@FreeBSD.org>1999-06-27 14:23:08 +0000
committerAndreas Klemm <andreas@FreeBSD.org>1999-06-27 14:23:08 +0000
commiteb11b51ed920d9d5e656085008d8f65926b60bc4 (patch)
treedcc27a356b3cfe69ad17f592cddac6a6911bf6ae /net/bb/scripts
parentUpgrade to xscreensaver-3.16 (diff)
Long awaited upgrade to version 1.2a
It lastet so long, because of personal time constraints and based on the fact, that I had to do the very time consuming task, to revamp the whole big brother installation heavily. This could be avoided, if Sean could provide a Makefile with a real install: target and not the drainbamaged "unpack, compile and let the whole sh**^H^H^H^Hbunch remain here(tm)" philosophy." (me lucky one, that apsfilter has changed about 1-2 years ago ;-) - make install target now copies the workdir to ${PREFIX}/bb and then moves or removes files and directories as needed - revamped client configuration and introduced a ${PREFIX}/share/bb/bbclients directory. Hope you like it this way ;-)
Notes
Notes: svn path=/head/; revision=19832
Diffstat (limited to 'net/bb/scripts')
-rw-r--r--net/bb/scripts/configure17
1 files changed, 13 insertions, 4 deletions
diff --git a/net/bb/scripts/configure b/net/bb/scripts/configure
index 2ec829e1a972..16fe9538db35 100644
--- a/net/bb/scripts/configure
+++ b/net/bb/scripts/configure
@@ -1,12 +1,21 @@
#!/bin/sh
-# $Id: configure,v 1.3 1997/10/13 20:19:25 andreas Exp $
+# $Id: configure,v 1.4 1998/05/18 21:52:07 andreas Exp $
cd $WRKSRC || exit 1
-HOSTNAME=`hostname`
+# some tuneable global defines
+WEBHOST=`hostname`
+SLEEPVAL=300
-perl -pi -e "s=!!PREFIX!!=$PREFIX=" ${WRKSRC}/www/bb-pager.sh
-perl -pi -e "s=!!HOSTNAME!!=$HOSTNAME=" ${WRKSRC}/www/bb-pager.sh
+# globally set BBHOME here
perl -pi -e "s=!!PREFIX!!=$PREFIX=" ${WRKSRC}/runbb.sh
+# globally adjust sleepvalue
+perl -pi -e "s=!!BBSLEEP!!=$SLEEPVAL=" ${WRKSRC}/runbb.sh
+# set paths for bbclient tar archives
+perl -pi -e "s=!!PREFIX!!=$PREFIX=g" ${WRKSRC}/doc/bbclient
+# set webhost
+perl -pi -e "s=!!WEBHOST!!=$WEBHOST=g" ${WRKSRC}/web/bb-ack.sh
+perl -pi -e "s=!!WEBHOST!!=$WEBHOST=g" ${WRKSRC}/web/bb-hist.sh
+# set hostname
perl -pi -e "s=!!HOSTNAME!!=$HOSTNAME=g" ${WRKSRC}/etc/bb-hosts