mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-05 22:43:24 +00:00
23ba558a82
- 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
13 lines
359 B
Bash
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
|