summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatsuu Takuto <matsuu@gentoo.org>2007-05-23 16:38:17 +0000
committerMatsuu Takuto <matsuu@gentoo.org>2007-05-23 16:38:17 +0000
commit9835625d09fbe50fc890b2ba896a531a5bbf03f7 (patch)
tree1c4c5ee28f0aa41ba6a445eab92fbb113bfa6d52 /app-i18n/man-pages-ja
parentReplace ~x86-fbsd with -x86-fbsd and add -sparc-fbsd, as this package is not ... (diff)
downloadgentoo-2-9835625d09fbe50fc890b2ba896a531a5bbf03f7.tar.gz
gentoo-2-9835625d09fbe50fc890b2ba896a531a5bbf03f7.tar.bz2
gentoo-2-9835625d09fbe50fc890b2ba896a531a5bbf03f7.zip
Version bumped.
(Portage version: 2.1.2.7)
Diffstat (limited to 'app-i18n/man-pages-ja')
-rw-r--r--app-i18n/man-pages-ja/ChangeLog11
-rw-r--r--app-i18n/man-pages-ja/files/digest-man-pages-ja-200705156
-rw-r--r--app-i18n/man-pages-ja/man-pages-ja-20070515.ebuild84
3 files changed, 99 insertions, 2 deletions
diff --git a/app-i18n/man-pages-ja/ChangeLog b/app-i18n/man-pages-ja/ChangeLog
index 85260996ff52..0566154ca897 100644
--- a/app-i18n/man-pages-ja/ChangeLog
+++ b/app-i18n/man-pages-ja/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for app-i18n/man-pages-ja
-# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-i18n/man-pages-ja/ChangeLog,v 1.25 2006/12/30 13:49:34 usata Exp $
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-i18n/man-pages-ja/ChangeLog,v 1.26 2007/05/23 16:38:17 matsuu Exp $
+
+*man-pages-ja-20070515 (23 May 2007)
+
+ 23 May 2007; MATSUU Takuto <matsuu@gentoo.org>
+ +man-pages-ja-20070515.ebuild:
+ Version bumped.
+ Clean up ebuild.
30 Dec 2006; Mamoru KOMACHI <usata@gentoo.org>
-man-pages-ja-20050415.ebuild, man-pages-ja-20060415-r2.ebuild:
diff --git a/app-i18n/man-pages-ja/files/digest-man-pages-ja-20070515 b/app-i18n/man-pages-ja/files/digest-man-pages-ja-20070515
new file mode 100644
index 000000000000..719708155957
--- /dev/null
+++ b/app-i18n/man-pages-ja/files/digest-man-pages-ja-20070515
@@ -0,0 +1,6 @@
+MD5 b834033e2d8098495129a9c48ab6b14b man-pages-ja-20070515.tar.gz 3415989
+RMD160 3d1e706899c7f9b7693f01aabe4ae03ce8c869be man-pages-ja-20070515.tar.gz 3415989
+SHA256 1f6209d5a57e40cef754ba207500c7be41883301d980efdeac976f75c2a0d4c1 man-pages-ja-20070515.tar.gz 3415989
+MD5 01eef68300e8863565b9900d44f91172 portage-man-pages-ja-20060415.tar.gz 67347
+RMD160 90fd4eb29454c0f8b082f80b4fdbae5caa96562a portage-man-pages-ja-20060415.tar.gz 67347
+SHA256 e847d0ab11b7cc1b5b9e8c2c11591665efe8f00d6d7a277c0b9489906d4eaf3a portage-man-pages-ja-20060415.tar.gz 67347
diff --git a/app-i18n/man-pages-ja/man-pages-ja-20070515.ebuild b/app-i18n/man-pages-ja/man-pages-ja-20070515.ebuild
new file mode 100644
index 000000000000..73c68c020343
--- /dev/null
+++ b/app-i18n/man-pages-ja/man-pages-ja-20070515.ebuild
@@ -0,0 +1,84 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-i18n/man-pages-ja/man-pages-ja-20070515.ebuild,v 1.1 2007/05/23 16:38:17 matsuu Exp $
+
+IUSE=""
+
+GENTOO_MAN_P="portage-${PN}-20060415"
+
+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/${P}.tar.gz
+ http://dev.gentoo.org/~hattya/distfiles/${GENTOO_MAN_P}.tar.gz"
+
+LICENSE="GPL-2"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+SLOT="0"
+
+RDEPEND="virtual/man"
+
+src_compile() {
+
+ sed -i -e "/^\(man\|shadow\)/s:Y:N:" script/pkgs.list || die
+
+ # remove man pages that are provided by other packages.
+ # - sys-apps/shadow +nls
+ rm -f manual/*/man1/{chfn,chsh,newgrp,su,passwd,groups}.1
+ rm -f manual/*/man8/{vigr,vipw}.8
+
+}
+
+src_install() {
+
+ local x y z pkg
+
+ for x in $(tac script/pkgs.list | grep -v '^[#].*'); do
+ if [[ -z "$pkg" ]]; then
+ pkg=$x
+ continue
+ fi
+
+ if [[ "$x" == "N" ]]; then
+ pkg=
+ continue
+ fi
+
+ einfo "install $pkg"
+
+ for y in $(ls -d manual/$pkg/man* 2>/dev/null); do
+ doman -i18n=ja $y/*
+ done
+
+ pkg=
+ done
+
+ dodoc ChangeLog README
+
+
+ cd "${WORKDIR}"/${GENTOO_MAN_P}
+
+ for x in *; do
+ if [ -d "$x" ]; then
+ einfo "install $x"
+
+ for z in $(for y in $x/*.[1-9]; do echo ${y##*.}; done | sort | uniq); do
+ doman -i18n=ja $x/*.$z
+ done
+ fi
+ done
+
+ newdoc ChangeLog ChangeLog.GentooJP
+
+}
+
+pkg_postinst() {
+
+ echo
+ elog "You need to set appropriate LANG variables to use"
+ elog "Japanese manpages."
+ elog "e.g."
+ elog "\tLANG=\"ja_JP.eucJP\""
+ elog "\texport LANG"
+ echo
+
+}