Fix gnome menu icon.

Approved by:		arved (mentor)
This commit is contained in:
Simon Barner 2005-03-16 10:48:15 +00:00
parent 0770ba3c89
commit 057a9c7543
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=131385
2 changed files with 6 additions and 11 deletions

View file

@ -24,7 +24,13 @@ USE_GMAKE= yes
USE_LIBTOOL_VER=15
INSTALLS_SHLIB= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" LIBS="-L${LOCALBASE}/lib"
USE_REINPLACE=yes
GCONF_SCHEMAS= mlview.schemas
post-patch:
@${REINPLACE_CMD} -e \
"s,mlview-app-icon.xpm,${PREFIX}/share/gnome/${PORTNAME}/mlview-app-icon.xpm," \
${WRKSRC}/mlview.desktop.in
.include <bsd.port.mk>

View file

@ -1,11 +0,0 @@
--- mlview.desktop.in.orig Mon Jan 3 16:38:27 2005
+++ mlview.desktop.in Mon Jan 3 16:38:43 2005
@@ -6,7 +6,7 @@
GenericName=MlView Generic XML Editor
Categories=GNOME;Application;Office;TextEditor;
Comment=A generic simple and powerfull XML editor for GNOME
-Icon=mlview-app-icon.xpm
+Icon=../mlview/mlview-app-icon.xpm
TryExec=mlv
Exec=mlv %F
Terminal=false