aboutsummaryrefslogtreecommitdiffstats
path: root/editors/calligra
diff options
context:
space:
mode:
authorolgeni <olgeni@FreeBSD.org>2001-08-21 19:25:02 +0800
committerolgeni <olgeni@FreeBSD.org>2001-08-21 19:25:02 +0800
commit17a86c2f9fbd0dce442ec5e4033168c78072731c (patch)
tree52d0572b0474a6698899dbe8192a2081e8f3b440 /editors/calligra
parent28ca2d7bded5ecb3cd76e1ffd4040ac14231d838 (diff)
downloadfreebsd-ports-gnome-17a86c2f9fbd0dce442ec5e4033168c78072731c.tar.gz
freebsd-ports-gnome-17a86c2f9fbd0dce442ec5e4033168c78072731c.tar.zst
freebsd-ports-gnome-17a86c2f9fbd0dce442ec5e4033168c78072731c.zip
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.
Diffstat (limited to 'editors/calligra')
-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"