summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMamoru Komachi <usata@gentoo.org>2003-12-23 15:58:07 +0000
committerMamoru Komachi <usata@gentoo.org>2003-12-23 15:58:07 +0000
commit18eeb4ccfd85167da799dae81d9f32ff806ba024 (patch)
treee3428a9e55f75c116f09563b427255905d67dd0e /app-i18n/manpages-ja
parentVersion bumped (diff)
downloadhistorical-18eeb4ccfd85167da799dae81d9f32ff806ba024.tar.gz
historical-18eeb4ccfd85167da799dae81d9f32ff806ba024.tar.bz2
historical-18eeb4ccfd85167da799dae81d9f32ff806ba024.zip
Version bumped
Diffstat (limited to 'app-i18n/manpages-ja')
-rw-r--r--app-i18n/manpages-ja/Manifest4
-rw-r--r--app-i18n/manpages-ja/files/digest-manpages-ja-200312152
-rw-r--r--app-i18n/manpages-ja/manpages-ja-20031215.ebuild65
3 files changed, 69 insertions, 2 deletions
diff --git a/app-i18n/manpages-ja/Manifest b/app-i18n/manpages-ja/Manifest
index fcee3fbe8f30..4d958e6d5814 100644
--- a/app-i18n/manpages-ja/Manifest
+++ b/app-i18n/manpages-ja/Manifest
@@ -1,8 +1,8 @@
MD5 091c1033012211ea0562646b8583a683 manpages-ja-20030815.ebuild 1271
MD5 475629439c6cc71bc10ec394f4da68cf metadata.xml 566
-MD5 b4a47ef0e9de53f681522e967397669b ChangeLog 1096
+MD5 db8fd24a416e8086816e691e7b35c2d0 ChangeLog 1229
MD5 f438703c11b05168523abf60d26c0f00 manpages-ja-20031015.ebuild 1291
-MD5 00f70e8592a6a66b7e1e09cacb2b01d2 manpages-ja-20031215.ebuild 1581
+MD5 2351cb9208c2db5e8346390cb88bef89 manpages-ja-20031215.ebuild 1581
MD5 f59a05bc71bd692262b198b5f730b7a4 manpages-ja-20031115.ebuild 1690
MD5 ea9a0d18fead9d6e4c3b076cfd1bb047 files/digest-manpages-ja-20030815 74
MD5 4ad8cd221b51c75ac55edc5dc0ac615f files/digest-manpages-ja-20031015 74
diff --git a/app-i18n/manpages-ja/files/digest-manpages-ja-20031215 b/app-i18n/manpages-ja/files/digest-manpages-ja-20031215
new file mode 100644
index 000000000000..b9e139dc3ec5
--- /dev/null
+++ b/app-i18n/manpages-ja/files/digest-manpages-ja-20031215
@@ -0,0 +1,2 @@
+MD5 da828d52b5e4597ac63d54f277f9bbb0 man-pages-ja-20031215.tar.gz 2950581
+MD5 2ca14c8a7921afe871d215107fb6a98c portage-manpages-ja-20031215.tar.gz 38041
diff --git a/app-i18n/manpages-ja/manpages-ja-20031215.ebuild b/app-i18n/manpages-ja/manpages-ja-20031215.ebuild
new file mode 100644
index 000000000000..3912447be233
--- /dev/null
+++ b/app-i18n/manpages-ja/manpages-ja-20031215.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-i18n/manpages-ja/manpages-ja-20031215.ebuild,v 1.1 2003/12/23 15:57:59 usata Exp $
+
+IUSE=""
+
+MY_P="man-pages-ja-${PV}"
+
+HOMEPAGE="http://www.linux.or.jp/JM/
+ http://www.gentoo.gr.jp/jpmain/translation.xml"
+DESCRIPTION="A collection of manual pages translated into Japanese"
+SRC_URI="http://www.linux.or.jp/JM/${MY_P}.tar.gz
+ http://dev.gentoo.org/~usata/distfiles/portage-${P}.tar.gz"
+
+LICENSE="GPL-2"
+KEYWORDS="~x86 ~ppc ~sparc ~alpha ~mips ~hppa ~arm ~amd64"
+SLOT="0"
+S="${WORKDIR}/${MY_P}"
+
+DEPEND=""
+RDEPEND=">=sys-apps/groff-1.18.1-r2
+ sys-apps/man"
+
+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}/portage/man/ja
+ for y in *; do
+ einfo install ${y%.*}: /usr/share/man/ja/man${y##*.}/
+ insinto /usr/share/man/ja/man${y##*.}
+ doins $y
+ 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
+}