[Bug 191703] [MAINTAINER-UPDATE][STAGING] mail/tlb

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Jul 8 16:39:27 UTC 2014


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191703

--- Comment #4 from Raphael Kubo da Costa <rakuco at FreeBSD.org> ---
It's actually quite simple:
- NOPORTDOCS and NOPORTEXAMPLES are deprecated and shouldn't be used anymore.
- You can just install all documentation and examples and rely on %%PORTDOCS%%
and %%PORTEXAMPLES%% in the plist to do the job and only add the files when the
options are set.
- There is no need to set a description for the DOCS option, as it has a
default one in Mk/bsd.options.desc.mk.
- Given the above, it is also unnecessary to include <bsd.port.options.mk>.
- You can use the ${DOCSDIR} variable to refer to the documentation directory.

Additionally, I don't see the need to rename the DOCS variable. I'm going to
attach a patch with what I meant (it also uses ${MKDIR} instead of ${INSTALL}
since the permission and ownership changes in the latter do not work if I try
to build/package the port as a regular user).

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list