diff options
author | Mamoru Komachi <usata@gentoo.org> | 2004-05-02 16:13:59 +0000 |
---|---|---|
committer | Mamoru Komachi <usata@gentoo.org> | 2004-05-02 16:13:59 +0000 |
commit | b980fc0b9d9177c8fe2686c1d9285602b2e230e6 (patch) | |
tree | 5ac28ddc131cf14c0b51a9a41df41d3d90233074 /app-i18n/manpages-ja | |
parent | Stable on sparc. (diff) | |
download | gentoo-2-b980fc0b9d9177c8fe2686c1d9285602b2e230e6.tar.gz gentoo-2-b980fc0b9d9177c8fe2686c1d9285602b2e230e6.tar.bz2 gentoo-2-b980fc0b9d9177c8fe2686c1d9285602b2e230e6.zip |
Die if groff doesn't have multilingual support.
Diffstat (limited to 'app-i18n/manpages-ja')
-rw-r--r-- | app-i18n/manpages-ja/ChangeLog | 6 | ||||
-rw-r--r-- | app-i18n/manpages-ja/manpages-ja-20040315.ebuild | 16 | ||||
-rw-r--r-- | app-i18n/manpages-ja/manpages-ja-20040415.ebuild | 16 |
3 files changed, 31 insertions, 7 deletions
diff --git a/app-i18n/manpages-ja/ChangeLog b/app-i18n/manpages-ja/ChangeLog index b6caaae3f1a9..76b17b4b64d0 100644 --- a/app-i18n/manpages-ja/ChangeLog +++ b/app-i18n/manpages-ja/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for app-i18n/manpages-ja # Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-i18n/manpages-ja/ChangeLog,v 1.16 2004/04/18 18:47:40 usata Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-i18n/manpages-ja/ChangeLog,v 1.17 2004/05/02 16:13:59 usata Exp $ + + 03 May 2004; Mamoru KOMACHI <usata@gentoo.org> manpages-ja-20040315.ebuild, + manpages-ja-20040415.ebuild: + Die if groff doesn't have multilingual support *manpages-ja-20040415 (19 Apr 2004) diff --git a/app-i18n/manpages-ja/manpages-ja-20040315.ebuild b/app-i18n/manpages-ja/manpages-ja-20040315.ebuild index 7b02a99e0538..1e6a2a9dfcd6 100644 --- a/app-i18n/manpages-ja/manpages-ja-20040315.ebuild +++ b/app-i18n/manpages-ja/manpages-ja-20040315.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-i18n/manpages-ja/manpages-ja-20040315.ebuild,v 1.3 2004/04/18 18:47:40 usata Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-i18n/manpages-ja/manpages-ja-20040315.ebuild,v 1.4 2004/05/02 16:13:59 usata Exp $ IUSE="" @@ -17,11 +17,21 @@ KEYWORDS="x86 ppc sparc alpha mips hppa amd64" SLOT="0" S="${WORKDIR}/${MY_P}" -DEPEND="" -RDEPEND=">=sys-apps/groff-1.18.1-r2 +DEPEND=">=sys-apps/groff-1.18.1-r2 =sys-apps/groff-1.18* sys-apps/man" +pkg_setup() { + + if ! groff -v -Tnippon >/dev/null 2>&1 ; then + ewarn + ewarn "You need to compile groff with multilingual support." + ewarn "Please recompile sys-apps/groff with USE=\"cjk\"." + ewarn + die "groff m17n support disabled." + fi +} + src_install () { for x in $(grep '^[^#].*' script/pkgs.list | cut -f1 | sort) diff --git a/app-i18n/manpages-ja/manpages-ja-20040415.ebuild b/app-i18n/manpages-ja/manpages-ja-20040415.ebuild index e9c5ddb58235..7050d3b6a34e 100644 --- a/app-i18n/manpages-ja/manpages-ja-20040415.ebuild +++ b/app-i18n/manpages-ja/manpages-ja-20040415.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-i18n/manpages-ja/manpages-ja-20040415.ebuild,v 1.1 2004/04/18 18:47:40 usata Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-i18n/manpages-ja/manpages-ja-20040415.ebuild,v 1.2 2004/05/02 16:13:59 usata Exp $ IUSE="" @@ -17,11 +17,21 @@ KEYWORDS="~x86 ~ppc ~sparc ~alpha ~mips ~hppa ~amd64" SLOT="0" S="${WORKDIR}/${MY_P}" -DEPEND="" -RDEPEND=">=sys-apps/groff-1.18.1-r2 +DEPEND=">=sys-apps/groff-1.18.1-r2 =sys-apps/groff-1.18* sys-apps/man" +pkg_setup() { + + if ! groff -v -Tnippon >/dev/null 2>&1 ; then + ewarn + ewarn "You need to compile groff with multilingual support." + ewarn "Please recompile sys-apps/groff with USE=\"cjk\"." + ewarn + die "groff m17n support disabled." + fi +} + src_install () { for x in $(grep '^[^#].*' script/pkgs.list | cut -f1 | sort) |