1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-13 23:36:08 +00:00
freebsd-ports/net/bb/scripts/configure
Andreas Klemm 23ba558a82 - Update port to new version 1.06c
- Please note, that a Windows NT client (v1.02) is also available !!!
- Make port web server independent, you have to decide, which one
  to choose from the ports collection
- made port PREFIX clean
- every patch adds !!PREFIX!! and !!HOSTNAME!! hooks
  the configure script uses perl, to substitute it with actual
  PREFIX and hostname
1998-05-18 21:52:07 +00:00

13 lines
359 B
Bash

#!/bin/sh
# $Id: configure,v 1.3 1997/10/13 20:19:25 andreas Exp $
cd $WRKSRC || exit 1
HOSTNAME=`hostname`
perl -pi -e "s=!!PREFIX!!=$PREFIX=" ${WRKSRC}/www/bb-pager.sh
perl -pi -e "s=!!HOSTNAME!!=$HOSTNAME=" ${WRKSRC}/www/bb-pager.sh
perl -pi -e "s=!!PREFIX!!=$PREFIX=" ${WRKSRC}/runbb.sh
perl -pi -e "s=!!HOSTNAME!!=$HOSTNAME=g" ${WRKSRC}/etc/bb-hosts