Gentoo Archives: gentoo-commits

From: "Naohiro Aota (naota)" <naota@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-i18n/nkf: nkf-2.1.3-r1.ebuild ChangeLog
Date: Thu, 28 Aug 2014 08:15:44
Message-Id: 20140828081541.0772241A9@oystercatcher.gentoo.org
1 naota 14/08/28 08:15:41
2
3 Modified: ChangeLog
4 Added: nkf-2.1.3-r1.ebuild
5 Log:
6 Fix broken Japanese man page, patch by Takurou Kitagawa. #519466
7
8 (Portage version: 2.2.12/cvs/Linux x86_64, signed Manifest commit with key F8551514)
9
10 Revision Changes Path
11 1.62 app-i18n/nkf/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-i18n/nkf/ChangeLog?rev=1.62&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-i18n/nkf/ChangeLog?rev=1.62&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-i18n/nkf/ChangeLog?r1=1.61&r2=1.62
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-i18n/nkf/ChangeLog,v
20 retrieving revision 1.61
21 retrieving revision 1.62
22 diff -u -r1.61 -r1.62
23 --- ChangeLog 9 Aug 2014 08:30:22 -0000 1.61
24 +++ ChangeLog 28 Aug 2014 08:15:40 -0000 1.62
25 @@ -1,6 +1,11 @@
26 # ChangeLog for app-i18n/nkf
27 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/app-i18n/nkf/ChangeLog,v 1.61 2014/08/09 08:30:22 jer Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/app-i18n/nkf/ChangeLog,v 1.62 2014/08/28 08:15:40 naota Exp $
30 +
31 +*nkf-2.1.3-r1 (28 Aug 2014)
32 +
33 + 28 Aug 2014; Naohiro Aota <naota@g.o> +nkf-2.1.3-r1.ebuild:
34 + Fix broken Japanese man page, patch by Takurou Kitagawa. #519466
35
36 09 Aug 2014; Jeroen Roovers <jer@g.o> nkf-2.1.3.ebuild:
37 Make USE=python mv/patch conditional again (bug #519464 by Takurou Kitagawa).
38
39
40
41 1.1 app-i18n/nkf/nkf-2.1.3-r1.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-i18n/nkf/nkf-2.1.3-r1.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-i18n/nkf/nkf-2.1.3-r1.ebuild?rev=1.1&content-type=text/plain
45
46 Index: nkf-2.1.3-r1.ebuild
47 ===================================================================
48 # Copyright 1999-2014 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/app-i18n/nkf/nkf-2.1.3-r1.ebuild,v 1.1 2014/08/28 08:15:40 naota Exp $
51
52 EAPI="5"
53 PYTHON_COMPAT=( python{2_6,2_7} )
54 inherit eutils distutils-r1 perl-module toolchain-funcs
55
56 DESCRIPTION="Network Kanji code conversion Filter with UTF-8/16 support"
57 HOMEPAGE="http://sourceforge.jp/projects/nkf/"
58 SRC_URI="mirror://sourceforge.jp/nkf/59912/${P}.tar.gz
59 linguas_ja? ( http://dev.gentoo.org/~naota/files/nkf.1j )
60 python? ( http://dev.gentoo.org/~naota/files/NKF_python20090602.tgz )"
61
62 LICENSE="ZLIB"
63 SLOT="0"
64 KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-macos"
65 IUSE="perl python linguas_ja"
66
67 src_prepare() {
68 sed -i \
69 -e '/^CFLAGS/{s|-g -O2||;s|=|+=|;}' \
70 -e '/-o nkf/s:$(CFLAGS):$(CFLAGS) $(LDFLAGS):' \
71 Makefile || die
72
73 if use linguas_ja; then
74 cp "${DISTDIR}"/nkf.1j "${S}" || die
75 fi
76
77 if use python; then
78 mv "${WORKDIR}/NKF.python" "${S}" || die
79 epatch "${FILESDIR}"/${P}-strip.patch
80 fi
81 }
82
83 src_compile() {
84 emake CC="$(tc-getCC)" nkf || die
85 if use perl; then
86 cd "${S}/NKF.mod"
87 perl-module_src_compile
88 fi
89 if use python; then
90 cd "${S}/NKF.python"
91 distutils-r1_src_compile
92 fi
93 }
94
95 src_test() {
96 emake test || die
97 if use perl; then
98 cd "${S}/NKF.mod"
99 perl-module_src_test
100 fi
101 }
102
103 src_install() {
104 dobin nkf || die
105 doman nkf.1
106
107 if use linguas_ja; then
108 ./nkf -e nkf.1j > nkf.1
109 doman -i18n=ja nkf.1
110 fi
111 dodoc nkf.doc
112
113 if use perl; then
114 cd "${S}/NKF.mod"
115 perl-module_src_install
116 fi
117 if use python; then
118 cd "${S}/NKF.python"
119 distutils-r1_src_install
120 fi
121 }