diff options
author | Jimmy Olgeni <olgeni@FreeBSD.org> | 2001-08-21 11:25:02 +0000 |
---|---|---|
committer | Jimmy Olgeni <olgeni@FreeBSD.org> | 2001-08-21 11:25:02 +0000 |
commit | 7d7115781d32a909990def69b0f2a92179932567 (patch) | |
tree | 21b586517db8929b51a96b96e85de5556695798f /editors/calligra | |
parent | Update 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/calligra')
-rw-r--r-- | editors/calligra/Makefile | 6 |
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" |