diff options
-rw-r--r-- | sysutils/cog/Makefile | 9 | ||||
-rw-r--r-- | sysutils/cog/pkg-plist | 3 |
2 files changed, 11 insertions, 1 deletions
diff --git a/sysutils/cog/Makefile b/sysutils/cog/Makefile index e210d2da9322..eb469aa9aef3 100644 --- a/sysutils/cog/Makefile +++ b/sysutils/cog/Makefile @@ -15,9 +15,18 @@ COMMENT= A program for editing advanced GNOME settings in an easy way USE_X_PREFIX= yes USE_GMAKE= yes +USE_REINPLACE= yes USE_GNOME= gnomeprefix gnomehack libgnomeui GNU_CONFIGURE= yes CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" +post-patch: + @${REINPLACE_CMD} -e 's|Icon=|Icon=cog-icon-2-48x48.png|g' \ + ${WRKSRC}/cog.desktop + +post-install: + @${LN} -sf ${PREFIX}/share/gnome/cog/pixmaps/cog-icon-2-48x48.png \ + ${PREFIX}/share/gnome/pixmaps/cog-icon-2-48x48.png + .include <bsd.port.mk> diff --git a/sysutils/cog/pkg-plist b/sysutils/cog/pkg-plist index d7e6bcc6366d..47235d497e93 100644 --- a/sysutils/cog/pkg-plist +++ b/sysutils/cog/pkg-plist @@ -4,7 +4,8 @@ share/gnome/cog/0.7.1/glade/cog.glade share/gnome/cog/pixmaps/cog-icon-2-48x48.png share/gnome/cog/pixmaps/cog-icon-48x48.png share/gnome/cog/pixmaps/cog-logo-1.png +share/gnome/pixmaps/cog-icon-2-48x48.png +@dirrm share/gnome/cog/pixmaps @dirrm share/gnome/cog/0.7.1/glade @dirrm share/gnome/cog/0.7.1 -@dirrm share/gnome/cog/pixmaps @dirrm share/gnome/cog |