mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-08 23:06:56 +00:00
eb11b51ed9
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 ;-)
22 lines
642 B
Bash
22 lines
642 B
Bash
#!/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
|