1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-15 23:50:44 +00:00
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