diff options
author | barner <barner@FreeBSD.org> | 2005-03-16 18:48:15 +0800 |
---|---|---|
committer | barner <barner@FreeBSD.org> | 2005-03-16 18:48:15 +0800 |
commit | a01f55d7f6541530b37b0dbad99353460c54260f (patch) | |
tree | 565c7ebcbbb31a8e4ed7bd0b2f2ca5eec432c3fd /editors | |
parent | 8492854e9e4b86748ad56e03689e330fe8c5c1b5 (diff) | |
download | freebsd-ports-gnome-a01f55d7f6541530b37b0dbad99353460c54260f.tar.gz freebsd-ports-gnome-a01f55d7f6541530b37b0dbad99353460c54260f.tar.zst freebsd-ports-gnome-a01f55d7f6541530b37b0dbad99353460c54260f.zip |
Fix gnome menu icon.
Approved by: arved (mentor)
Diffstat (limited to 'editors')
-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 |