summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2005-09-09 02:09:46 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2005-09-09 02:09:46 +0800
commit4d0cb48900c98f1a08224afb078f0a64ad749ba1 (patch)
tree1b25c579b5f49b6c068691c4f1480685627b7fe1
parentdffbf7afe65d0634dcbd0e532d6a0bf668ebb3e7 (diff)
downloadmarcuscom-ports-4d0cb48900c98f1a08224afb078f0a64ad749ba1.tar
marcuscom-ports-4d0cb48900c98f1a08224afb078f0a64ad749ba1.tar.gz
marcuscom-ports-4d0cb48900c98f1a08224afb078f0a64ad749ba1.tar.bz2
marcuscom-ports-4d0cb48900c98f1a08224afb078f0a64ad749ba1.tar.lz
marcuscom-ports-4d0cb48900c98f1a08224afb078f0a64ad749ba1.tar.xz
marcuscom-ports-4d0cb48900c98f1a08224afb078f0a64ad749ba1.tar.zst
marcuscom-ports-4d0cb48900c98f1a08224afb078f0a64ad749ba1.zip
* 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
-rw-r--r--deskutils/gnome-menu-editor/Makefile8
-rw-r--r--deskutils/gnome-menu-editor/files/patch-data_gnome-menu-editor.desktop.in10
2 files changed, 17 insertions, 1 deletions
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 <ahze@FreeBSD.org>
#
# $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 <bsd.port.mk>
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