summaryrefslogtreecommitdiff
path: root/editors/openoffice-1.0/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'editors/openoffice-1.0/Makefile')
-rw-r--r--editors/openoffice-1.0/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/editors/openoffice-1.0/Makefile b/editors/openoffice-1.0/Makefile
index 70ca26e523b6..8b9237dfdb14 100644
--- a/editors/openoffice-1.0/Makefile
+++ b/editors/openoffice-1.0/Makefile
@@ -538,6 +538,9 @@ do-build:
pre-install:
@${SED} -e 's#%%PREFIX%%#${PREFIX}#g' < ${FILESDIR}/oo_setup.resp \
> ${WRKSRC}/../instsetoo/unxfbsd.pro/${LANG_EXT}/normal/oo_setup.resp
+ # fix KDE-files to use our wrapper skrips.
+ @${FIND} ${WRKSRC}/../sysui/unxfbsd.pro | ${EGREP} "\.desktop$$" | ${XARGS} \
+ ${PERL} -pi -e 's|Exec="\<progpath\>/program/|Exec="${PREFIX}/bin/openoffice-|'
do-install:
.if !defined(DISPLAY)