diff options
author | Akinori Hattori <hattya@gentoo.org> | 2004-09-22 11:49:54 +0000 |
---|---|---|
committer | Akinori Hattori <hattya@gentoo.org> | 2004-09-22 11:49:54 +0000 |
commit | ed8cbfa96a8be671d321d884c5cc1243fe1b6421 (patch) | |
tree | 62f1de7c4b5c2eb97f983ad691720853e8913110 /app-i18n/manpages-ja | |
parent | License for app-sci/acml, the AMD Core Math Library (diff) | |
download | gentoo-2-ed8cbfa96a8be671d321d884c5cc1243fe1b6421.tar.gz gentoo-2-ed8cbfa96a8be671d321d884c5cc1243fe1b6421.tar.bz2 gentoo-2-ed8cbfa96a8be671d321d884c5cc1243fe1b6421.zip |
version bump
Diffstat (limited to 'app-i18n/manpages-ja')
-rw-r--r-- | app-i18n/manpages-ja/ChangeLog | 8 | ||||
-rw-r--r-- | app-i18n/manpages-ja/Manifest | 2 | ||||
-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, 94 insertions, 1 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..0cbf36aa5033 100644 --- a/app-i18n/manpages-ja/Manifest +++ b/app-i18n/manpages-ja/Manifest @@ -2,7 +2,9 @@ MD5 c7e05035274f80e9937395e6b3814d93 ChangeLog 4040 MD5 440cc1f22128d6f38056fd73f3317448 manpages-ja-20040315.ebuild 1811 MD5 2174b88c427c2a4180507445456da3d0 manpages-ja-20040415.ebuild 1814 MD5 6d45eacff950aac88904f70156442bc3 manpages-ja-20040615.ebuild 1872 +MD5 d82f51596d9ef483701b3305cf7f6b69 manpages-ja-20040915.ebuild 1793 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 + +} |