patch: ports/Mk/bsd.port.mk:add-plist-docs

Alex Dupre ale at FreeBSD.org
Thu Feb 12 01:22:03 PST 2004


Brandon D. Valentine wrote:

> Now, all of the ports I've seen do this have a corresponding:
> 
>     %%PORTDOCS%%@rmdir %%DOCSDIR%%
> 
> or similiar in their pkg-plist.  If NOPORTDOCS is defined, then a
> deinstall of these ports will complain about not being able to remove
> DOCSDIR due to that line in the pkg-plist.

No, if you installed the port with -DNOPORTDOCS, pkg_deinstall will not 
try to remove the DOCSDIR. The %%PORTDOCS%% macro will in fact be 
substituted by "@comment ", like for the doc files.

--
Alex Dupre


More information about the freebsd-ports mailing list