diff options
author | Naohiro Aota <naota@gentoo.org> | 2014-01-06 06:05:31 +0000 |
---|---|---|
committer | Naohiro Aota <naota@gentoo.org> | 2014-01-06 06:05:31 +0000 |
commit | c42fa35e05ae4570f10a4e2ba41c5bb53f0812e2 (patch) | |
tree | 0a2d4ccb0e3ae1bf1569089fe3a7f3ca0ef88778 /app-i18n | |
parent | Depend on dev-libs/nss[utils] for certutil. (diff) | |
download | gentoo-2-c42fa35e05ae4570f10a4e2ba41c5bb53f0812e2.tar.gz gentoo-2-c42fa35e05ae4570f10a4e2ba41c5bb53f0812e2.tar.bz2 gentoo-2-c42fa35e05ae4570f10a4e2ba41c5bb53f0812e2.zip |
version bump #488442
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key F8551514)
Diffstat (limited to 'app-i18n')
-rw-r--r-- | app-i18n/man-pages-ja/ChangeLog | 9 | ||||
-rw-r--r-- | app-i18n/man-pages-ja/man-pages-ja-20131015.ebuild | 95 |
2 files changed, 102 insertions, 2 deletions
diff --git a/app-i18n/man-pages-ja/ChangeLog b/app-i18n/man-pages-ja/ChangeLog index ceecb3634193..52e2c1ac862e 100644 --- a/app-i18n/man-pages-ja/ChangeLog +++ b/app-i18n/man-pages-ja/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-i18n/man-pages-ja -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-i18n/man-pages-ja/ChangeLog,v 1.57 2013/07/02 07:44:26 ago Exp $ +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-i18n/man-pages-ja/ChangeLog,v 1.58 2014/01/06 06:05:31 naota Exp $ + +*man-pages-ja-20131015 (06 Jan 2014) + + 06 Jan 2014; Naohiro Aota <naota@gentoo.org> +man-pages-ja-20131015.ebuild: + version bump #488442 02 Jul 2013; Agostino Sarubbo <ago@gentoo.org> man-pages-ja-20130215.ebuild: Stable for sh, wrt bug #470326 diff --git a/app-i18n/man-pages-ja/man-pages-ja-20131015.ebuild b/app-i18n/man-pages-ja/man-pages-ja-20131015.ebuild new file mode 100644 index 000000000000..866edb62b3db --- /dev/null +++ b/app-i18n/man-pages-ja/man-pages-ja-20131015.ebuild @@ -0,0 +1,95 @@ +# Copyright 1999-2014 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-20131015.ebuild,v 1.1 2014/01/06 06:05:31 naota Exp $ + +EAPI="3" +GENTOO_MAN_P="portage-${PN}-20060415" + +DESCRIPTION="A collection of manual pages translated into Japanese" +HOMEPAGE="http://linuxjm.sourceforge.jp/ http://www.gentoo.gr.jp/jpmain/translation.xml" +SRC_URI="http://linuxjm.sourceforge.jp/${P}.tar.gz + http://dev.gentoo.org/~hattya/distfiles/${GENTOO_MAN_P}.tar.gz" + +LICENSE="GPL-2+ GPL-2 LGPL-2+ LGPL-2 BSD MIT ISC HPND FDL-1.1+ LDP-1 LDP-1a man-pages Texinfo-manual" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" +IUSE="" + +RDEPEND="virtual/man" + +src_prepare() { + + 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 || die + rm -f manual/*/man8/{vigr,vipw}.8 || die + # - app-arch/rpm +nls + rm -f manual/rpm/man8/rpm*.8 || die + + for f in manual/*/man8/ld{,-linux}.so.8 ; do + mv ${f} ${f/.so.8/.so.ja.8} || die + done + mv "${WORKDIR}"/${GENTOO_MAN_P}/portage/g-cpan.pl{,.ja}.1 || die +} + +src_compile() { + : +} + +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 README || die + + 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 || die + +} + +pkg_postinst() { + + echo + elog "JM (Japanese Manual) project has used utf8 encoding" + elog "since 2012/04." + elog "You need to set appropriate LANG variables to use" + elog "Japanese manpages." + elog "e.g." + elog "\tLANG=\"ja_JP.utf8\"" + elog "\texport LANG" + echo + +} |