summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkinori Hattori <hattya@gentoo.org>2004-11-23 13:07:17 +0000
committerAkinori Hattori <hattya@gentoo.org>2004-11-23 13:07:17 +0000
commit1a69da597d772d6af0ee3f8b0ce5d30fe0467583 (patch)
treef9320bccd32e23e8ab6e1dddf7e0161c8b912d09 /app-i18n/manpages-ja
parentAdded a warning to sparc users about the dangers of bad ioctl32. (Manifest re... (diff)
downloadgentoo-2-1a69da597d772d6af0ee3f8b0ce5d30fe0467583.tar.gz
gentoo-2-1a69da597d772d6af0ee3f8b0ce5d30fe0467583.tar.bz2
gentoo-2-1a69da597d772d6af0ee3f8b0ce5d30fe0467583.zip
version bump.
Diffstat (limited to 'app-i18n/manpages-ja')
-rw-r--r--app-i18n/manpages-ja/ChangeLog8
-rw-r--r--app-i18n/manpages-ja/Manifest4
-rw-r--r--app-i18n/manpages-ja/files/digest-manpages-ja-200411152
-rw-r--r--app-i18n/manpages-ja/manpages-ja-20041115.ebuild93
4 files changed, 105 insertions, 2 deletions
diff --git a/app-i18n/manpages-ja/ChangeLog b/app-i18n/manpages-ja/ChangeLog
index 2268a6528a84..2694ab82dbd9 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-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-i18n/manpages-ja/ChangeLog,v 1.31 2004/11/16 14:32:05 gustavoz Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-i18n/manpages-ja/ChangeLog,v 1.32 2004/11/23 13:07:17 hattya Exp $
+
+*manpages-ja-20041115 (23 Nov 2004)
+
+ 23 Nov 2004; Akinori Hattori <hattya@gentoo.org>
+ +manpages-ja-20041115.ebuild:
+ version bump.
16 Nov 2004; Gustavo Zacarias <gustavoz@gentoo.org>
manpages-ja-20040915.ebuild:
diff --git a/app-i18n/manpages-ja/Manifest b/app-i18n/manpages-ja/Manifest
index 43892d5c24dc..9a95803632fe 100644
--- a/app-i18n/manpages-ja/Manifest
+++ b/app-i18n/manpages-ja/Manifest
@@ -1,6 +1,8 @@
MD5 319789673855b6324bcd2b7d55d934ed ChangeLog 4897
-MD5 475629439c6cc71bc10ec394f4da68cf metadata.xml 566
MD5 d693214401634c0a6e500a2824427702 manpages-ja-20040615.ebuild 1866
MD5 fd3c8b748c87fef94f090a3bfa1e05c2 manpages-ja-20040915.ebuild 1924
+MD5 b5e71755e4dc6f183c5bf0d227e76369 manpages-ja-20041115.ebuild 1977
+MD5 475629439c6cc71bc10ec394f4da68cf metadata.xml 566
MD5 fe1ea41c6d263adba6232159b147770c files/digest-manpages-ja-20040615 154
MD5 0df2cea45b1b8531bcece297c9303154 files/digest-manpages-ja-20040915 153
+MD5 ae7aae05d5001c8f5a0f51c32dc76b60 files/digest-manpages-ja-20041115 153
diff --git a/app-i18n/manpages-ja/files/digest-manpages-ja-20041115 b/app-i18n/manpages-ja/files/digest-manpages-ja-20041115
new file mode 100644
index 000000000000..870b24318ad1
--- /dev/null
+++ b/app-i18n/manpages-ja/files/digest-manpages-ja-20041115
@@ -0,0 +1,2 @@
+MD5 6a242d6df43f7bce6f67097beeff1257 man-pages-ja-20041115.tar.gz 3046476
+MD5 7c5eb7d0fcf383b82329152ed7359d18 portage-manpages-ja-20041115.tar.gz 62055
diff --git a/app-i18n/manpages-ja/manpages-ja-20041115.ebuild b/app-i18n/manpages-ja/manpages-ja-20041115.ebuild
new file mode 100644
index 000000000000..dc459623f098
--- /dev/null
+++ b/app-i18n/manpages-ja/manpages-ja-20041115.ebuild
@@ -0,0 +1,93 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-i18n/manpages-ja/manpages-ja-20041115.ebuild,v 1.1 2004/11/23 13:07:17 hattya Exp $
+
+IUSE=""
+
+MY_P="man-pages-ja-${PV}"
+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/~hattya/distfiles/${GENTOO_MAN_P}.tar.gz"
+
+LICENSE="GPL-2"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~sparc ~x86"
+SLOT="0"
+S="${WORKDIR}/${MY_P}"
+
+DEPEND="!>=sys-apps/groff-1.19
+ =sys-apps/groff-1.18*
+ sys-apps/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() {
+
+ return
+
+}
+
+src_install() {
+
+ 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 $y/*
+ done
+ done
+
+ 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."
+ 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
+
+}