Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Dec 2003 01:42:34 +0300
From:      Lev Serebryakov <lev@FreeBSD.org>
To:        Joe Marcus Clarke <marcus@marcuscom.com>
Cc:        Lev Serebryakov <lev@FreeBSD.org>
Subject:   Re[2]: %%PORTSDIR%% and %%PORTDOCS%%
Message-ID:  <1457996577.20031220014234@serebryakov.spb.ru>
In-Reply-To: <1071872680.3372.1.camel@shumai.marcuscom.com>
References:  <10310111966.20031220012318@serebryakov.spb.ru> <1071872680.3372.1.camel@shumai.marcuscom.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1457996577.20031220014234>