From owner-freebsd-ports@FreeBSD.ORG Thu Feb 12 01:31:14 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 4F13416A4CE; Thu, 12 Feb 2004 01:31:14 -0800 (PST) Received: from geekpunk.net (adsl-76-147-31.bna.bellsouth.net [216.76.147.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id EE1FE43D39; Thu, 12 Feb 2004 01:31:13 -0800 (PST) (envelope-from bandix@geekpunk.net) Received: from localhost.my.domain (taran [127.0.0.1]) by geekpunk.net (8.12.8p1/8.12.6) with ESMTP id i1C9VAvC009397; Thu, 12 Feb 2004 03:31:10 -0600 (CST) (envelope-from bandix@geekpunk.net) Received: (from bandix@localhost) by localhost.my.domain (8.12.8p1/8.12.8/Submit) id i1C9VAW7009396; Thu, 12 Feb 2004 03:31:10 -0600 (CST) Date: Thu, 12 Feb 2004 03:31:09 -0600 From: "Brandon D. Valentine" To: Alex Dupre Message-ID: <20040212093109.GH423@geekpunk.net> References: <20040212091114.GG423@geekpunk.net> <402B45B4.7090003@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <402B45B4.7090003@FreeBSD.org> User-Agent: Mutt/1.4.1i 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:31:14 -0000 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