From owner-freebsd-ports@FreeBSD.ORG Thu Feb 12 01:22:03 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2076E16A4CE for ; Thu, 12 Feb 2004 01:22:03 -0800 (PST) Received: from server.alexdupre.com (host245-49.pool8288.interbusiness.it [82.88.49.245]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6AA0343D1F for ; Thu, 12 Feb 2004 01:22:02 -0800 (PST) (envelope-from ale@FreeBSD.org) Received: from FreeBSD.org (thunder.alexdupre.com [192.168.0.101]) i1C9LvXN076000; Thu, 12 Feb 2004 10:21:58 +0100 (CET) (envelope-from ale@FreeBSD.org) Message-ID: <402B45B4.7090003@FreeBSD.org> Date: Thu, 12 Feb 2004 10:21:56 +0100 From: Alex Dupre User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Brandon D. Valentine" References: <20040212091114.GG423@geekpunk.net> In-Reply-To: <20040212091114.GG423@geekpunk.net> X-Enigmail-Version: 0.83.2.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: FreeBSD Ports Subject: Re: patch: ports/Mk/bsd.port.mk:add-plist-docs X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Feb 2004 09:22:03 -0000 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