Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 08 Jul 2014 16:39:27 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 191703] [MAINTAINER-UPDATE][STAGING] mail/tlb
Message-ID:  <bug-191703-13-cO4w4MyMS2@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-191703-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-191703-13@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191703

--- Comment #4 from Raphael Kubo da Costa <rakuco@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-191703-13-cO4w4MyMS2>