diff options
author | Satoshi Taoka <taoka@FreeBSD.org> | 1999-05-06 13:47:46 +0000 |
---|---|---|
committer | Satoshi Taoka <taoka@FreeBSD.org> | 1999-05-06 13:47:46 +0000 |
commit | 8a4b81194c1c9a497c2e84027c7d41be869c65e9 (patch) | |
tree | 031a630a61fe3cc0194ed2f25645bbcb75a69767 /x11-fm/binder/scripts/post-install | |
parent | A simple text editor for the X on TkStep. (Japanese) (diff) |
A file manager on X window with TkStep.
PR: 11423
Submitted by: KIRIYAMA Kazuhiko <kiri@pis.toba-cmt.ac.jp>
Notes
Notes:
svn path=/head/; revision=18549
Diffstat (limited to '')
-rw-r--r-- | x11-fm/binder/scripts/post-install | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/x11-fm/binder/scripts/post-install b/x11-fm/binder/scripts/post-install new file mode 100644 index 000000000000..68d6db344e2a --- /dev/null +++ b/x11-fm/binder/scripts/post-install @@ -0,0 +1,41 @@ +#!/bin/sh + +installdir=${PREFIX}/JDE/Binder; export installdir + +case ${LANGUAGE} in + Japanese) + for f in bin/Binder.app bin/Processes.app misc/Mounter/Mounter.app; do + ${PERL} -pi -e ' + s/^(exec[ \t]+)wishstep[^ \t]*([ \t]+.*)$/$1wishstep$ENV{VERSION}jp$2/ + ' ${installdir}/${f} + done + ;; + *) + ;; +esac +for f in Binder Binder.app Processes.app Mounter.app shortcut; do + case ${f} in + Binder.app|Processes.app) + target=${installdir}/bin/${f} + ;; + Mounter.app) + target=${installdir}/misc/Mounter/${f} + ;; + Binder) + target=${installdir}/defaults/${f} + ;; + shortcut) + target=${installdir}/lib/${f} + ;; + esac + ${PERL} -pi -e ' + s/^([ \t]*set[ \t]+ttblibPath[ \t]+)"[^"]*"$/$1"$ENV{installdir}"/; + s/^([ \t]*set[ \t]+ttblibPath[ \t]+)\{[^\}]*\}$/$1\{$ENV{installdir}\}/; + s@^([a-zA-Z.]+;)/usr/local/([a-zA-Z/.]+;[a-zA-Z]+)$@$1$ENV{PREFIX}/$2@; + ' ${target} +done + +${LN} -sf ${installdir}/bin/Binder.app ${PREFIX}/bin +${LN} -sf ${installdir}/bin/Processes.app ${PREFIX}/bin +${LN} -sf ${installdir}/misc/Mounter/Mounter.app ${PREFIX}/bin +${LN} -sf Mounter.FreeBSD ${installdir}/misc/Mounter/Mounter |