Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Oct 2002 11:32:55 -0600
From:      "David W. Chapman Jr." <dwcjr@inethouston.net>
To:        Adam Weinberger <adam@vectors.cx>
Cc:        ports@freebsd.org
Subject:   Re: Some more PLIST substitutions
Message-ID:  <20021030173255.GA89135@leviathan.inethouston.net>
In-Reply-To: <20021030173021.GU197@vectors.cx>
References:  <20021030173021.GU197@vectors.cx>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Oct 30, 2002 at 09:30:21AM -0800, Adam Weinberger wrote:
> The following may be useful, not to help in portability as much as
> encouraging things to go in 'standard' locations. Additionally, it makes
> pkg-plist creation easier... if you ${INSTALL_PROGRAM} to ${DOCSDIR}, it
> makes sense to have the plist contain %%DOCSDIR%%/README.
> 
> This patch just adds PLIST substitutions for EXAMPLESDIR, DATADIR, and
> DOCSDIR. The DOCSDIR target also acts like %%PORTDOCS%% and can replace
> it. That is, if NOPORTDOCS is defined, it comes out as "@comment ".
> 
> Thoughts?

Makes sense to me, I'm suprised nobody caught anything like this 
earlier!

-- 
David W. Chapman Jr.
dwcjr@inethouston.net	Raintree Network Services, Inc. <www.inethouston.net>
dwcjr@freebsd.org	FreeBSD Committer <www.FreeBSD.org>

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?20021030173255.GA89135>