ports/64027: [Maintainer] lang/pnet* -- add PORTDOCS andmissing lib for X support.

Oliver Eikemeier eikemeier at fillmore-labs.com
Wed Mar 10 10:49:51 UTC 2004


Bjoern A. Zeeb wrote:

> On Wed, 10 Mar 2004, Oliver Eikemeier wrote:
> 
> 
>>The following reply was made to PR ports/64027; it has been noted by GNATS.
>>
>>From: Oliver Eikemeier <eikemeier at fillmore-labs.com>
>>To: michael johnson <ahze at ahze.net>
>>Cc: freebsd-gnats-submit at FreeBSD.org
>>Subject: Re: ports/64027: [Maintainer] lang/pnet* -- add PORTDOCS and missing
>> lib for X support.
>>Date: Wed, 10 Mar 2004 10:39:54 +0100
>>
>> michael johnson wrote:
>>
>> > +.ifndef(PORTDOCS)
>> > +.for plistfile in ${DOC_FILES}
>> > +PLIST_FILES+=	share/doc/${PORTNAME}/${plistfile}
>> > +.endfor
>> > +PLIST_DIRS+=	share/doc/${PORTNAME}
>> > +.endif
>> > +
>>
>> You could write
>>   PORTDOCS=	${DOC_FILES}
>> instead
> 
> if he installs documentations to DOCSDIR why not simply use
> (what Greg lately pointed me to) ?
> 
> .if !defined(NOPORTDOCS)
> PORTDOCS=	*
> .endif

You are right, this is fine if you are sure that you own *all* documents in 
DOCSDIR (which ports usually do). It may be inappropriate when ports share 
DOCSDIR, like exim and the exim-doc-* ports. I didn't read the ports 
thoroughly enough to be on the safe side, so I decided to simply use 
DOC_FILES. Feel free to use whatever suits you best.



More information about the freebsd-ports-bugs mailing list