Date: Thu, 12 Feb 2004 10:21:56 +0100 From: Alex Dupre <ale@FreeBSD.org> To: "Brandon D. Valentine" <brandon@dvalentine.com> Cc: FreeBSD Ports <freebsd-ports@FreeBSD.org> Subject: Re: patch: ports/Mk/bsd.port.mk:add-plist-docs Message-ID: <402B45B4.7090003@FreeBSD.org> In-Reply-To: <20040212091114.GG423@geekpunk.net> References: <20040212091114.GG423@geekpunk.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?402B45B4.7090003>