diff options
author | Matsuu Takuto <matsuu@gentoo.org> | 2010-03-20 16:52:52 +0000 |
---|---|---|
committer | Matsuu Takuto <matsuu@gentoo.org> | 2010-03-20 16:52:52 +0000 |
commit | 9623fbec6cd664204938899ba3d5b38394289c70 (patch) | |
tree | 8638d67a2284f5e1f63db07086a0299d50499ca6 /dev-libs/suikyo | |
parent | Version bump. Fixes bug #283124. (diff) | |
download | gentoo-2-9623fbec6cd664204938899ba3d5b38394289c70.tar.gz gentoo-2-9623fbec6cd664204938899ba3d5b38394289c70.tar.bz2 gentoo-2-9623fbec6cd664204938899ba3d5b38394289c70.zip |
Fixed dodoc issue, bug #305557.
(Portage version: 2.1.8.3/cvs/Linux x86_64)
Diffstat (limited to 'dev-libs/suikyo')
-rw-r--r-- | dev-libs/suikyo/ChangeLog | 7 | ||||
-rw-r--r-- | dev-libs/suikyo/suikyo-2.1.0-r2.ebuild | 57 |
2 files changed, 63 insertions, 1 deletions
diff --git a/dev-libs/suikyo/ChangeLog b/dev-libs/suikyo/ChangeLog index 227e6a89d7df..8a86915c52d6 100644 --- a/dev-libs/suikyo/ChangeLog +++ b/dev-libs/suikyo/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-libs/suikyo # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/suikyo/ChangeLog,v 1.42 2010/01/26 15:55:18 matsuu Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/suikyo/ChangeLog,v 1.43 2010/03/20 16:52:52 matsuu Exp $ + +*suikyo-2.1.0-r2 (20 Mar 2010) + + 20 Mar 2010; MATSUU Takuto <matsuu@gentoo.org> +suikyo-2.1.0-r2.ebuild: + Fixed dodoc issue, bug #305557. 26 Jan 2010; MATSUU Takuto <matsuu@gentoo.org> -suikyo-2.1.0.ebuild: Removed old version. diff --git a/dev-libs/suikyo/suikyo-2.1.0-r2.ebuild b/dev-libs/suikyo/suikyo-2.1.0-r2.ebuild new file mode 100644 index 000000000000..856f4d24b057 --- /dev/null +++ b/dev-libs/suikyo/suikyo-2.1.0-r2.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/suikyo/suikyo-2.1.0-r2.ebuild,v 1.1 2010/03/20 16:52:52 matsuu Exp $ + +EAPI="2" +USE_RUBY="ruby18" +inherit elisp-common eutils multilib ruby-ng + +DESCRIPTION="Romaji Hiragana conversion library" +HOMEPAGE="http://taiyaki.org/suikyo/" +SRC_URI="http://prime.sourceforge.jp/src/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86" +IUSE="emacs" + +DEPEND="$(ruby_implementation_depend ruby18) + emacs? ( virtual/emacs )" +RDEPEND="${DEPEND}" + +SITEFILE=50${PN}-gentoo.el + +src_unpack() { + # prevent ruby-ng.eclass from messing with src_unpack + default +} + +src_prepare() { + epatch "${FILESDIR}/${P}-pkgconfig.patch" +} + +src_configure() { + econf \ + --with-suikyo-docdir="/usr/share/doc/${PF}/html" \ + --with-rubydir="/usr/$(get_libdir)/ruby/site_ruby" || die +} + +src_install() { + emake DESTDIR="${D}" install || die + + dodoc AUTHORS ChangeLog NEWS README || die + + if use emacs ; then + elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die + else + rm -rf "${D}"/usr/share/emacs/ || die + fi +} + +pkg_postinst() { + use emacs && elisp-site-regen +} + +pkg_postrm() { + use emacs && elisp-site-regen +} |