From owner-freebsd-ports@FreeBSD.ORG Thu Dec 22 15:47:51 2005 Return-Path: X-Original-To: ports@freebsd.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2A58716A41F for ; Thu, 22 Dec 2005 15:47:51 +0000 (GMT) (envelope-from kappa@rambler-co.ru) Received: from yam.park.rambler.ru (yam.park.rambler.ru [81.19.64.116]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5A41643D46 for ; Thu, 22 Dec 2005 15:47:49 +0000 (GMT) (envelope-from kappa@rambler-co.ru) Received: from capella.park.rambler.ru ([81.19.65.30]) by yam.park.rambler.ru (8.13.3/8.13.3) with ESMTP id jBMFllvZ097532 for ; Thu, 22 Dec 2005 18:47:47 +0300 (MSK) (envelope-from kappa@rambler-co.ru) Received: by capella.park.rambler.ru (Postfix, from userid 1001) id 5512440DC; Thu, 22 Dec 2005 18:48:30 +0300 (MSK) Date: Thu, 22 Dec 2005 18:48:30 +0300 From: Alex Kapranoff To: ports@freebsd.org Message-ID: <20051222154830.GA34639@capella.park.rambler.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Operating-System: FreeBSD 6.0-STABLE i386 Organization: Inner Mongolia User-Agent: Mutt/1.5.11 Cc: Subject: Partially translated manpages X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Dec 2005 15:47:51 -0000 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"