Change share/gnome/capplets -> share/gnome/applications and tweak a bit in
.desktop to make it works better with GNOME 2.10's menu.
This commit is contained in:
parent
4aa5fe8156
commit
9b772507e4
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=130985
2 changed files with 22 additions and 4 deletions
|
@ -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:
|
||||
|
|
18
x11/gcursor/files/patch-data::gcursor.desktop.in
Normal file
18
x11/gcursor/files/patch-data::gcursor.desktop.in
Normal file
|
@ -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;
|
Loading…
Reference in a new issue