Created attachment 183717 [details]
install man unique files
I'm not proposing this patch, just a thought.
I think locking it to man pages is a bad idea. It should be more generic, something along the lines of a *_WITH_SUFFIX variable or *_WITH_EXT or something.
Created attachment 184080 [details]
UNIQUE_SUFFIX_MAN_FILES= man/man1/command.1 man/man3/lib.3
they would be renamed to
Created attachment 188715 [details]
I expect problems with at least 2 ports:
Can you provide patch for them?
Created attachment 188835 [details]
fix those two ports.
Thanks mat@ and antoine@ :)
Exp-run looks fine.
A commit references this bug:
Date: Tue Dec 19 16:23:49 UTC 2017
New revision: 456737
Enhance USES=uniquefiles to be more generic.
This allows to have more complex renaming schemes. Until now, it could
only add a prefix or a suffix, but this was not working at all for man
pages, because it would give man/man1/pyfoo.1.gz-2.7 or
man/man1/pyfoo-1-2.7.gz. With this change, a man page will be correctly
renamed to man/man1/pyfoo-2.7.1.gz.
Unfix ports that were already handling man pages.
Submitted by: Fukang Chen (previous patch)
Exp-run by: antoine
Sponsored by: Absolight
Differential Revision: https://reviews.freebsd.org/D13444