aboutsummaryrefslogtreecommitdiffstats
path: root/x11
diff options
context:
space:
mode:
authormezz <mezz@FreeBSD.org>2005-03-12 19:08:24 +0800
committermezz <mezz@FreeBSD.org>2005-03-12 19:08:24 +0800
commit5f9759591f677c12826b23dc3256990ef03405e1 (patch)
tree037e8a86c7f49b60e5656eba250e86bfa2c9f266 /x11
parent9bb484c17b4ab741da80bd8ad274520fa32748d0 (diff)
downloadfreebsd-ports-gnome-5f9759591f677c12826b23dc3256990ef03405e1.tar.gz
freebsd-ports-gnome-5f9759591f677c12826b23dc3256990ef03405e1.tar.zst
freebsd-ports-gnome-5f9759591f677c12826b23dc3256990ef03405e1.zip
Change share/gnome/capplets -> share/gnome/applications and tweak a bit in
.desktop to make it works better with GNOME 2.10's menu.
Diffstat (limited to 'x11')
-rw-r--r--x11/gcursor/Makefile8
-rw-r--r--x11/gcursor/files/patch-data::gcursor.desktop.in18
2 files changed, 22 insertions, 4 deletions
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;