print/cups-base does not have configurable option DOCS, but silently affected by OPTIONS_UNSET+=DOCS in make.conf: in this case port does not install files for Web UI (index.html, cups.css and another) into /usr/local/share/doc/cups
Which files from the pkg-plist are you expecting to be installed but aren't ?
All files from this output not installed: grep %%PORTDOCS%%%%DOCSDIR%% /usr/ports/print/cups-base/pkg-plist Directory /usr/local/share/doc/cups also is not created. As workaround I used this in make.conf: .if ${.CURDIR} != "/usr/ports/print/cups-base" OPTIONS_UNSET+=DOCS EXAMPLES HELP IPV6 HAL GNUTLS AALIB .endif But, IMHO, it's looks ugly.
Your workaround looks okay-ish, yet here's a better way to do it: print_cups-base_SET+= DOCS
Omg. I rebuilded this port which this make.conf: OPTIONS_UNSET+=DOCS EXAMPLES HELP IPV6 HAL GNUTLS AALIB print_cups-base_SET+=DOCS print_cups-base_SET_FORCE+=DOCS And against got NO /usr/local/share/doc/cups directory. I'm loser? :( Also, is correct location for this directory? /usr/local/share/doc/cups content really is not documentation.
Can you give a list of which files are required for the WEB UI? Those particular files can be unrolled from under %%PORTDOCS%%, but docs that are just docs should remain under %%PORTDOCS%%. Also, since this PR was filed, DOCS was added to OPTIONS_DEFINE. Can you please update us on whether this is still an issue?
This was fixed in ports r365165