The list of cleaned up directories prepared by _make makeplist_ is overzealous and contains a lot of directories which should not be listed here: @dir share/mk @dir share/texmf/tex/latex @dir share/texmf/tex @dir share/texmf and maybe more depending on the port. It is expected that: 1. make makeplist report a sensible list of directories to clean up. 2. portlint gives a hint that superfluous entries went into the list. 3. The Porter's handbook mentions a rule of thumb to decide which directories to clean and which not to clean. Appropriate locations for 3 could be: - https://www.freebsd.org/doc/en/books/porters-handbook/plist-cleaning.html - https://www.freebsd.org/doc/en/books/porters-handbook/porting-dads.html
(In reply to Michael Grünewald from comment #0) > 3. The Porter's handbook mentions a rule of thumb to decide which > directories to clean and which not to clean. The porter's handbook doesn't give a rule of thumb, it gives an exact rule about which directories to put @dir entries for. - Empty directories inside ${PREFIX} - All directories outside ${PREFIX} If it's not clear by reading [1] please tell me what I should do to make it more clear. 1: https://www.freebsd.org/doc/en/books/porters-handbook/plist-cleaning.html
The Porter's Handbook is actually crystal clear, only points 1 and 2 are relevant. (Just another victim of being unable to read a text when one believes to know what is written there…)