summaryrefslogtreecommitdiff
path: root/x11-fm/binder/scripts/post-install
diff options
context:
space:
mode:
authorKiriyama Kazuhiko <kiri@FreeBSD.org>2003-05-08 07:43:45 +0000
committerKiriyama Kazuhiko <kiri@FreeBSD.org>2003-05-08 07:43:45 +0000
commit0615eaed4c265a360411df45e4af9335c1dc6271 (patch)
tree057552e0f179ff7a6347c14b3f2fa783f67d82e3 /x11-fm/binder/scripts/post-install
parentUpdate to version 1.0.2 of Trove4j. (diff)
Set MASTER_SITES fetchable and correct reinplace commands.
Notes
Notes: svn path=/head/; revision=80431
Diffstat (limited to '')
-rw-r--r--x11-fm/binder/scripts/post-install16
1 files changed, 8 insertions, 8 deletions
diff --git a/x11-fm/binder/scripts/post-install b/x11-fm/binder/scripts/post-install
index 68d6db344e2a..a746119ec114 100644
--- a/x11-fm/binder/scripts/post-install
+++ b/x11-fm/binder/scripts/post-install
@@ -5,9 +5,9 @@ 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}
+ ${REINPLACE_CMD} -E -e \
+ "s/^(exec[[:space:]]+)wishstep[[:space:]]*([[:space:]]+.*)\$/\1wishstep${VERSION}jp\2/" \
+ ${installdir}/${f}
done
;;
*)
@@ -28,11 +28,11 @@ for f in Binder Binder.app Processes.app Mounter.app shortcut; do
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}
+ ${REINPLACE_CMD} -E \
+ -e "s@^([[:space:]]*set[[:space:]]+ttblibPath[[:space:]]+)\"[^\"]*\"\$@\1\"${installdir}\"@" \
+ -e "s@^([[:space:]]*set[[:space:]]+ttblibPath[[:space:]]+)\{[^\}]*\}\$@\1\{${installdir}\}@" \
+ -e "s@^([a-zA-Z.]+;)/usr/local/([a-zA-Z/.]+;[a-zA-Z]+)\$@\1${PREFIX}/\2@" \
+ ${target}
done
${LN} -sf ${installdir}/bin/Binder.app ${PREFIX}/bin