diff options
author | Akinori Hattori <hattya@gentoo.org> | 2005-04-23 13:07:17 +0000 |
---|---|---|
committer | Akinori Hattori <hattya@gentoo.org> | 2005-04-23 13:07:17 +0000 |
commit | b3d7042440c695c347b8de1ff1463a3d0748995c (patch) | |
tree | 49f2454f1c870ea958f490c360fc0c3f2043da0c /app-i18n/manpages-ja | |
parent | Stable on x86. (diff) | |
download | gentoo-2-b3d7042440c695c347b8de1ff1463a3d0748995c.tar.gz gentoo-2-b3d7042440c695c347b8de1ff1463a3d0748995c.tar.bz2 gentoo-2-b3d7042440c695c347b8de1ff1463a3d0748995c.zip |
version bump.
(Portage version: 2.0.51.19)
Diffstat (limited to 'app-i18n/manpages-ja')
-rw-r--r-- | app-i18n/manpages-ja/ChangeLog | 8 | ||||
-rw-r--r-- | app-i18n/manpages-ja/Manifest | 6 | ||||
-rw-r--r-- | app-i18n/manpages-ja/files/digest-manpages-ja-20040615 | 2 | ||||
-rw-r--r-- | app-i18n/manpages-ja/files/digest-manpages-ja-20050415 | 2 | ||||
-rw-r--r-- | app-i18n/manpages-ja/manpages-ja-20050415.ebuild (renamed from app-i18n/manpages-ja/manpages-ja-20040615.ebuild) | 54 |
5 files changed, 47 insertions, 25 deletions
diff --git a/app-i18n/manpages-ja/ChangeLog b/app-i18n/manpages-ja/ChangeLog index d720fbb36e0e..e78afe47dc8c 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-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-i18n/manpages-ja/ChangeLog,v 1.39 2005/04/10 18:06:27 blubb Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-i18n/manpages-ja/ChangeLog,v 1.40 2005/04/23 13:07:17 hattya Exp $ + +*manpages-ja-20050415 (23 Apr 2005) + + 23 Apr 2005; Akinori Hattori <hattya@gentoo.org> + -manpages-ja-20040615.ebuild, +manpages-ja-20050415.ebuild: + version bump. 10 Apr 2005; Simon Stelling <blubb@gentoo.org> manpages-ja-20041115.ebuild: diff --git a/app-i18n/manpages-ja/Manifest b/app-i18n/manpages-ja/Manifest index 91f9239cda09..1d0c3002b3cc 100644 --- a/app-i18n/manpages-ja/Manifest +++ b/app-i18n/manpages-ja/Manifest @@ -1,8 +1,8 @@ -MD5 88e2e935f17a69656f790545a71f024f ChangeLog 5646 -MD5 d48cb2f472d44ee0c02fb9276d8c4f97 manpages-ja-20040615.ebuild 1870 +MD5 c80106828364099181958fd7f94647b9 ChangeLog 5813 MD5 aeb0dcf0967a875493ee9861f7f973a3 manpages-ja-20040915.ebuild 1918 MD5 185df3aa692107793db4897a6f5c45a5 manpages-ja-20041115.ebuild 2082 +MD5 4403200ca8071d10d9ca8c94192ecd83 manpages-ja-20050415.ebuild 1977 MD5 475629439c6cc71bc10ec394f4da68cf metadata.xml 566 -MD5 fe1ea41c6d263adba6232159b147770c files/digest-manpages-ja-20040615 154 MD5 0df2cea45b1b8531bcece297c9303154 files/digest-manpages-ja-20040915 153 MD5 9ba4ab9843ce463a09144a4265e05e69 files/digest-manpages-ja-20041115 153 +MD5 0ee23ca65e525e327a81af5f32699f7d files/digest-manpages-ja-20050415 153 diff --git a/app-i18n/manpages-ja/files/digest-manpages-ja-20040615 b/app-i18n/manpages-ja/files/digest-manpages-ja-20040615 deleted file mode 100644 index 53be59ed334b..000000000000 --- a/app-i18n/manpages-ja/files/digest-manpages-ja-20040615 +++ /dev/null @@ -1,2 +0,0 @@ -MD5 daf7ac4e96a2f3e3a113d859d32535e0 man-pages-ja-20040615.tar.gz 2982467 -MD5 756cfef0fabc1bff2990bf1ec96e2871 portage-manpages-ja-20040615.tar.gz 129848 diff --git a/app-i18n/manpages-ja/files/digest-manpages-ja-20050415 b/app-i18n/manpages-ja/files/digest-manpages-ja-20050415 new file mode 100644 index 000000000000..4098c38fb26c --- /dev/null +++ b/app-i18n/manpages-ja/files/digest-manpages-ja-20050415 @@ -0,0 +1,2 @@ +MD5 4e58c2d0b555c497788b260393d46d66 man-pages-ja-20050415.tar.gz 3164689 +MD5 88fddc7954ef21f98e8ebb912e77dec3 portage-manpages-ja-20050415.tar.gz 62847 diff --git a/app-i18n/manpages-ja/manpages-ja-20040615.ebuild b/app-i18n/manpages-ja/manpages-ja-20050415.ebuild index 2b9024a13ef7..a9beed0f2644 100644 --- a/app-i18n/manpages-ja/manpages-ja-20040615.ebuild +++ b/app-i18n/manpages-ja/manpages-ja-20050415.ebuild @@ -1,6 +1,8 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-i18n/manpages-ja/manpages-ja-20040615.ebuild,v 1.12 2005/01/01 14:35:19 eradicator Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-i18n/manpages-ja/manpages-ja-20050415.ebuild,v 1.1 2005/04/23 13:07:17 hattya Exp $ + +IUSE="" MY_P="man-pages-ja-${PV}" GENTOO_MAN_P="portage-${P}" @@ -8,20 +10,19 @@ 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/~usata/distfiles/${GENTOO_MAN_P}.tar.gz" + http://dev.gentoo.org/~hattya/distfiles/${GENTOO_MAN_P}.tar.gz" LICENSE="GPL-2" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~sparc ~x86" SLOT="0" -KEYWORDS="alpha amd64 hppa ia64 mips ppc sparc x86" -IUSE="" +S="${WORKDIR}/${MY_P}" DEPEND="!>=sys-apps/groff-1.19 =sys-apps/groff-1.18* sys-apps/man" -S="${WORKDIR}/${MY_P}" - pkg_setup() { + if ! groff -v -Tnippon >/dev/null 2>&1 ; then ewarn ewarn "You need to compile groff with multilingual support." @@ -29,38 +30,52 @@ pkg_setup() { ewarn die "groff m17n support disabled." fi + } src_compile() { - return 0 + + 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/ + local x y z + + for x in $(grep '^[^#].*' script/pkgs.list | cut -f1 | sort); do + for y in $(ls -d manual/$x/man* 2>/dev/null); do + jmandir=$(echo $y | cut -d/ -f3) + + einfo "$(printf "install %-20s /usr/share/man/ja/$jmandir" $x:)" insinto /usr/share/man/ja/$jmandir - doins $a/* + doins $y/* done done - cd ${WORKDIR}/man - for y in *.[1-9]; do - einfo install ${y}: /usr/share/man/ja/man${y##*.}/ - insinto /usr/share/man/ja/man${y##*.} - doins $y + cd ${WORKDIR}/${GENTOO_MAN_P} + + for x in *; do + if [ -d "$x" ]; then + for z in $(for y in $x/*.[1-9]; do echo ${y##*.}; done | sort | uniq); do + einfo "$(printf "install %-20s /usr/share/man/ja/man$z" $x:)" + + insinto /usr/share/man/ja/man$z + doins $x/*.$z + done + fi done + + newdoc ChangeLog ChangeLog.GentooJP cd - dodoc ChangeLog INSTALL README + } pkg_postinst() { + einfo einfo "You need to set appropriate LANG and PAGER variables to use" einfo "Japanese manpages." @@ -74,4 +89,5 @@ pkg_postinst() { einfo "\tPAGER=\"lv -c\"" einfo "\texport LANG PAGER" einfo + } |