From owner-freebsd-ports Sun Mar 10 2:12:27 2002 Delivered-To: freebsd-ports@freebsd.org Received: from mailout04.sul.t-online.com (mailout04.sul.t-online.com [194.25.134.18]) by hub.freebsd.org (Postfix) with ESMTP id 7F09B37B400 for ; Sun, 10 Mar 2002 02:12:24 -0800 (PST) Received: from fwd02.sul.t-online.de by mailout04.sul.t-online.com with smtp id 16k0JS-0005hN-06; Sun, 10 Mar 2002 11:12:22 +0100 Received: from Magelan.Leidinger.net (520065502893-0001@[217.83.17.104]) by fmrl02.sul.t-online.com with esmtp id 16k0JF-2JMWsiC; Sun, 10 Mar 2002 11:12:09 +0100 Received: from Leidinger.net (netchild@localhost [127.0.0.1]) by Magelan.Leidinger.net (8.12.2/8.12.2) with ESMTP id g2AAC0Io000570; Sun, 10 Mar 2002 11:12:04 +0100 (CET) (envelope-from netchild@Leidinger.net) Message-Id: <200203101012.g2AAC0Io000570@Magelan.Leidinger.net> Date: Sun, 10 Mar 2002 11:12:00 +0100 (CET) From: Alexander Leidinger Subject: Re: what to do with share/locale/*/LC_MESSAGES ? To: corecode@corecode.ath.cx Cc: freebsd-ports@FreeBSD.ORG In-Reply-To: <20020309191156.3d13b330.corecode@corecode.ath.cx> MIME-Version: 1.0 Content-Type: TEXT/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8BIT X-Sender: 520065502893-0001@t-dialin.net Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On 9 Mär, Simon 'corecode' Schubert wrote: >> > the makefile creates share/locale/*/LC_MESSAGES. now these dirs don't >> > appear in /etc/mtree/*. >> > i suppose these dirs should not be removed, but: where is this written >> > down? if not, please do so (porter's handbook?). >> >> The common practice for those dirs is to put something like this into >> pkg-plist: >> ---snip--- >> @unexec rmdir %D/share/locale/cs/LC_MESSAGES 2>/dev/null || true >> @unexec rmdir %D/share/locale/cs 2>/dev/null || true >> ---snip--- > > uhm, looks like this practise is somehow uncommon... > > $ locate pkg-plist | xargs grep -l '^@.*rm.*LC_MESSAGES$' | wc -l > 36 > $ locate pkg-plist | xargs grep -l '^[^@].*LC_MESSAGES.\+$' | wc -l > 349 Ok, I haven't verified if it really is common or not, but I was told to do it this way. And from the wording of this advise I had the impression it is common practice to do it this way. Bye, Alexander. -- It's not a bug, it's tradition! http://www.Leidinger.net Alexander @ Leidinger.net GPG fingerprint = C518 BC70 E67F 143F BE91 3365 79E2 9C60 B006 3FE7 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message