diff options
author | kiri <kiri@FreeBSD.org> | 2003-05-08 15:43:45 +0800 |
---|---|---|
committer | kiri <kiri@FreeBSD.org> | 2003-05-08 15:43:45 +0800 |
commit | ff83173734e0dddf50adccfe261f86bf971e762d (patch) | |
tree | 9248f194875118530bcdace2e85884c46d109cfc /x11-fm/binder/scripts | |
parent | e9952d661daf99b62ba6b1feab89700a3be98c60 (diff) | |
download | freebsd-ports-gnome-ff83173734e0dddf50adccfe261f86bf971e762d.tar.gz freebsd-ports-gnome-ff83173734e0dddf50adccfe261f86bf971e762d.tar.zst freebsd-ports-gnome-ff83173734e0dddf50adccfe261f86bf971e762d.zip |
Set MASTER_SITES fetchable and correct reinplace commands.
Diffstat (limited to 'x11-fm/binder/scripts')
-rw-r--r-- | x11-fm/binder/scripts/post-install | 16 |
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 |