Partially translated manpages

Alex Kapranoff kappa at rambler-co.ru
Thu Dec 22 07:47:51 PST 2005


Good day!

One of my ports has got several (not all) of its manpages translated.
How do I suppose to handle it?

I've got this in my Makefile:

MAN1=	manpage1.1 manpage2.1
MANLANG=	"" ru_RU.KOI8-R

But only manpage1.1 is available in two languages. So the port
installs with a broken plist which refers to
nonexistent ${MANPREFIX}/man/ru_RU.KOI8-R/man1/manpage2.1

After reading bsd.port.mk I understand that _MANPAGES variable is
generated as a cartesian product of MAN${sect} and MANLANG. That's the
reason of including nonexistent manpages in the plist.

Are there ways for solving this problem?

-- 
Alex Kapranoff,
$n=["1another7Perl213Just3hacker49"=~/\d|\D*/g];
$$n[0]={grep/\d/,@$n};print"@$n{1..4}\n"


More information about the freebsd-ports mailing list