diff options
author | Simon Barner <barner@FreeBSD.org> | 2005-03-16 10:48:15 +0000 |
---|---|---|
committer | Simon Barner <barner@FreeBSD.org> | 2005-03-16 10:48:15 +0000 |
commit | 057a9c7543365ae6708e3f639fd6aefefe951cbd (patch) | |
tree | 9beebf3e0fe06a078e6f5cac19fbc5a2ed84473c /editors/mlview | |
parent | - update to 2.5 (diff) |
Fix gnome menu icon.
Approved by: arved (mentor)
Diffstat (limited to 'editors/mlview')
-rw-r--r-- | editors/mlview/Makefile | 6 | ||||
-rw-r--r-- | editors/mlview/files/patch-mlview.desktop.in | 11 |
2 files changed, 6 insertions, 11 deletions
diff --git a/editors/mlview/Makefile b/editors/mlview/Makefile index af69b781cd16..5d5d70487428 100644 --- a/editors/mlview/Makefile +++ b/editors/mlview/Makefile @@ -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> diff --git a/editors/mlview/files/patch-mlview.desktop.in b/editors/mlview/files/patch-mlview.desktop.in deleted file mode 100644 index 599abdf003c4..000000000000 --- a/editors/mlview/files/patch-mlview.desktop.in +++ /dev/null @@ -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 |