From 4d0cb48900c98f1a08224afb078f0a64ad749ba1 Mon Sep 17 00:00:00 2001 From: marcus Date: Thu, 8 Sep 2005 18:09:46 +0000 Subject: * Create symlink from gmenu-simple-editor to gnome-menu-editor * Mark the desktop file as NoDisplay git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@4794 df743ca5-7f9a-e211-a948-0013205c9059 --- deskutils/gnome-menu-editor/Makefile | 8 +++++++- .../files/patch-data_gnome-menu-editor.desktop.in | 10 ++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 deskutils/gnome-menu-editor/files/patch-data_gnome-menu-editor.desktop.in diff --git a/deskutils/gnome-menu-editor/Makefile b/deskutils/gnome-menu-editor/Makefile index 7bc0826b8..705018659 100644 --- a/deskutils/gnome-menu-editor/Makefile +++ b/deskutils/gnome-menu-editor/Makefile @@ -3,11 +3,12 @@ # Whom: Michael Johnson # # $FreeBSD$ -# $MCom: ports/deskutils/gnome-menu-editor/Makefile,v 1.6 2005/07/01 17:57:13 marcus Exp $ +# $MCom: ports/deskutils/gnome-menu-editor/Makefile,v 1.7 2005/08/29 03:35:47 ahze Exp $ # PORTNAME= gnome-menu-editor PORTVERSION= 0.5 +PORTREVISION= 1 CATEGORIES= deskutils MASTER_SITES= http://manny.cluecoder.org/packages/gnome-menu-editor/ @@ -21,6 +22,7 @@ USE_X_PREFIX= yes USE_GNOME= gnomeprefix gnomehack gnomemenus intlhack PLIST_FILES= bin/gnome-menu-editor \ + bin/gmenu-simple-editor \ share/gnome/applications/gnome-menu-editor.desktop post-patch: @@ -28,4 +30,8 @@ post-patch: @${REINPLACE_CMD} -e 's|OnlyShowIn=GNOME|OnlyShowIn=GNOME;|' \ ${WRKSRC}/data/gnome-menu-editor.desktop.in +post-install: + ${LN} -sf ${PREFIX}/bin/gnome-menu-editor \ + ${PREFIX}/bin/gmenu-simple-editor + .include diff --git a/deskutils/gnome-menu-editor/files/patch-data_gnome-menu-editor.desktop.in b/deskutils/gnome-menu-editor/files/patch-data_gnome-menu-editor.desktop.in new file mode 100644 index 000000000..4ebee9532 --- /dev/null +++ b/deskutils/gnome-menu-editor/files/patch-data_gnome-menu-editor.desktop.in @@ -0,0 +1,10 @@ +--- data/gnome-menu-editor.desktop.in.orig Thu Sep 8 14:05:52 2005 ++++ data/gnome-menu-editor.desktop.in Thu Sep 8 14:06:00 2005 +@@ -4,6 +4,7 @@ + _Comment=Edit your application menu + Exec=gnome-menu-editor + StartupNotify=true ++NoDisplay=true + Terminal=false + Type=Application + OnlyShowIn=GNOME -- cgit v1.2.3