diff options
author | mbr <mbr@FreeBSD.org> | 2003-03-28 17:00:55 +0800 |
---|---|---|
committer | mbr <mbr@FreeBSD.org> | 2003-03-28 17:00:55 +0800 |
commit | 05a33e7bb9da8d4d615c91ce3ed0e7d87cd01cb9 (patch) | |
tree | 022b1f61277ac5e940d10adc3f9ea4a9a986e5b7 | |
parent | 38cb07e1018b9644a82f70bb723bc8cc46c21699 (diff) | |
download | freebsd-ports-graphics-05a33e7bb9da8d4d615c91ce3ed0e7d87cd01cb9.tar.gz freebsd-ports-graphics-05a33e7bb9da8d4d615c91ce3ed0e7d87cd01cb9.tar.zst freebsd-ports-graphics-05a33e7bb9da8d4d615c91ce3ed0e7d87cd01cb9.zip |
Workarounds for the startup wrappers.
17 files changed, 118 insertions, 50 deletions
diff --git a/editors/openoffice-1.1-devel/files/openoffice-wrapper b/editors/openoffice-1.1-devel/files/openoffice-wrapper index ab39495b87e..85c541dfa8a 100644 --- a/editors/openoffice-1.1-devel/files/openoffice-wrapper +++ b/editors/openoffice-1.1-devel/files/openoffice-wrapper @@ -1,6 +1,6 @@ #!/bin/sh # -# $FreeBSD: /tmp/pcvs/ports/editors/openoffice-1.1-devel/files/Attic/openoffice-wrapper,v 1.3 2003-03-05 23:24:05 mbr Exp $ +# $FreeBSD: /tmp/pcvs/ports/editors/openoffice-1.1-devel/files/Attic/openoffice-wrapper,v 1.4 2003-03-28 09:00:55 mbr Exp $ oopath=%%PREFIX%%/OpenOffice.org-%%BUILD_NR%%/program/ program=`echo $0 | sed -e 's|.*-||'` @@ -9,11 +9,15 @@ if [ ! $LANG ]; then export LANG=%%LANG%% fi +if [ ! -e $HOME/OpenOffice.org1.1Beta/user/config/soffice.cfg ]; then + touch $HOME/OpenOffice.org1.1Beta/user/config/soffice.cfg +fi + case $program in $0) - exec $oopath/soffice "$@" + cd $oopath && ./soffice "$@" ;; *) - exec $oopath/$program "$@" + cd $oopath && exec $program "$@" ;; esac diff --git a/editors/openoffice-1.1/files/openoffice-wrapper b/editors/openoffice-1.1/files/openoffice-wrapper index a23e5f71b60..de1bd6e7b5b 100644 --- a/editors/openoffice-1.1/files/openoffice-wrapper +++ b/editors/openoffice-1.1/files/openoffice-wrapper @@ -1,6 +1,6 @@ #!/bin/sh # -# $FreeBSD: /tmp/pcvs/ports/editors/openoffice-1.1/files/Attic/openoffice-wrapper,v 1.3 2003-03-05 23:24:05 mbr Exp $ +# $FreeBSD: /tmp/pcvs/ports/editors/openoffice-1.1/files/Attic/openoffice-wrapper,v 1.4 2003-03-28 09:00:55 mbr Exp $ oopath=%%PREFIX%%/OpenOffice.org-%%BUILD_NR%%/program/ program=`echo $0 | sed -e 's|.*-||'` @@ -9,11 +9,15 @@ if [ ! $LANG ]; then export LANG=%%LANG%% fi +if [ ! -e $HOME/OpenOffice.org1.1Beta/user/config/soffice.cfg ]; then + touch $HOME/OpenOffice.org1.1Beta/user/config/soffice.cfg +fi + case $program in $0) - exec $oopath/soffice "$@" + cd $oopath && ./soffice "$@" ;; *) - exec $oopath/$program "$@" + cd $oopath && exec $program "$@" ;; esac diff --git a/editors/openoffice-2.0-devel/files/openoffice-wrapper b/editors/openoffice-2.0-devel/files/openoffice-wrapper index 03811dd5f43..19bf8b28dbd 100644 --- a/editors/openoffice-2.0-devel/files/openoffice-wrapper +++ b/editors/openoffice-2.0-devel/files/openoffice-wrapper @@ -1,6 +1,6 @@ #!/bin/sh # -# $FreeBSD: /tmp/pcvs/ports/editors/openoffice-2.0-devel/files/Attic/openoffice-wrapper,v 1.3 2003-03-05 23:24:05 mbr Exp $ +# $FreeBSD: /tmp/pcvs/ports/editors/openoffice-2.0-devel/files/Attic/openoffice-wrapper,v 1.4 2003-03-28 09:00:55 mbr Exp $ oopath=%%PREFIX%%/OpenOffice.org-%%BUILD_NR%%/program/ program=`echo $0 | sed -e 's|.*-||'` @@ -9,11 +9,15 @@ if [ ! $LANG ]; then export LANG=%%LANG%% fi +if [ ! -e $HOME/OpenOffice.org1.1Beta/user/config/soffice.cfg ]; then + touch $HOME/OpenOffice.org1.1Beta/user/config/soffice.cfg +fi + case $program in $0) - exec $oopath/soffice "$@" + cd $oopath && ./soffice "$@" ;; *) - exec $oopath/$program "$@" + cd $oopath && exec $program "$@" ;; esac diff --git a/editors/openoffice-3-devel/files/openoffice-wrapper b/editors/openoffice-3-devel/files/openoffice-wrapper index 147391298f1..d4f1f5c2e90 100644 --- a/editors/openoffice-3-devel/files/openoffice-wrapper +++ b/editors/openoffice-3-devel/files/openoffice-wrapper @@ -9,11 +9,15 @@ if [ ! $LANG ]; then export LANG=%%LANG%% fi +if [ ! -e $HOME/OpenOffice.org1.1Beta/user/config/soffice.cfg ]; then + touch $HOME/OpenOffice.org1.1Beta/user/config/soffice.cfg +fi + case $program in $0) - exec $oopath/soffice "$@" + cd $oopath && ./soffice "$@" ;; *) - exec $oopath/$program "$@" + cd $oopath && exec $program "$@" ;; esac diff --git a/editors/openoffice-3/files/openoffice-wrapper b/editors/openoffice-3/files/openoffice-wrapper index 3eb9a5dadab..2fbc82c17e5 100644 --- a/editors/openoffice-3/files/openoffice-wrapper +++ b/editors/openoffice-3/files/openoffice-wrapper @@ -1,6 +1,6 @@ #!/bin/sh # -# $FreeBSD: /tmp/pcvs/ports/editors/openoffice-3/files/openoffice-wrapper,v 1.3 2003-03-05 23:24:05 mbr Exp $ +# $FreeBSD: /tmp/pcvs/ports/editors/openoffice-3/files/openoffice-wrapper,v 1.4 2003-03-28 09:00:55 mbr Exp $ oopath=%%PREFIX%%/OpenOffice.org-%%BUILD_NR%%/program/ program=`echo $0 | sed -e 's|.*-||'` @@ -9,11 +9,15 @@ if [ ! $LANG ]; then export LANG=%%LANG%% fi +if [ ! -e $HOME/OpenOffice.org1.1Beta/user/config/soffice.cfg ]; then + touch $HOME/OpenOffice.org1.1Beta/user/config/soffice.cfg +fi + case $program in $0) - exec $oopath/soffice "$@" + cd $oopath && ./soffice "$@" ;; *) - exec $oopath/$program "$@" + cd $oopath && exec $program "$@" ;; esac diff --git a/editors/openoffice-devel/files/openoffice-wrapper b/editors/openoffice-devel/files/openoffice-wrapper index dcd4e2d2105..2e005b566d8 100644 --- a/editors/openoffice-devel/files/openoffice-wrapper +++ b/editors/openoffice-devel/files/openoffice-wrapper @@ -1,6 +1,6 @@ #!/bin/sh # -# $FreeBSD: /tmp/pcvs/ports/editors/openoffice-devel/files/Attic/openoffice-wrapper,v 1.3 2003-03-05 23:24:05 mbr Exp $ +# $FreeBSD: /tmp/pcvs/ports/editors/openoffice-devel/files/Attic/openoffice-wrapper,v 1.4 2003-03-28 09:00:55 mbr Exp $ oopath=%%PREFIX%%/OpenOffice.org-%%BUILD_NR%%/program/ program=`echo $0 | sed -e 's|.*-||'` @@ -9,11 +9,15 @@ if [ ! $LANG ]; then export LANG=%%LANG%% fi +if [ ! -e $HOME/OpenOffice.org1.1Beta/user/config/soffice.cfg ]; then + touch $HOME/OpenOffice.org1.1Beta/user/config/soffice.cfg +fi + case $program in $0) - exec $oopath/soffice "$@" + cd $oopath && ./soffice "$@" ;; *) - exec $oopath/$program "$@" + cd $oopath && exec $program "$@" ;; esac diff --git a/editors/openoffice.org-1.1-devel/files/openoffice-wrapper b/editors/openoffice.org-1.1-devel/files/openoffice-wrapper index 5693e944b84..7a1ba2e71b4 100644 --- a/editors/openoffice.org-1.1-devel/files/openoffice-wrapper +++ b/editors/openoffice.org-1.1-devel/files/openoffice-wrapper @@ -1,6 +1,6 @@ #!/bin/sh # -# $FreeBSD: /tmp/pcvs/ports/editors/openoffice.org-1.1-devel/files/Attic/openoffice-wrapper,v 1.3 2003-03-05 23:24:05 mbr Exp $ +# $FreeBSD: /tmp/pcvs/ports/editors/openoffice.org-1.1-devel/files/Attic/openoffice-wrapper,v 1.4 2003-03-28 09:00:55 mbr Exp $ oopath=%%PREFIX%%/OpenOffice.org-%%BUILD_NR%%/program/ program=`echo $0 | sed -e 's|.*-||'` @@ -9,11 +9,15 @@ if [ ! $LANG ]; then export LANG=%%LANG%% fi +if [ ! -e $HOME/OpenOffice.org1.1Beta/user/config/soffice.cfg ]; then + touch $HOME/OpenOffice.org1.1Beta/user/config/soffice.cfg +fi + case $program in $0) - exec $oopath/soffice "$@" + cd $oopath && ./soffice "$@" ;; *) - exec $oopath/$program "$@" + cd $oopath && exec $program "$@" ;; esac diff --git a/editors/openoffice.org-1.1/files/openoffice-wrapper b/editors/openoffice.org-1.1/files/openoffice-wrapper index e780a65aeeb..f2cb2d07b06 100644 --- a/editors/openoffice.org-1.1/files/openoffice-wrapper +++ b/editors/openoffice.org-1.1/files/openoffice-wrapper @@ -1,6 +1,6 @@ #!/bin/sh # -# $FreeBSD: /tmp/pcvs/ports/editors/openoffice.org-1.1/files/Attic/openoffice-wrapper,v 1.3 2003-03-05 23:24:05 mbr Exp $ +# $FreeBSD: /tmp/pcvs/ports/editors/openoffice.org-1.1/files/Attic/openoffice-wrapper,v 1.4 2003-03-28 09:00:55 mbr Exp $ oopath=%%PREFIX%%/OpenOffice.org-%%BUILD_NR%%/program/ program=`echo $0 | sed -e 's|.*-||'` @@ -9,11 +9,15 @@ if [ ! $LANG ]; then export LANG=%%LANG%% fi +if [ ! -e $HOME/OpenOffice.org1.1Beta/user/config/soffice.cfg ]; then + touch $HOME/OpenOffice.org1.1Beta/user/config/soffice.cfg +fi + case $program in $0) - exec $oopath/soffice "$@" + cd $oopath && ./soffice "$@" ;; *) - exec $oopath/$program "$@" + cd $oopath && exec $program "$@" ;; esac diff --git a/editors/openoffice.org-2-RC/files/openoffice-wrapper b/editors/openoffice.org-2-RC/files/openoffice-wrapper index a0e1c8efe50..765852adc98 100644 --- a/editors/openoffice.org-2-RC/files/openoffice-wrapper +++ b/editors/openoffice.org-2-RC/files/openoffice-wrapper @@ -1,6 +1,6 @@ #!/bin/sh # -# $FreeBSD: /tmp/pcvs/ports/editors/openoffice.org-2-RC/files/Attic/openoffice-wrapper,v 1.3 2003-03-05 23:24:05 mbr Exp $ +# $FreeBSD: /tmp/pcvs/ports/editors/openoffice.org-2-RC/files/Attic/openoffice-wrapper,v 1.4 2003-03-28 09:00:55 mbr Exp $ oopath=%%PREFIX%%/OpenOffice.org-%%BUILD_NR%%/program/ program=`echo $0 | sed -e 's|.*-||'` @@ -9,11 +9,15 @@ if [ ! $LANG ]; then export LANG=%%LANG%% fi +if [ ! -e $HOME/OpenOffice.org1.1Beta/user/config/soffice.cfg ]; then + touch $HOME/OpenOffice.org1.1Beta/user/config/soffice.cfg +fi + case $program in $0) - exec $oopath/soffice "$@" + cd $oopath && ./soffice "$@" ;; *) - exec $oopath/$program "$@" + cd $oopath && exec $program "$@" ;; esac diff --git a/editors/openoffice.org-2-devel/files/openoffice-wrapper b/editors/openoffice.org-2-devel/files/openoffice-wrapper index 235266613d8..e24792b3178 100644 --- a/editors/openoffice.org-2-devel/files/openoffice-wrapper +++ b/editors/openoffice.org-2-devel/files/openoffice-wrapper @@ -1,6 +1,6 @@ #!/bin/sh # -# $FreeBSD: /tmp/pcvs/ports/editors/openoffice.org-2-devel/files/Attic/openoffice-wrapper,v 1.3 2003-03-05 23:24:05 mbr Exp $ +# $FreeBSD: /tmp/pcvs/ports/editors/openoffice.org-2-devel/files/Attic/openoffice-wrapper,v 1.4 2003-03-28 09:00:55 mbr Exp $ oopath=%%PREFIX%%/OpenOffice.org-%%BUILD_NR%%/program/ program=`echo $0 | sed -e 's|.*-||'` @@ -9,11 +9,15 @@ if [ ! $LANG ]; then export LANG=%%LANG%% fi +if [ ! -e $HOME/OpenOffice.org1.1Beta/user/config/soffice.cfg ]; then + touch $HOME/OpenOffice.org1.1Beta/user/config/soffice.cfg +fi + case $program in $0) - exec $oopath/soffice "$@" + cd $oopath && ./soffice "$@" ;; *) - exec $oopath/$program "$@" + cd $oopath && exec $program "$@" ;; esac diff --git a/editors/openoffice.org-2.0-devel/files/openoffice-wrapper b/editors/openoffice.org-2.0-devel/files/openoffice-wrapper index 9f4924c712a..102cca3fb8e 100644 --- a/editors/openoffice.org-2.0-devel/files/openoffice-wrapper +++ b/editors/openoffice.org-2.0-devel/files/openoffice-wrapper @@ -1,6 +1,6 @@ #!/bin/sh # -# $FreeBSD: /tmp/pcvs/ports/editors/openoffice.org-2.0-devel/files/Attic/openoffice-wrapper,v 1.3 2003-03-05 23:24:05 mbr Exp $ +# $FreeBSD: /tmp/pcvs/ports/editors/openoffice.org-2.0-devel/files/Attic/openoffice-wrapper,v 1.4 2003-03-28 09:00:55 mbr Exp $ oopath=%%PREFIX%%/OpenOffice.org-%%BUILD_NR%%/program/ program=`echo $0 | sed -e 's|.*-||'` @@ -9,11 +9,15 @@ if [ ! $LANG ]; then export LANG=%%LANG%% fi +if [ ! -e $HOME/OpenOffice.org1.1Beta/user/config/soffice.cfg ]; then + touch $HOME/OpenOffice.org1.1Beta/user/config/soffice.cfg +fi + case $program in $0) - exec $oopath/soffice "$@" + cd $oopath && ./soffice "$@" ;; *) - exec $oopath/$program "$@" + cd $oopath && exec $program "$@" ;; esac diff --git a/editors/openoffice.org-2.0/files/openoffice-wrapper b/editors/openoffice.org-2.0/files/openoffice-wrapper index 13e8160197a..776e1b2f284 100644 --- a/editors/openoffice.org-2.0/files/openoffice-wrapper +++ b/editors/openoffice.org-2.0/files/openoffice-wrapper @@ -1,6 +1,6 @@ #!/bin/sh # -# $FreeBSD: /tmp/pcvs/ports/editors/openoffice.org-2.0/files/Attic/openoffice-wrapper,v 1.3 2003-03-05 23:24:05 mbr Exp $ +# $FreeBSD: /tmp/pcvs/ports/editors/openoffice.org-2.0/files/Attic/openoffice-wrapper,v 1.4 2003-03-28 09:00:55 mbr Exp $ oopath=%%PREFIX%%/OpenOffice.org-%%BUILD_NR%%/program/ program=`echo $0 | sed -e 's|.*-||'` @@ -9,11 +9,15 @@ if [ ! $LANG ]; then export LANG=%%LANG%% fi +if [ ! -e $HOME/OpenOffice.org1.1Beta/user/config/soffice.cfg ]; then + touch $HOME/OpenOffice.org1.1Beta/user/config/soffice.cfg +fi + case $program in $0) - exec $oopath/soffice "$@" + cd $oopath && ./soffice "$@" ;; *) - exec $oopath/$program "$@" + cd $oopath && exec $program "$@" ;; esac diff --git a/editors/openoffice.org-2/files/openoffice-wrapper b/editors/openoffice.org-2/files/openoffice-wrapper index a2249fa84c5..2288862c0c0 100644 --- a/editors/openoffice.org-2/files/openoffice-wrapper +++ b/editors/openoffice.org-2/files/openoffice-wrapper @@ -1,6 +1,6 @@ #!/bin/sh # -# $FreeBSD: /tmp/pcvs/ports/editors/openoffice.org-2/files/Attic/openoffice-wrapper,v 1.3 2003-03-05 23:24:05 mbr Exp $ +# $FreeBSD: /tmp/pcvs/ports/editors/openoffice.org-2/files/Attic/openoffice-wrapper,v 1.4 2003-03-28 09:00:55 mbr Exp $ oopath=%%PREFIX%%/OpenOffice.org-%%BUILD_NR%%/program/ program=`echo $0 | sed -e 's|.*-||'` @@ -9,11 +9,15 @@ if [ ! $LANG ]; then export LANG=%%LANG%% fi +if [ ! -e $HOME/OpenOffice.org1.1Beta/user/config/soffice.cfg ]; then + touch $HOME/OpenOffice.org1.1Beta/user/config/soffice.cfg +fi + case $program in $0) - exec $oopath/soffice "$@" + cd $oopath && ./soffice "$@" ;; *) - exec $oopath/$program "$@" + cd $oopath && exec $program "$@" ;; esac diff --git a/editors/openoffice.org-3-RC/files/openoffice-wrapper b/editors/openoffice.org-3-RC/files/openoffice-wrapper index b3b6a4ba2df..b05070d48bf 100644 --- a/editors/openoffice.org-3-RC/files/openoffice-wrapper +++ b/editors/openoffice.org-3-RC/files/openoffice-wrapper @@ -1,6 +1,6 @@ #!/bin/sh # -# $FreeBSD: /tmp/pcvs/ports/editors/openoffice.org-3-RC/files/Attic/openoffice-wrapper,v 1.3 2003-03-05 23:24:05 mbr Exp $ +# $FreeBSD: /tmp/pcvs/ports/editors/openoffice.org-3-RC/files/Attic/openoffice-wrapper,v 1.4 2003-03-28 09:00:55 mbr Exp $ oopath=%%PREFIX%%/OpenOffice.org-%%BUILD_NR%%/program/ program=`echo $0 | sed -e 's|.*-||'` @@ -9,11 +9,15 @@ if [ ! $LANG ]; then export LANG=%%LANG%% fi +if [ ! -e $HOME/OpenOffice.org1.1Beta/user/config/soffice.cfg ]; then + touch $HOME/OpenOffice.org1.1Beta/user/config/soffice.cfg +fi + case $program in $0) - exec $oopath/soffice "$@" + cd $oopath && ./soffice "$@" ;; *) - exec $oopath/$program "$@" + cd $oopath && exec $program "$@" ;; esac diff --git a/editors/openoffice.org-3-devel/files/openoffice-wrapper b/editors/openoffice.org-3-devel/files/openoffice-wrapper index dce65821651..4f27efa5bc9 100644 --- a/editors/openoffice.org-3-devel/files/openoffice-wrapper +++ b/editors/openoffice.org-3-devel/files/openoffice-wrapper @@ -1,6 +1,6 @@ #!/bin/sh # -# $FreeBSD: /tmp/pcvs/ports/editors/openoffice.org-3-devel/files/Attic/openoffice-wrapper,v 1.3 2003-03-05 23:24:05 mbr Exp $ +# $FreeBSD: /tmp/pcvs/ports/editors/openoffice.org-3-devel/files/Attic/openoffice-wrapper,v 1.4 2003-03-28 09:00:55 mbr Exp $ oopath=%%PREFIX%%/OpenOffice.org-%%BUILD_NR%%/program/ program=`echo $0 | sed -e 's|.*-||'` @@ -9,11 +9,15 @@ if [ ! $LANG ]; then export LANG=%%LANG%% fi +if [ ! -e $HOME/OpenOffice.org1.1Beta/user/config/soffice.cfg ]; then + touch $HOME/OpenOffice.org1.1Beta/user/config/soffice.cfg +fi + case $program in $0) - exec $oopath/soffice "$@" + cd $oopath && ./soffice "$@" ;; *) - exec $oopath/$program "$@" + cd $oopath && exec $program "$@" ;; esac diff --git a/editors/openoffice.org-3/files/openoffice-wrapper b/editors/openoffice.org-3/files/openoffice-wrapper index fc640b16e68..afabcaaec25 100644 --- a/editors/openoffice.org-3/files/openoffice-wrapper +++ b/editors/openoffice.org-3/files/openoffice-wrapper @@ -1,6 +1,6 @@ #!/bin/sh # -# $FreeBSD: /tmp/pcvs/ports/editors/openoffice.org-3/files/Attic/openoffice-wrapper,v 1.3 2003-03-05 23:24:05 mbr Exp $ +# $FreeBSD: /tmp/pcvs/ports/editors/openoffice.org-3/files/Attic/openoffice-wrapper,v 1.4 2003-03-28 09:00:55 mbr Exp $ oopath=%%PREFIX%%/OpenOffice.org-%%BUILD_NR%%/program/ program=`echo $0 | sed -e 's|.*-||'` @@ -9,11 +9,15 @@ if [ ! $LANG ]; then export LANG=%%LANG%% fi +if [ ! -e $HOME/OpenOffice.org1.1Beta/user/config/soffice.cfg ]; then + touch $HOME/OpenOffice.org1.1Beta/user/config/soffice.cfg +fi + case $program in $0) - exec $oopath/soffice "$@" + cd $oopath && ./soffice "$@" ;; *) - exec $oopath/$program "$@" + cd $oopath && exec $program "$@" ;; esac diff --git a/editors/openoffice.org-vcltesttool/files/openoffice-wrapper b/editors/openoffice.org-vcltesttool/files/openoffice-wrapper index f1d7b28ffc4..beaa6b4bc14 100644 --- a/editors/openoffice.org-vcltesttool/files/openoffice-wrapper +++ b/editors/openoffice.org-vcltesttool/files/openoffice-wrapper @@ -1,6 +1,6 @@ #!/bin/sh # -# $FreeBSD: /tmp/pcvs/ports/editors/openoffice.org-vcltesttool/files/Attic/openoffice-wrapper,v 1.3 2003-03-05 23:24:05 mbr Exp $ +# $FreeBSD: /tmp/pcvs/ports/editors/openoffice.org-vcltesttool/files/Attic/openoffice-wrapper,v 1.4 2003-03-28 09:00:55 mbr Exp $ oopath=%%PREFIX%%/OpenOffice.org-%%BUILD_NR%%/program/ program=`echo $0 | sed -e 's|.*-||'` @@ -9,11 +9,15 @@ if [ ! $LANG ]; then export LANG=%%LANG%% fi +if [ ! -e $HOME/OpenOffice.org1.1Beta/user/config/soffice.cfg ]; then + touch $HOME/OpenOffice.org1.1Beta/user/config/soffice.cfg +fi + case $program in $0) - exec $oopath/soffice "$@" + cd $oopath && ./soffice "$@" ;; *) - exec $oopath/$program "$@" + cd $oopath && exec $program "$@" ;; esac |