diff options
author | Akinori Hattori <hattya@gentoo.org> | 2017-07-23 22:07:19 +0900 |
---|---|---|
committer | Akinori Hattori <hattya@gentoo.org> | 2017-07-23 22:15:22 +0900 |
commit | cad40586dae5e607ec4b850405d211048952fc01 (patch) | |
tree | b99d97ba5527af4ac941d128693a9299e67060f8 /app-i18n/canfep | |
parent | games-engines/odamex: Fix building with GCC-6 (diff) | |
download | gentoo-cad40586dae5e607ec4b850405d211048952fc01.tar.gz gentoo-cad40586dae5e607ec4b850405d211048952fc01.tar.bz2 gentoo-cad40586dae5e607ec4b850405d211048952fc01.zip |
app-i18n/canfep: update to EAPI 6
Package-Manager: Portage-2.3.6, Repoman-2.3.1
Diffstat (limited to 'app-i18n/canfep')
-rw-r--r-- | app-i18n/canfep/canfep-1.0.ebuild | 28 | ||||
-rw-r--r-- | app-i18n/canfep/metadata.xml | 8 |
2 files changed, 18 insertions, 18 deletions
diff --git a/app-i18n/canfep/canfep-1.0.ebuild b/app-i18n/canfep/canfep-1.0.ebuild index c389556651ad..a872be23a4fa 100644 --- a/app-i18n/canfep/canfep-1.0.ebuild +++ b/app-i18n/canfep/canfep-1.0.ebuild @@ -1,38 +1,38 @@ -# Copyright 1999-2013 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -EAPI=4 +EAPI="6" -inherit eutils toolchain-funcs +inherit toolchain-funcs DESCRIPTION="Canna Japanese kana-kanji frontend processor on console" HOMEPAGE="http://www.geocities.co.jp/SiliconValley-Bay/7584/canfep/" -SRC_URI="http://www.geocities.co.jp/SiliconValley-Bay/7584/canfep/${P}.tar.gz - unicode? ( http://hp.vector.co.jp/authors/VA020411/patches/canfep_utf8.diff )" +SRC_URI="http://www.geocities.co.jp/SiliconValley-Bay/7584/${PN}/${P}.tar.gz + unicode? ( http://hp.vector.co.jp/authors/VA020411/patches/${PN}_utf8.diff )" LICENSE="canfep" SLOT="0" KEYWORDS="-alpha ~amd64 ppc ~sparc x86" IUSE="unicode" -DEPEND="app-i18n/canna - sys-libs/ncurses" -RDEPEND="app-i18n/canna" +RDEPEND="app-i18n/canna + sys-libs/ncurses:=" +DEPEND="${RDEPEND}" src_prepare() { - use unicode && epatch "${DISTDIR}"/canfep_utf8.diff - sed -i "s:\$(CFLAGS):\$(CFLAGS) \$(LDFLAGS):" Makefile || die + use unicode && eapply "${DISTDIR}"/${PN}_utf8.diff + sed -i 's/$(CFLAGS)/$(CFLAGS) $(LDFLAGS)/' Makefile + + default } src_compile() { emake \ CC="$(tc-getCXX)" \ - CFLAGS="${CFLAGS}" \ - LDFLAGS="${LDFLAGS}" \ LIBS="-lcanna -lncurses" } src_install() { - dobin canfep - dodoc 00changes 00readme + dobin ${PN} + dodoc 00{changes,readme} } diff --git a/app-i18n/canfep/metadata.xml b/app-i18n/canfep/metadata.xml index c921b96adf6c..e1a49f498885 100644 --- a/app-i18n/canfep/metadata.xml +++ b/app-i18n/canfep/metadata.xml @@ -1,8 +1,8 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> -<maintainer type="project"> - <email>cjk@gentoo.org</email> - <name>Cjk</name> -</maintainer> + <maintainer type="project"> + <email>cjk@gentoo.org</email> + <name>Cjk</name> + </maintainer> </pkgmetadata> |