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 | |
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.
-rw-r--r-- | editors/calligra/Makefile | 6 | ||||
-rw-r--r-- | editors/koffice-kde3/Makefile | 6 | ||||
-rw-r--r-- | editors/koffice-kde4/Makefile | 6 | ||||
-rw-r--r-- | editors/koffice/Makefile | 6 |
4 files changed, 24 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" diff --git a/editors/koffice-kde3/Makefile b/editors/koffice-kde3/Makefile index 215db94dfe96..e0a23e8c2ebf 100644 --- a/editors/koffice-kde3/Makefile +++ b/editors/koffice-kde3/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" 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" diff --git a/editors/koffice/Makefile b/editors/koffice/Makefile index 215db94dfe96..e0a23e8c2ebf 100644 --- a/editors/koffice/Makefile +++ b/editors/koffice/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" |