Subject: Re: PKGMANDIR
To: Roland Illig <rillig@NetBSD.org>
From: Alistair Crooks <agc@pkgsrc.org>
List: tech-pkg
Date: 10/09/2007 11:45:53
On Tue, Oct 09, 2007 at 12:12:17PM +0200, Roland Illig wrote:
> Why do we need the extra complexity of PKGMANDIR when a simple "man" is 
> usually enough? The usual places for documentation (bmake help, the 
> pkgsrc guide and the CVS log) don't answer this question.

Different platforms have different requirements - some need
shar/man, some just man, others may require something different.

PKGMANDIR abstracts this out so you don't have to worry about
that.

It's arguable that we could have done some automatic PLIST
manipulation, but we also have to concern ourselves with installation
into the correct directory if that is done, and we're into much
more complexity already.

Regards,
Alistair

PS. It's always been a matter of regret that I didn't use
share/man on NetBSD when pkgsrc was first set up. But I won't
admit to it in public.