summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-text/cmigemo')
-rw-r--r--app-text/cmigemo/Manifest1
-rw-r--r--app-text/cmigemo/cmigemo-1.3c-r1.ebuild63
-rw-r--r--app-text/cmigemo/cmigemo-1.3c-r2.ebuild76
-rw-r--r--app-text/cmigemo/cmigemo-1.3c.ebuild51
-rw-r--r--app-text/cmigemo/files/cmigemo-1.2-migemo-dict.diff23
5 files changed, 0 insertions, 214 deletions
diff --git a/app-text/cmigemo/Manifest b/app-text/cmigemo/Manifest
index c96f6f7280bd..e1db9f4d2646 100644
--- a/app-text/cmigemo/Manifest
+++ b/app-text/cmigemo/Manifest
@@ -1,2 +1 @@
DIST cmigemo-1.3c-MIT.tar.bz2 54447 BLAKE2B 37e561b992317dbf421b3d09203e92000c0217347235545483b4f8b99071794c2b240636a880c1758c1828782468670eb640fbd411abe779b28c52dfc3147650 SHA512 8c5b9109f4309906ed19d5d48643918f51c339be7f3b34c90d2d814fed1b6d30e77a1539f6c1e11ceb3560f83fd9e1079254af0b41e81b274e39128de6ffeb18
-DIST cmigemo-1.3c.tar.bz2 54323 BLAKE2B 4d63bde57c442131056e1aabcc702308243491de0632325b7a80af328e293c97479ac1733f29484a2ee7912f6d599360e7703d45612e8b30b52fd7a1228b5152 SHA512 240bdc92139d692cdb9e98a977f77105ef3ca716ede030629b3c4652276f0b0955ae80cc443fb879cada4b3fc83f7e4181043355e0285fcfe1011f4db4d13cc1
diff --git a/app-text/cmigemo/cmigemo-1.3c-r1.ebuild b/app-text/cmigemo/cmigemo-1.3c-r1.ebuild
deleted file mode 100644
index 5339687735fb..000000000000
--- a/app-text/cmigemo/cmigemo-1.3c-r1.ebuild
+++ /dev/null
@@ -1,63 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=2
-inherit eutils flag-o-matic multilib toolchain-funcs
-
-MY_P="${P}-MIT"
-DESCRIPTION="C/Migemo -- Migemo library implementation in C"
-HOMEPAGE="http://www.kaoriya.net/#CMIGEMO"
-SRC_URI="http://www.kaoriya.net/dist/var/${MY_P}.tar.bz2"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="alpha ~amd64 ~ppc x86"
-IUSE="unicode vim-syntax"
-
-DEPEND="dev-lang/perl
- >=app-dicts/migemo-dict-200812[unicode=]
- app-i18n/qkc"
-RDEPEND=">=app-dicts/migemo-dict-200812[unicode=]"
-
-S="${WORKDIR}/${MY_P}"
-
-src_prepare() {
- epatch "${FILESDIR}/${PN}-1.2-migemo-dict.diff"
- touch dict/SKK-JISYO.L
- if use unicode ; then
- sed -i -e "/gcc:/s/euc-jp/utf-8/" dict/dict.mak || die
- fi
-
- # Bug #246953
- sed -i -e "s:-Wl,-rpath[^ ]*::" compile/Make_gcc.mak || die
-}
-
-src_compile() {
- append-flags -fPIC
- emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" gcc || die
-}
-
-src_install() {
- # parallel make install borks
- emake -j1 \
- prefix="${D}/usr" \
- libdir="${D}/usr/$(get_libdir)" \
- gcc-install || die
-
- local encoding
- if use unicode ; then
- encoding="utf-8"
- else
- encoding="euc-jp"
- fi
-
- mv "${D}/usr/share/migemo/${encoding}/"*.dat "${D}/usr/share/migemo/"
- rm -rf "${D}/usr/share/migemo/"{cp932,euc-jp,utf-8}
-
- if use vim-syntax ; then
- insinto /usr/share/vim/vimfiles/plugin
- doins tools/migemo.vim
- fi
-
- dodoc doc/{README_j,TODO_j,vimigemo}.txt
-}
diff --git a/app-text/cmigemo/cmigemo-1.3c-r2.ebuild b/app-text/cmigemo/cmigemo-1.3c-r2.ebuild
deleted file mode 100644
index 5949875af65d..000000000000
--- a/app-text/cmigemo/cmigemo-1.3c-r2.ebuild
+++ /dev/null
@@ -1,76 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=2
-inherit eutils flag-o-matic multilib toolchain-funcs
-
-MY_P="${P}-MIT"
-DESCRIPTION="C/Migemo -- Migemo library implementation in C"
-HOMEPAGE="http://www.kaoriya.net/#CMIGEMO"
-SRC_URI="http://www.kaoriya.net/dist/var/${MY_P}.tar.bz2"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~alpha amd64 ~ppc x86"
-IUSE="unicode vim-syntax"
-
-DEPEND=">=app-dicts/migemo-dict-200812[unicode=]
- dev-lang/perl
- || (
- net-misc/curl
- net-misc/wget
- www-client/fetch
- )
- app-i18n/nkf"
-RDEPEND="${RDEPEND}"
-
-S="${WORKDIR}/${MY_P}"
-
-src_prepare() {
- # Bug #246953
- epatch "${FILESDIR}/${P}-gentoo.patch" \
- "${FILESDIR}"/${P}-ldflags.patch
-
- touch dict/SKK-JISYO.L
- if use unicode ; then
- sed -i -e "/gcc:/s/euc-jp/utf-8/" dict/dict.mak || die
- fi
-
- # Bug #255813
- sed -i -e "/^docdir/s:/doc/migemo:/share/doc/${PF}:" compile/config.mk.in || die
-}
-
-src_compile() {
- append-flags -fPIC
- # parallel make b0rked
- emake -j1 \
- CC="$(tc-getCC)" \
- CFLAGS="${CFLAGS}" \
- LDFLAGS="${LDFLAGS}" \
- gcc-all || die
-}
-
-src_install() {
- # parallel make b0rked
- emake -j1 \
- prefix="${D}/usr" \
- libdir="${D}/usr/$(get_libdir)" \
- gcc-install || die
-
- local encoding
- if use unicode ; then
- encoding="utf-8"
- else
- encoding="euc-jp"
- fi
-
- mv "${D}/usr/share/migemo/${encoding}/"*.dat "${D}/usr/share/migemo/"
- rm -rf "${D}/usr/share/migemo/"{cp932,euc-jp,utf-8}
-
- if use vim-syntax ; then
- insinto /usr/share/vim/vimfiles/plugin
- doins tools/migemo.vim
- fi
-
- dodoc doc/{README_j,TODO_j,vimigemo}.txt
-}
diff --git a/app-text/cmigemo/cmigemo-1.3c.ebuild b/app-text/cmigemo/cmigemo-1.3c.ebuild
deleted file mode 100644
index d00bfc14a73b..000000000000
--- a/app-text/cmigemo/cmigemo-1.3c.ebuild
+++ /dev/null
@@ -1,51 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=0
-
-inherit eutils
-
-DESCRIPTION="C/Migemo -- Migemo library implementation in C"
-HOMEPAGE="http://www.kaoriya.net/#CMIGEMO"
-SRC_URI="http://www.kaoriya.net/dist/var/${P}.tar.bz2"
-
-LICENSE="cmigemo"
-SLOT="0"
-KEYWORDS="x86 alpha ppc" # development branch
-IUSE=""
-
-DEPEND="app-i18n/qkc
- app-dicts/migemo-dict"
-RDEPEND="app-dicts/migemo-dict"
-
-src_unpack() {
- unpack ${A}
- cd ${S}
- epatch "${FILESDIR}"/${PN}-1.2-migemo-dict.diff
- touch ${S}/dict/SKK-JISYO.L
-
- # Bug #246953
- sed -i -e "s:-Wl,-rpath[^ ]*::" compile/Make_gcc.mak || die
-}
-
-src_compile() {
- emake CFLAGS="-fPIC ${CFLAGS}" gcc || die
-}
-
-src_install() {
- make \
- prefix=${D}/usr \
- docdir=${D}/usr/share/doc/${P} \
- gcc-install || die
-
- mv ${D}/usr/share/migemo/euc-jp/*.dat ${D}/usr/share/migemo
- rm -rf ${D}/usr/share/migemo/{cp932,euc-jp}
-
- if has_version 'app-editors/vim-core' ; then
- insinto /usr/share/vim/vimfiles/plugin
- doins tools/migemo.vim
- fi
-
- dodoc tools/migemo.vim
- dodoc doc/{README_j,TODO_j,vimigemo}.txt
-}
diff --git a/app-text/cmigemo/files/cmigemo-1.2-migemo-dict.diff b/app-text/cmigemo/files/cmigemo-1.2-migemo-dict.diff
deleted file mode 100644
index a216ceafb0ca..000000000000
--- a/app-text/cmigemo/files/cmigemo-1.2-migemo-dict.diff
+++ /dev/null
@@ -1,23 +0,0 @@
-diff -urN cmigemo-1.2.ORIG/tools/migemo.vim cmigemo-1.2/tools/migemo.vim
---- cmigemo-1.2.ORIG/tools/migemo.vim 2003-01-07 22:57:59.000000000 +0900
-+++ cmigemo-1.2/tools/migemo.vim 2004-03-13 17:25:31.944190968 +0900
-@@ -20,7 +20,7 @@
- let dict = globpath(path, "migemo-dict")
- endif
- if dict == ''
-- let dict = '/usr/local/share/migemo/'.&encoding.'/migemo-dict'
-+ let dict = '/usr/share/migemo/migemo-dict'
- if !filereadable(dict)
- let dict = ''
- endif
-@@ -43,7 +43,9 @@
- nnoremap <Leader>f :call <SID>SearchChar(0)<CR>
- else
- " non-builtin version
-- let g:migemodict = s:SearchDict()
-+ if !exists('g:migemodict')
-+ let g:migemodict = s:SearchDict()
-+ endif
- command! -nargs=* Migemo :call <SID>MigemoSearch(<q-args>)
- nnoremap <silent> <leader>mi :call <SID>MigemoSearch('')<cr>
-