Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 31 Dec 2001 21:22:53 -0600
From:      Glenn Johnson <glennpj@charter.net>
To:        Ying-Chieh Liao <ijliao@FreeBSD.ORG>
Cc:        ports@FreeBSD.ORG
Subject:   Re: PORTDOCS variable in pkg-plist
Message-ID:  <20020101032253.GB65619@gforce.johnson.home>
In-Reply-To: <20020101031433.GA21996@terry.dragon2.net>
References:  <20011231232230.GA23183@gforce.johnson.home> <20020101031433.GA21996@terry.dragon2.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Jan 01, 2002 at 11:14:33AM +0800, Ying-Chieh Liao wrote:

> On Mon, Dec 31, 2001 at 17:22:30 -0600, Glenn Johnson wrote:
>
> > I am working on an upgrade of a port that I maintain and have a
> > question about the PORTDOCS variable in pkg-plist.  I have some
> > files that get placed into a subdirectory of /usr/local/share,
> > assuming that /usr/local is the $PREFIX, that are required
> > for operation of the program.  For these files, do I not use
> > '%%PORTDOCS%%' in pkg-plist?  Put another way, is the %%PORTDOCS%%
> > variable used for the optional documentation files, depending on
> > whether NOPORTDOCS is defined or not?
>
> If u install those files in a ".if !defined(NOPORTDOCS)" and ".endif"
> clause, u have to put "%%PORTDOCS%%" in ur pkg-plists
>
> read bsd.port.mk and search for "PLIST_SUB" for detail :)

Thanks, that is exactly what I did.  As good timing would have it, I
sent out a message that I had figured it out just before I got your
message.

-- 
Glenn Johnson
glennpj@charter.net

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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