diff options
author | Jeremy Messenger <mezz@FreeBSD.org> | 2004-05-26 03:35:49 +0000 |
---|---|---|
committer | Jeremy Messenger <mezz@FreeBSD.org> | 2004-05-26 03:35:49 +0000 |
commit | 1a76a7dbc045799307863882d0ba2fb4a9be5b22 (patch) | |
tree | 9e73d8b66927647ebd112efda7301ac782d646de /sysutils/cog | |
parent | ddd1e3c72a61a2baa836a4a83f83abde434a4e34 (diff) | |
download | ports-1a76a7dbc045799307863882d0ba2fb4a9be5b22.tar.gz ports-1a76a7dbc045799307863882d0ba2fb4a9be5b22.zip |
Add icon image in the GNOME menu.
PR: ports/66674
Submitted by: ports@c0decafe.net <ports@c0decafe.net>
Approved by: adamw (mentor)
Notes
Notes:
svn path=/head/; revision=110020
Diffstat (limited to 'sysutils/cog')
-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 |