aboutsummaryrefslogtreecommitdiffstats
path: root/editors/calligra/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'editors/calligra/Makefile')
-rw-r--r--editors/calligra/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/editors/calligra/Makefile b/editors/calligra/Makefile
index 215db94dfe96..e0a23e8c2ebf 100644
--- a/editors/calligra/Makefile
+++ b/editors/calligra/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"