diff options
Diffstat (limited to 'app-i18n')
-rw-r--r-- | app-i18n/manpages-ja/ChangeLog | 8 | ||||
-rw-r--r-- | app-i18n/manpages-ja/Manifest | 4 | ||||
-rw-r--r-- | app-i18n/manpages-ja/files/digest-manpages-ja-20040915 | 2 | ||||
-rw-r--r-- | app-i18n/manpages-ja/manpages-ja-20040915.ebuild | 83 |
4 files changed, 95 insertions, 2 deletions
diff --git a/app-i18n/manpages-ja/ChangeLog b/app-i18n/manpages-ja/ChangeLog index 205ff8d1f13f..ddbd90e54863 100644 --- a/app-i18n/manpages-ja/ChangeLog +++ b/app-i18n/manpages-ja/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-i18n/manpages-ja # Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-i18n/manpages-ja/ChangeLog,v 1.25 2004/09/22 11:37:27 hattya Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-i18n/manpages-ja/ChangeLog,v 1.26 2004/09/22 11:49:54 hattya Exp $ + +*manpages-ja-20040915 (22 Sep 2004) + + 22 Sep 2004; Akinori Hattori <hattya@gentoo.org> + +manpages-ja-20040915.ebuild: + version bump. 22 Sep 2004; Akinori Hattori <hattya@gentoo.org> manpages-ja-20040615.ebuild: diff --git a/app-i18n/manpages-ja/Manifest b/app-i18n/manpages-ja/Manifest index 98e2da196aed..47c565f4b00e 100644 --- a/app-i18n/manpages-ja/Manifest +++ b/app-i18n/manpages-ja/Manifest @@ -1,8 +1,10 @@ -MD5 c7e05035274f80e9937395e6b3814d93 ChangeLog 4040 +MD5 b7b3873fc921225005ce2c67abd4df82 ChangeLog 4177 MD5 440cc1f22128d6f38056fd73f3317448 manpages-ja-20040315.ebuild 1811 MD5 2174b88c427c2a4180507445456da3d0 manpages-ja-20040415.ebuild 1814 MD5 6d45eacff950aac88904f70156442bc3 manpages-ja-20040615.ebuild 1872 +MD5 92924f8fb511262ccdce21aa4766b2ed manpages-ja-20040915.ebuild 1903 MD5 475629439c6cc71bc10ec394f4da68cf metadata.xml 566 MD5 c79ac537f5d0ad206c229185712d6e33 files/digest-manpages-ja-20040315 153 MD5 75215fb4a3f1d57852e804e9ad6449c2 files/digest-manpages-ja-20040415 153 MD5 fe1ea41c6d263adba6232159b147770c files/digest-manpages-ja-20040615 154 +MD5 0df2cea45b1b8531bcece297c9303154 files/digest-manpages-ja-20040915 153 diff --git a/app-i18n/manpages-ja/files/digest-manpages-ja-20040915 b/app-i18n/manpages-ja/files/digest-manpages-ja-20040915 new file mode 100644 index 000000000000..c7817156d822 --- /dev/null +++ b/app-i18n/manpages-ja/files/digest-manpages-ja-20040915 @@ -0,0 +1,2 @@ +MD5 b85b6d9b84e5465c865351718ac6a4b0 man-pages-ja-20040915.tar.gz 3040634 +MD5 66b03e94d3b09467394bc2cf425f1da3 portage-manpages-ja-20040915.tar.gz 55177 diff --git a/app-i18n/manpages-ja/manpages-ja-20040915.ebuild b/app-i18n/manpages-ja/manpages-ja-20040915.ebuild new file mode 100644 index 000000000000..03ea4b1c1d3d --- /dev/null +++ b/app-i18n/manpages-ja/manpages-ja-20040915.ebuild @@ -0,0 +1,83 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-i18n/manpages-ja/manpages-ja-20040915.ebuild,v 1.1 2004/09/22 11:49:54 hattya Exp $ + +IUSE="" + +MY_P="man-pages-ja-${PV}" +GENTOO_MAN_P="portage-${P}" + +DESCRIPTION="A collection of manual pages translated into Japanese" +HOMEPAGE="http://www.linux.or.jp/JM/ http://www.gentoo.gr.jp/jpmain/translation.xml" +SRC_URI="http://www.linux.or.jp/JM/${MY_P}.tar.gz + http://dev.gentoo.org/~hattya/distfiles/${GENTOO_MAN_P}.tar.gz" + +LICENSE="GPL-2" +KEYWORDS="~x86 ~ppc ~sparc ~mips ~alpha ~hppa ~amd64 ~ia64" +SLOT="0" +S="${WORKDIR}/${MY_P}" + +DEPEND="=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_compile() { + + return + +} + +src_install() { + + for x in $(grep '^[^#].*' script/pkgs.list | cut -f1 | sort); do + for a in $(ls -d manual/$x/man* 2>/dev/null); do + jmandir=$(echo $a | cut -d/ -f3) + + einfo "install $x: /usr/share/man/ja/$jmandir/" + + insinto /usr/share/man/ja/$jmandir + doins $a/* + done + done + + cd ${WORKDIR}/man + for x in $(for y in *.[1-9]; do echo ${y##*.}; done | sort | uniq); do + einfo "install portage: /usr/share/man/ja/man$x/" + + insinto /usr/share/man/ja/man$x + doins *.$x + done + cd - + + dodoc ChangeLog INSTALL README + +} + +pkg_postinst() { + + einfo + einfo "You need to set appropriate LANG and PAGER variables to use" + einfo "Japanese manpages." + einfo "e.g." + einfo "\tLANG=\"ja_JP.eucJP\"" + einfo "\tPAGER=\"jless\"" + einfo "\tJLESSCHARSET=\"ja\"" + einfo "\texport LANG PAGER JLESSCHARSET" + einfo "or" + einfo "\tLANG=\"ja_JP.eucJP\"" + einfo "\tPAGER=\"lv -c\"" + einfo "\texport LANG PAGER" + einfo + +} |