diff options
author | barner <barner@FreeBSD.org> | 2005-03-16 10:48:15 +0000 |
---|---|---|
committer | barner <barner@FreeBSD.org> | 2005-03-16 10:48:15 +0000 |
commit | a01f55d7f6541530b37b0dbad99353460c54260f (patch) | |
tree | 565c7ebcbbb31a8e4ed7bd0b2f2ca5eec432c3fd | |
parent | 8492854e9e4b86748ad56e03689e330fe8c5c1b5 (diff) | |
download | FreeBSD-ports-a01f55d7f6541530b37b0dbad99353460c54260f.zip FreeBSD-ports-a01f55d7f6541530b37b0dbad99353460c54260f.tar.gz |
Fix gnome menu icon.
Approved by: arved (mentor)
-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 af69b78..5d5d704 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 599abdf..0000000 --- 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 |