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

22 lines
642 B
Plaintext
Raw Normal View History

#!/bin/sh
# $Id: configure,v 1.4 1998/05/18 21:52:07 andreas Exp $
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