cvs commit: ports/graphics/lcms2 Makefile
Alexey Dokuchaev
danfe at FreeBSD.org
Fri Nov 4 07:35:01 UTC 2011
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 at 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
More information about the cvs-ports
mailing list