1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-07 22:58:11 +00:00
freebsd-ports/net/bb/scripts/configure
Andreas Klemm 7253116e7c Updated bb port to version 1.0.
Corrected an error in configure script.
1997-01-04 15:24:36 +00:00

16 lines
310 B
Bash

#!/bin/sh
cd $WRKSRC || exit 1
mv runbb.sh runbb.sh.orig
sed -e "s:/home/sean/bb:$PREFIX/bb:g" \
< runbb.sh.orig \
> runbb.sh
HOSTNAME=`hostname`
mv $WRKSRC/etc/bb-hosts $WRKSRC/etc/bb-hosts.orig
sed -e "s:@@IP@@:172.16.1.1:" -e "s:@@HOST@@:$HOSTNAME:g" \
< $FILESDIR/bb-hosts \
> $WRKSRC/etc/bb-hosts