1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-15 23:50:44 +00:00
freebsd-ports/net/bb/scripts/configure

22 lines
597 B
Plaintext
Raw Normal View History

#!/bin/sh
1999-08-30 14:24:37 +00:00
# $FreeBSD$
cd $WRKSRC || exit 1
# some tuneable global defines
WEBHOST=`hostname`
SLEEPVAL=300
# 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