Date: Thu, 12 Feb 2004 03:31:09 -0600 From: "Brandon D. Valentine" <brandon@dvalentine.com> To: Alex Dupre <ale@FreeBSD.org> Cc: FreeBSD Ports <freebsd-ports@FreeBSD.org> Subject: Re: patch: ports/Mk/bsd.port.mk:add-plist-docs Message-ID: <20040212093109.GH423@geekpunk.net> In-Reply-To: <402B45B4.7090003@FreeBSD.org> References: <20040212091114.GG423@geekpunk.net> <402B45B4.7090003@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Feb 12, 2004 at 10:21:56AM +0100, Alex Dupre wrote: > 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. Ah! You're right. I missed that. Makes more sense now. Thank you! Brandon D. Valentine -- brandon@dvalentine.com http://www.geekpunk.net Pseudo-Random Googlism: february is african
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040212093109.GH423>