freebsd-ports/archivers/deepforest/scripts/post-install
Satoshi Taoka e65ad72021 A simple compress utilty using on JDE.
PR:		11423
Submitted by:	KIRIYAMA Kazuhiko <kiri@pis.toba-cmt.ac.jp>
1999-05-06 13:53:30 +00:00

16 lines
300 B
Bash

#!/bin/sh
case ${LANGUAGE} in
Japanese)
for f in DeepForest.app; do
${PERL} -pi -e '
s/^(exec[ \t]+)wishstep[^ \t]*([ \t]+.*)$/$1wishstep$ENV{VERSION}jp$2/
' ${PREFIX}/JDE/DeepForest/${f}
done
;;
*)
;;
esac
${LN} -sf ${PREFIX}/JDE/DeepForest/DeepForest.app ${PREFIX}/bin