Created attachment 223781 [details]
[patch] add DOCS/EXAMPLES
Add DOCS & EXAMPLES options for x11/keybinder-gtk3. The examples were never installed before and can be useful. They are lightweight.
While here accommodate portlint warnings (line ordering). Also get rid of unnecessary DISTNAME complication. Bump PORTREVISION (EXAMPLES is on by default - that will change the package).
poudriere (ok, tested with all options combinations)
Created attachment 224175 [details]
[patch] add DOCS/EXAMPLES v2
I tried your patch on Poudriere and it builds and installs fine, as you mentioned before ;)
However, if I also build the dependent ports , there is a conflict in x11/guake:
pkg-static: keybinder-0.3.1_5 conflicts with keybinder-gtk3-0.3.2_1
(installs files into the same place).
Problematic file: /usr/local/share/examples/keybinder/Makefile
Obviously, guake needs both keybinder versions, gtk2 and gtk3, as run dependencies. I solved this conflict by also adding the version number to the keybinder directory under examples.
 audio/pragha, audio/xfce4-pulseaudio-plugin, deskutils/synapse, deskutils/xfce4-volumed-pulse, multimedia/peek, x11/guake, x11/terminator, x11/ulauncher
BTW: I reordered some Makefile vars again after recommendations from portclippy.
If you are fine with these changes, I would commit the patch v2 :)
Created attachment 224179 [details]
[patch] add DOCS/EXAMPLES v3
I just noticed that the docs are installed even if the DOCS option is disabled.
From the gtk2 version of the keybinder port I have borrowed the corresponding functionality, with which now actually no more docs are installed :)