summaryrefslogtreecommitdiff
path: root/editors/openoffice.org-3-RC/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'editors/openoffice.org-3-RC/Makefile')
-rw-r--r--editors/openoffice.org-3-RC/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/editors/openoffice.org-3-RC/Makefile b/editors/openoffice.org-3-RC/Makefile
index 112114dc9e0e..86009d61796b 100644
--- a/editors/openoffice.org-3-RC/Makefile
+++ b/editors/openoffice.org-3-RC/Makefile
@@ -524,6 +524,9 @@ pre-install:
-e 's#%%PORTVERSION%%#${BUILD_NR}#g' \
${WRKSRC}/../instsetoo/unxfbsd.pro/${LANG_EXT}/normal/oo_setup.resp
@${MKDIR} -p ${WRKSRC}/../solver/644/unxfbsd.pro/bin/${LANG_EXT}/osl/
+ # 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_${RELEASE_NR}-|'
do-install:
.if !defined(DISPLAY)