diff options
-rw-r--r-- | app-i18n/man-pages-ja/ChangeLog | 8 | ||||
-rw-r--r-- | app-i18n/man-pages-ja/man-pages-ja-20060415-r2.ebuild | 107 | ||||
-rw-r--r-- | app-i18n/man-pages-ja/man-pages-ja-20070515.ebuild | 6 |
3 files changed, 9 insertions, 112 deletions
diff --git a/app-i18n/man-pages-ja/ChangeLog b/app-i18n/man-pages-ja/ChangeLog index 0566154ca897..70bfc99ea51a 100644 --- a/app-i18n/man-pages-ja/ChangeLog +++ b/app-i18n/man-pages-ja/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for app-i18n/man-pages-ja -# 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 $ +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-i18n/man-pages-ja/ChangeLog,v 1.27 2008/02/26 18:35:21 armin76 Exp $ + + 26 Feb 2008; Raúl Porcel <armin76@gentoo.org> + -man-pages-ja-20060415-r2.ebuild, man-pages-ja-20070515.ebuild: + All stable, remove old *man-pages-ja-20070515 (23 May 2007) diff --git a/app-i18n/man-pages-ja/man-pages-ja-20060415-r2.ebuild b/app-i18n/man-pages-ja/man-pages-ja-20060415-r2.ebuild deleted file mode 100644 index 780fd608963d..000000000000 --- a/app-i18n/man-pages-ja/man-pages-ja-20060415-r2.ebuild +++ /dev/null @@ -1,107 +0,0 @@ -# Copyright 1999-2006 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-20060415-r2.ebuild,v 1.14 2007/07/15 07:12:30 mr_bones_ Exp $ - -IUSE="" - -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/${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" - -DEPEND="sys-apps/groff - virtual/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() { - - sed -i \ - -e "/^man/s:Y:N:" \ - -e "/^shadow/s:Y:N:" \ - script/pkgs.list - -} - -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 - insinto /usr/share/man/ja/$(echo $y | cut -d/ -f3) - doins $y/* - done - - pkg= - done - - # remove man pages that are provided by other packages. - # - sys-apps/shadow +nls - rm -f "${D}"/usr/share/man/ja/man1/{chfn,chsh,newgrp,su,passwd,groups}.1 - rm -f "${D}"/usr/share/man/ja/man8/{vigr,vipw}.8 - - 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 - insinto /usr/share/man/ja/man$z - doins $x/*.$z - done - fi - done - - newdoc ChangeLog ChangeLog.GentooJP - -} - -pkg_postinst() { - - echo - elog "You need to set appropriate LANG and PAGER variables to use" - elog "Japanese manpages." - elog "e.g." - elog "\tLANG=\"ja_JP.eucJP\"" - elog "\tPAGER=\"jless\"" - elog "\tJLESSCHARSET=\"ja\"" - elog "\texport LANG PAGER JLESSCHARSET" - elog "or" - elog "\tLANG=\"ja_JP.eucJP\"" - elog "\tPAGER=\"lv -c\"" - elog "\texport LANG PAGER" - echo - -} diff --git a/app-i18n/man-pages-ja/man-pages-ja-20070515.ebuild b/app-i18n/man-pages-ja/man-pages-ja-20070515.ebuild index b7d6c69e99ef..bb229965f9f6 100644 --- a/app-i18n/man-pages-ja/man-pages-ja-20070515.ebuild +++ b/app-i18n/man-pages-ja/man-pages-ja-20070515.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2007 Gentoo Foundation +# Copyright 1999-2008 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.2 2007/07/15 07:12:30 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-i18n/man-pages-ja/man-pages-ja-20070515.ebuild,v 1.3 2008/02/26 18:35:21 armin76 Exp $ IUSE="" @@ -12,7 +12,7 @@ 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" +KEYWORDS="alpha amd64 arm hppa ia64 m68k mips ppc ppc64 s390 sh sparc x86" SLOT="0" RDEPEND="virtual/man" |