summaryrefslogtreecommitdiff
path: root/editors/koffice-kde4/Makefile
diff options
context:
space:
mode:
authorJimmy Olgeni <olgeni@FreeBSD.org>2001-08-21 11:25:02 +0000
committerJimmy Olgeni <olgeni@FreeBSD.org>2001-08-21 11:25:02 +0000
commit7d7115781d32a909990def69b0f2a92179932567 (patch)
tree21b586517db8929b51a96b96e85de5556695798f /editors/koffice-kde4/Makefile
parentUpdate to 0.99.1. (diff)
KIllustrator has been renamed to Kontour, but the Illustration template
still has the "killustrator" icon name. Fix both the icon name and program title with a simple regexp in post-patch target. Before this, the Illustration template had the default document icon.
Notes
Notes: svn path=/head/; revision=46578
Diffstat (limited to 'editors/koffice-kde4/Makefile')
-rw-r--r--editors/koffice-kde4/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/editors/koffice-kde4/Makefile b/editors/koffice-kde4/Makefile
index 215db94dfe96..e0a23e8c2ebf 100644
--- a/editors/koffice-kde4/Makefile
+++ b/editors/koffice-kde4/Makefile
@@ -25,6 +25,12 @@ INSTALLS_SHLIB= yes
USE_AUTOCONF= yes
USE_GMAKE= yes
+post-patch:
+ @${PERL} -pi -e "s@Icon=killustrator@Icon=kontour@g" \
+ ${WRKSRC}/templates/Illustration.desktop
+ @${PERL} -pi -e "s@KIllustrator@Kontour@g" \
+ ${WRKSRC}/templates/Illustration.desktop
+
pre-configure:
find ${WRKSRC} -name Makefile.in | xargs ${PERL} -pi -e \
"s@LIBPYTHON =@LIBPYTHON= ${PTHREAD_LIBS}@g"