From owner-freebsd-ports Mon Mar 11 0:58:14 2002 Delivered-To: freebsd-ports@freebsd.org Received: from mailout11.sul.t-online.com (mailout11.sul.t-online.com [194.25.134.85]) by hub.freebsd.org (Postfix) with ESMTP id AE3BE37B404; Mon, 11 Mar 2002 00:58:10 -0800 (PST) Received: from fwd08.sul.t-online.de by mailout11.sul.t-online.com with smtp id 16kLd9-0003p9-08; Mon, 11 Mar 2002 09:58:07 +0100 Received: from Magelan.Leidinger.net (520065502893-0001@[80.131.118.64]) by fmrl08.sul.t-online.com with esmtp id 16kLd4-0uKYAiC; Mon, 11 Mar 2002 09:58:02 +0100 Received: from Leidinger.net (netchild@localhost [127.0.0.1]) by Magelan.Leidinger.net (8.12.2/8.12.2) with ESMTP id g2B8vt5w000520; Mon, 11 Mar 2002 09:57:59 +0100 (CET) (envelope-from netchild@Leidinger.net) Message-Id: <200203110857.g2B8vt5w000520@Magelan.Leidinger.net> Date: Mon, 11 Mar 2002 09:57:54 +0100 (CET) From: Alexander Leidinger Subject: Re: what to do with share/locale/*/LC_MESSAGES ? To: sobomax@FreeBSD.org Cc: corecode@corecode.ath.cx, freebsd-ports@FreeBSD.org In-Reply-To: <1015801496.527.78.camel@notebook> 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 11 Mär, Maxim Sobolev wrote: >> >> 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--- > It is incorrect practice. The correct way is to make port linking with > libintl and put devel/gettext into LIB_DEPENDS. Then gettext package > will automagically delete all leftover xx/LC_MESSAGES dirs upon its > deinstall, therefore you only need to place package-specific .po files > into pkg-plist. See ports/devel/gettext/pkg-plist for details. Does the removal of such lines need a portrevision bump in the Makefile? Bye, Alexander. -- There's no place like ~ 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