summaryrefslogtreecommitdiffstats
path: root/editors/openoffice-1.1/Makefile
diff options
context:
space:
mode:
authormbr <mbr@FreeBSD.org>2003-04-27 10:31:16 +0000
committermbr <mbr@FreeBSD.org>2003-04-27 10:31:16 +0000
commitbda3738980d59ad586140896223e554765406dfb (patch)
treed4ec3a8378abacb8f150524fa6795538fcff2b91 /editors/openoffice-1.1/Makefile
parent35a3ece910d682166d6afa612e49eab68b8a28c9 (diff)
downloadFreeBSD-ports-bda3738980d59ad586140896223e554765406dfb.zip
FreeBSD-ports-bda3738980d59ad586140896223e554765406dfb.tar.gz
Make the kde startup files use our wrapper files.
Diffstat (limited to 'editors/openoffice-1.1/Makefile')
-rw-r--r--editors/openoffice-1.1/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/editors/openoffice-1.1/Makefile b/editors/openoffice-1.1/Makefile
index 112114d..86009d6 100644
--- a/editors/openoffice-1.1/Makefile
+++ b/editors/openoffice-1.1/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)
OpenPOWER on IntegriCloud