From 9b772507e438c96d6608352cc5c7254ae1fdaa10 Mon Sep 17 00:00:00 2001 From: Jeremy Messenger Date: Sat, 12 Mar 2005 11:08:24 +0000 Subject: [PATCH] Change share/gnome/capplets -> share/gnome/applications and tweak a bit in .desktop to make it works better with GNOME 2.10's menu. --- x11/gcursor/Makefile | 8 ++++---- .../files/patch-data::gcursor.desktop.in | 18 ++++++++++++++++++ 2 files changed, 22 insertions(+), 4 deletions(-) create mode 100644 x11/gcursor/files/patch-data::gcursor.desktop.in diff --git a/x11/gcursor/Makefile b/x11/gcursor/Makefile index cc2024bb0b3b..0531bb84e487 100644 --- a/x11/gcursor/Makefile +++ b/x11/gcursor/Makefile @@ -7,7 +7,7 @@ PORTNAME= gcursor PORTVERSION= 0.061 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= x11 gnome MASTER_SITES= http://download.qballcow.nl/programs/gcursor/ @@ -27,9 +27,9 @@ DOCS= AUTHORS COPYING ChangeLog INSTALL TODO post-patch: @${REINPLACE_CMD} -e 's|%%X11BASE%%|${X11BASE}|g' \ - ${WRKSRC}/src/gcursor.c - @${REINPLACE_CMD} -e 's|share/applications|share/gnome/capplets|g' \ - ${WRKSRC}/data/Makefile.in + ${WRKSRC}/src/gcursor.c + @${REINPLACE_CMD} -e 's|share/applications|share/gnome/applications|g' \ + ${WRKSRC}/data/Makefile.in .ifndef (NOPORTDOCS) post-install: diff --git a/x11/gcursor/files/patch-data::gcursor.desktop.in b/x11/gcursor/files/patch-data::gcursor.desktop.in new file mode 100644 index 000000000000..952a2cc2bf68 --- /dev/null +++ b/x11/gcursor/files/patch-data::gcursor.desktop.in @@ -0,0 +1,18 @@ +--- data/gcursor.desktop.in.orig Sun Feb 20 21:34:50 2005 ++++ data/gcursor.desktop.in Sun Feb 20 21:36:12 2005 +@@ -1,12 +1,11 @@ + [Desktop Entry] ++Encoding=UTF-8 + _Name=Cursor Selection + _Comment=Select a different cursor + Exec=gcursor + Icon= + Terminal=false + Type=Application +- +-Categories=GNOME;Application;Settings; + StartupNotify=true +-Encoding=UTF-8 +- ++Categories=Application;Settings;AdvancedSettings; ++OnlyShowIn=GNOME;