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;