Created attachment 215796 [details]
Base DESKTOPDIR on LOCALBASE instead of PREFIX
The knob is currently defined thus:
which tells ports to install the DESKTOP_ENTRIES where the rest of the port is installed.
Instead, it probably should be:
because, wherever a port installs its own bits, the desktop entries ought to be in the common location, where the desktop environments (KDE, Gnome, etc.) can find them.
That is, DESKTOPDIR is more like SED or LDCONFIG -- referring to an existing path, rather than, what the port will create.
The patch seems easy, but the discussion, probably, will not be...