Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Nov 2011 07:35:01 +0000
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        Stanislav Sedov <stas@FreeBSD.org>
Cc:        cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org, ports-committers@FreeBSD.org
Subject:   Re: cvs commit: ports/graphics/lcms2 Makefile
Message-ID:  <20111104073501.GA83593@FreeBSD.org>
In-Reply-To: <20111104002027.b2e8b1bf.stas@FreeBSD.org>
References:  <201111040341.pA43fLVC046402@repoman.freebsd.org> <20111104002027.b2e8b1bf.stas@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Nov 04, 2011 at 12:20:27AM -0700, Stanislav Sedov wrote:
> On Fri, 4 Nov 2011 03:41:21 +0000 (UTC)
> Alexey Dokuchaev <danfe@FreeBSD.org> mentioned:
> > - Use more standard MANPREFIX instead of MAN1PREFIX which also does not
> >   seem to be documented anywhere
> 
> It is actually documented in bsd.port.mk, and I don't see a reason to

Hmm, you're right, it is mentioned in bpm, but I find it a bit hard to
understand:

# MANPREFIX     - The directory prefix for ${MAN<sect>} and ${MLINKS}.
#                 Default: ${PREFIX}
# MAN<sect>PREFIX
#               - If manual pages of some sections install in different
#                 locations than others, use these.
#                 Default: ${MANPREFIX}

In particular, I don't quite get this "some sections install in different
locations than others" part.  Why so complicated?  What exactly does it
suppose to mean?

> change it to MANPREFIX, as MAN1PREFIX has more semantical information
> in it and correct here, since the manpages installed are meant for the
> section 1 of the manual.

So how come if it is correct for section N of the manual to use MAN<N>PREFIX
is it only used in bsd.perl.mk?  Frankly speaking I've never seen this
variable until today, which means vast majority of ports do not use it...

>From that description in bmp, it kinda seems MAN<N>PREFIX should be used in
some special occasions (unless I'm utterly wrong and miss some important
point).  For normal cases, more opaque MANPREFIX should be used, and I don't
see how this port is not normal.

I'm all eager to be educated further, please pardon my ignorance.

./danfe



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