Date: Mon, 11 Mar 2002 09:57:54 +0100 (CET) From: Alexander Leidinger <Alexander@Leidinger.net> To: sobomax@FreeBSD.org Cc: corecode@corecode.ath.cx, freebsd-ports@FreeBSD.org Subject: Re: what to do with share/locale/*/LC_MESSAGES ? Message-ID: <200203110857.g2B8vt5w000520@Magelan.Leidinger.net> In-Reply-To: <1015801496.527.78.camel@notebook>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200203110857.g2B8vt5w000520>