summaryrefslogtreecommitdiff
path: root/editors/openoffice-1.0
diff options
context:
space:
mode:
authorMartin Blapp <mbr@FreeBSD.org>2003-04-27 10:31:16 +0000
committerMartin Blapp <mbr@FreeBSD.org>2003-04-27 10:31:16 +0000
commit85d9b6ac05091d97438b580af38cde1a6cf78534 (patch)
tree271361e993512737def7f8669994332c4039cdcb /editors/openoffice-1.0
parentAdd smath to the wrapper list. (diff)
Make the kde startup files use our wrapper files.
Notes
Notes: svn path=/head/; revision=79730
Diffstat (limited to 'editors/openoffice-1.0')
-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)