summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatsuu Takuto <matsuu@gentoo.org>2010-01-23 09:02:26 +0000
committerMatsuu Takuto <matsuu@gentoo.org>2010-01-23 09:02:26 +0000
commitec5f7e9198955f693fbd9c67739ef341a10b0634 (patch)
tree338d473c3fa8ce6fd0e46fd3dba61b87bfd90af9 /app-i18n/nkf
parentRemoved chasen license, bug #301123. (diff)
downloadhistorical-ec5f7e9198955f693fbd9c67739ef341a10b0634.tar.gz
historical-ec5f7e9198955f693fbd9c67739ef341a10b0634.tar.bz2
historical-ec5f7e9198955f693fbd9c67739ef341a10b0634.zip
Version bumped.
Package-Manager: portage-2.1.7.16/cvs/Linux x86_64
Diffstat (limited to 'app-i18n/nkf')
-rw-r--r--app-i18n/nkf/ChangeLog9
-rw-r--r--app-i18n/nkf/Manifest5
-rw-r--r--app-i18n/nkf/nkf-2.1.0.ebuild67
3 files changed, 78 insertions, 3 deletions
diff --git a/app-i18n/nkf/ChangeLog b/app-i18n/nkf/ChangeLog
index 6b363ced4757..c914e6381af0 100644
--- a/app-i18n/nkf/ChangeLog
+++ b/app-i18n/nkf/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-i18n/nkf
-# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-i18n/nkf/ChangeLog,v 1.44 2008/12/08 14:58:29 matsuu Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-i18n/nkf/ChangeLog,v 1.45 2010/01/23 09:02:26 matsuu Exp $
+
+*nkf-2.1.0 (23 Jan 2010)
+
+ 23 Jan 2010; MATSUU Takuto <matsuu@gentoo.org> +nkf-2.1.0.ebuild:
+ Version bumped.
*nkf-2.0.7-r1 (08 Dec 2008)
diff --git a/app-i18n/nkf/Manifest b/app-i18n/nkf/Manifest
index 71e094375ffd..b762e0452e96 100644
--- a/app-i18n/nkf/Manifest
+++ b/app-i18n/nkf/Manifest
@@ -1,6 +1,9 @@
DIST NKF_python.tgz 2242 RMD160 759979ff4ade90b409439e7038f21a88bb14e46b SHA1 4ed0638d1d418da0d41a077eb6f8fcdfcfac16f0 SHA256 4dcf34edbd5baf5aabd9e0cd439ca342a99b92c6748311ab693e9277d40d552b
+DIST NKF_python20090602.tgz 2318 RMD160 a2697bcee3ae903456428def80dbacbdd9345a37 SHA1 659c4321e680398915ff7e9632c3b4ca61353ee1 SHA256 c86336e52398d836d6db4f9f169d11b4003ac02681b5e3395cd64c7823beb504
+DIST nkf-2.1.0.tar.gz 156716 RMD160 77cf750e00fbc6b7b2178a25c152a4ed7b623a35 SHA1 6c88c12d973abbdb4c61ade47a470e01f7bbcc95 SHA256 a6e59bf0ebb9a1dbb3e9fc62302d0b19aefc6f5ccee0321b33fb47483ce636e8
DIST nkf207.tar.gz 150501 RMD160 da6eebf7dd59d934eca40f2f6588e97078c8d68a SHA1 97ee0920a5cd935acd08ca789c7b8c810a594311 SHA256 71d2ba992df209a00bb1dca45e3336729dc16e51b71526bd20f897cc6127a275
EBUILD nkf-2.0.7-r1.ebuild 1522 RMD160 d4751a72fbcfa07844d91c6cb8e80ba5ff9a9a49 SHA1 4792c2fa342f533925da46028cdcb96f60adee10 SHA256 7b7bd0fb41e2e942352afced2a0300a845b7f563b63202d248e7bc4e9f29fd0f
EBUILD nkf-2.0.7.ebuild 1365 RMD160 4cae0c07db77f484c9850f112a11e18003e6022a SHA1 6757d0585bcf57c45c20973f7b25112ad26d5bb4 SHA256 fa00e5fd25c905138020ed6cd9fe8f0edfe46f73720c50de2e0821a0c14bf958
-MISC ChangeLog 5043 RMD160 e704fe01ce6088acb8b5076bdd09123508d758b7 SHA1 d8d83a37ca729e9a128c8c01245f9ae63a927f37 SHA256 37aa798f6637ba1b0ac2347a460ad3dcf63380a9a1e48aee930f0ea43a82e478
+EBUILD nkf-2.1.0.ebuild 1542 RMD160 7712f8560cc543385f9a79a2faad42bbcd8fa0c9 SHA1 4772fa936feaee4468253049e3dc7a797fc0f688 SHA256 2ed2e1d5dd3f34bc66b1234c20ab9fe7ebb48926d05e3dc1cee1882094fc341d
+MISC ChangeLog 5156 RMD160 1da32a5d0d2350dd7ec94dd545463e0b4eb7a409 SHA1 135d4ca88f70e53b1edfd7f78a282bf2fef631a0 SHA256 7f902b8e2a7b598f78db12adf337dd0a3bc2ea5080b04f6bf96d429f538903d6
MISC metadata.xml 156 RMD160 8adcf0a760a605cd42501f53097ca3a1c4e8daad SHA1 8ccc2b0f20743002b783b1f7b5162c71f7f54c2e SHA256 815820f2e5866d973fafb29a8b8027d022ccea43023309b6dc294cf077598215
diff --git a/app-i18n/nkf/nkf-2.1.0.ebuild b/app-i18n/nkf/nkf-2.1.0.ebuild
new file mode 100644
index 000000000000..bcb7a732b560
--- /dev/null
+++ b/app-i18n/nkf/nkf-2.1.0.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-i18n/nkf/nkf-2.1.0.ebuild,v 1.1 2010/01/23 09:02:26 matsuu Exp $
+
+EAPI="2"
+
+inherit eutils distutils perl-module toolchain-funcs
+
+DESCRIPTION="Network Kanji code conversion Filter with UTF-8/16 support"
+HOMEPAGE="http://sourceforge.jp/projects/nkf/"
+SRC_URI="mirror://sourceforge.jp/nkf/44486/${P}.tar.gz
+ python? ( http://city.plala.jp/moin/NkfPython?action=AttachFile&do=get&target=NKF_python20090602.tgz -> NKF_python20090602.tgz )"
+
+LICENSE="as-is"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86"
+IUSE="perl python linguas_ja"
+
+src_prepare() {
+ sed -i \
+ -e "/^CFLAGS/s:-O2:${CFLAGS}:" \
+ -e '/-o nkf/s:$(CFLAGS):$(CFLAGS) $(LDFLAGS):' \
+ Makefile || die
+
+ if use python; then
+ mv "${WORKDIR}/NKF.python" "${S}" || die
+ sed -i -e "s/-s/${CFLAGS}/" NKF.python/setup.py || die
+ fi
+}
+
+src_compile() {
+ emake CC="$(tc-getCC)" nkf || die
+ if use perl; then
+ cd "${S}/NKF.mod"
+ perl-module_src_compile
+ fi
+ if use python; then
+ cd "${S}/NKF.python"
+ distutils_src_compile
+ fi
+}
+
+src_test() {
+ emake test || die
+ if use perl; then
+ cd "${S}/NKF.mod"
+ perl-module_src_test
+ fi
+}
+
+src_install() {
+ dobin nkf || die
+ doman nkf.1
+ if use linguas_ja; then
+ ./nkf -e nkf.1j > nkf.1
+ doman -i18n=ja nkf.1
+ fi
+ dodoc nkf.doc
+ if use perl; then
+ cd "${S}/NKF.mod"
+ perl-module_src_install
+ fi
+ if use python; then
+ cd "${S}/NKF.python"
+ distutils_src_install
+ fi
+}