diff options
author | olgeni <olgeni@FreeBSD.org> | 2001-08-21 19:25:02 +0800 |
---|---|---|
committer | olgeni <olgeni@FreeBSD.org> | 2001-08-21 19:25:02 +0800 |
commit | 17a86c2f9fbd0dce442ec5e4033168c78072731c (patch) | |
tree | 52d0572b0474a6698899dbe8192a2081e8f3b440 /editors/koffice-kde4 | |
parent | 28ca2d7bded5ecb3cd76e1ffd4040ac14231d838 (diff) | |
download | freebsd-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/koffice-kde4')
-rw-r--r-- | editors/koffice-kde4/Makefile | 6 |
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" |