From owner-freebsd-ports@FreeBSD.ORG Fri Dec 19 14:38:30 2003 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 5BE0216A4CE; Fri, 19 Dec 2003 14:38:30 -0800 (PST) Received: from ftp.translate.ru (ftp.translate.ru [195.131.4.140]) by mx1.FreeBSD.org (Postfix) with ESMTP id D571943D5A; Fri, 19 Dec 2003 14:38:28 -0800 (PST) (envelope-from lev@FreeBSD.org) Received: from ip51-25.dialup.wplus.net (ip51-25.dialup.wplus.net [195.131.51.25]) (authenticated bits=0) by ftp.translate.ru (8.12.9/8.12.9) with ESMTP id hBJMcDED070720; Sat, 20 Dec 2003 01:38:14 +0300 (MSK) (envelope-from lev@FreeBSD.org) Date: Sat, 20 Dec 2003 01:42:34 +0300 From: Lev Serebryakov X-Mailer: The Bat! (v1.62r) Personal Organization: FreeBSD Developers Team X-Priority: 3 (Normal) Message-ID: <1457996577.20031220014234@serebryakov.spb.ru> To: Joe Marcus Clarke In-Reply-To: <1071872680.3372.1.camel@shumai.marcuscom.com> References: <10310111966.20031220012318@serebryakov.spb.ru> <1071872680.3372.1.camel@shumai.marcuscom.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: ports@FreeBSD.org cc: Lev Serebryakov Subject: Re[2]: %%PORTSDIR%% and %%PORTDOCS%% X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Lev Serebryakov List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Dec 2003 22:38:30 -0000 Hello, Joe! Saturday, December 20, 2003, 1:24:40 AM, you wrote: >> Now, if port supports `NOPORTDOCS=yes' and installs documents ino >> standard place, it need to have something like this in `pkg-plist': >> %%PORTDOCS%%%%DOCSDIR%%/some-doc.html >> But why we need this?! May be, when NOPORTDOCS is set, define >> DOCSDIR to @comment in substs? So, such cionstruction >> %%DOCSDIR%%/some-doc.html >> Will work properly in any case! JMC> But you would still need %%PORTDOSC%% for things such as: JMC> %%PORTDOCS%%@dirrm %%DOCSDIR%% Yes, of course. I don't suggest to remove %%PORTDOCS%% JMC> Plus, it's nice to have DOCSDIR defined even if PORTDOCS is not set. Yes, of course. To real directory path (share/doc/${PORTNAME} by default in substitutions). -- Lev Serebryakov