freebsd-ports/net-im/amsn/scripts/post-configure
Cheng-Lung Sung 3f876547de update to 0.93.
PR:		ports/71375
Submitted by:	voise@tiscali.es
Approved by:	maintainer, mentor (vanilla)
2004-10-12 03:45:42 +00:00

19 lines
427 B
Bash

#! /bin/sh
## 'wish' is not recognized in FreeBSD
## we should use 'wish8.4' instead
## this script fixes the first line in amsn and alarm.tcl scripts
cd $WRKSRC
mv alarm.tcl alarm.tcl.orig
echo \#!$PREFIX/bin/wish8.4 > alarm.tcl
echo -n \#\#old: >> alarm.tcl
cat alarm.tcl.orig >> alarm.tcl
rm alarm.tcl.orig
mv amsn amsn.orig
echo \#!$PREFIX/bin/wish8.4 > amsn
echo -n \#\#old: >> amsn
cat amsn.orig >> amsn
rm amsn.orig