freebsd-ports/archivers/deepforest/scripts/post-install
2003-05-08 11:00:15 +00:00

15 lines
336 B
Bash

#!/bin/sh
case ${LANGUAGE} in
Japanese)
for f in DeepForest.app; do
${REINPLACE_CMD} -i "" -E -e \
"s/^(exec[[:space:]]+)wishstep[^[:space:]]*([[:space:]]+.*)\$/\1wishstep${VERSION}jp\2/" \
${PREFIX}/JDE/DeepForest/${f}
done
;;
*)
;;
esac
${LN} -sf ${PREFIX}/JDE/DeepForest/DeepForest.app ${PREFIX}/bin