diff options
author | Satoshi Taoka <taoka@FreeBSD.org> | 1999-05-06 13:39:52 +0000 |
---|---|---|
committer | Satoshi Taoka <taoka@FreeBSD.org> | 1999-05-06 13:39:52 +0000 |
commit | 78d6c8b87a925855006c6e42cb9b488c2e2f8ee3 (patch) | |
tree | 76f4df3ec27dbb2c2721b5edf9ffa08195ace62f /editors/muggy/scripts | |
parent | 07d7c1719b48006310d515c314ecaf48acbedf54 (diff) |
Notes
Diffstat (limited to 'editors/muggy/scripts')
-rw-r--r-- | editors/muggy/scripts/post-install | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/editors/muggy/scripts/post-install b/editors/muggy/scripts/post-install new file mode 100644 index 000000000000..0c4682353cb0 --- /dev/null +++ b/editors/muggy/scripts/post-install @@ -0,0 +1,30 @@ +#!/bin/sh + +installdir=${PREFIX}/JDE/Muggy; export installdir + +case ${LANGUAGE} in + Japanese) + for f in Muggy.app; do + ${PERL} -pi -e ' + s/^(exec[ \t]+)wishstep[^ \t]*([ \t]+.*)$/$1wishstep$ENV{VERSION}jp$2/ + ' ${installdir}/bin/${f} + done + ;; + *) + ;; +esac +for f in Muggy Muggy.app; do + case ${f} in + Muggy.app|PrefMuggy.app) + target=${installdir}/bin/${f} + ;; + Muggy) + target=${installdir}/defaults/${f} + ;; + esac + ${PERL} -pi -e ' + s@^([ \t]*set[ \t]+Jlib[ \t]+)"[^"]*"$@$1"$ENV{installdir}/"@; + ' ${target} +done + +${LN} -sf ${installdir}/bin/Muggy.app ${PREFIX}/bin |