1996-11-17 20:02:13 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
1999-08-30 14:24:37 +00:00
|
|
|
# $FreeBSD$
|
1997-10-13 20:19:25 +00:00
|
|
|
|
1996-11-17 20:02:13 +00:00
|
|
|
cd $WRKSRC || exit 1
|
|
|
|
|
1999-06-27 14:23:08 +00:00
|
|
|
# some tuneable global defines
|
|
|
|
WEBHOST=`hostname`
|
|
|
|
SLEEPVAL=300
|
1996-11-17 20:02:13 +00:00
|
|
|
|
1999-06-27 14:23:08 +00:00
|
|
|
# globally set BBHOME here
|
1998-05-18 21:52:07 +00:00
|
|
|
perl -pi -e "s=!!PREFIX!!=$PREFIX=" ${WRKSRC}/runbb.sh
|
1999-06-27 14:23:08 +00:00
|
|
|
# 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
|
1998-05-18 21:52:07 +00:00
|
|
|
perl -pi -e "s=!!HOSTNAME!!=$HOSTNAME=g" ${WRKSRC}/etc/bb-hosts
|