1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-05 22:43:24 +00:00
freebsd-ports/net/bb/scripts/configure
Andreas Klemm b33951690b updated PKGNAME from bb-1.04h to bb-1.04
removed not needed #NO_CDROM= entry
install forgotten bbnet and sendmsg script/prg
updated PLIST
added bb.sh script to FILESDIR
install bb.sh script from FILESDIR to ${PREFIX}/etc/rc.d
add dirrm statements in PLIST
remove bb symlink in www/data after the last dir. has been removed
added $Id$ in configure script
add post-install script, that inserts the correct local-path (PREFIX)
1997-10-13 20:19:25 +00:00

18 lines
318 B
Bash

#!/bin/sh
# $Id$
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