diff options
author | Ulrich Müller <ulm@gentoo.org> | 2008-05-11 18:30:11 +0000 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2008-05-11 18:30:11 +0000 |
commit | e6852e19384207325e90f2c1bf1fb1e495e548ca (patch) | |
tree | 6c4f4375daf169b47a71354d17132fc8aaf089dd /app-emacs | |
parent | move doxygen dependency into build-time dependency field as reported on bug 2... (diff) | |
download | gentoo-2-e6852e19384207325e90f2c1bf1fb1e495e548ca.tar.gz gentoo-2-e6852e19384207325e90f2c1bf1fb1e495e548ca.tar.bz2 gentoo-2-e6852e19384207325e90f2c1bf1fb1e495e548ca.zip |
Install Japanese Info files with LINGUAS=ja, fixes bug 221585. Remove old.
(Portage version: 2.1.5_rc10)
Diffstat (limited to 'app-emacs')
-rw-r--r-- | app-emacs/mew/ChangeLog | 8 | ||||
-rw-r--r-- | app-emacs/mew/files/50mew-gentoo.el | 1 | ||||
-rw-r--r-- | app-emacs/mew/mew-4.2.ebuild | 49 | ||||
-rw-r--r-- | app-emacs/mew/mew-5.2.ebuild | 28 |
4 files changed, 24 insertions, 62 deletions
diff --git a/app-emacs/mew/ChangeLog b/app-emacs/mew/ChangeLog index c9f55a844e04..ddf26b4cc2fc 100644 --- a/app-emacs/mew/ChangeLog +++ b/app-emacs/mew/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for app-emacs/mew -# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-emacs/mew/ChangeLog,v 1.55 2007/12/25 16:42:31 phreak Exp $ +# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-emacs/mew/ChangeLog,v 1.56 2008/05/11 18:30:11 ulm Exp $ + + 11 May 2008; Ulrich Mueller <ulm@gentoo.org> -mew-4.2.ebuild, + mew-5.2.ebuild: + Install Japanese Info files with LINGUAS=ja, fixes bug 221585. Remove old. 25 Dec 2007; Christian Heim <phreak@gentoo.org> metadata.xml: Removing usata from metadata.xml as per #22931. diff --git a/app-emacs/mew/files/50mew-gentoo.el b/app-emacs/mew/files/50mew-gentoo.el index af06cbb6ddf6..cdb5a00b37e0 100644 --- a/app-emacs/mew/files/50mew-gentoo.el +++ b/app-emacs/mew/files/50mew-gentoo.el @@ -1,5 +1,6 @@ ;;; mew site-lisp configuration + (add-to-list 'load-path "@SITELISP@") (setq mew-icon-directory "/usr/share/mew") diff --git a/app-emacs/mew/mew-4.2.ebuild b/app-emacs/mew/mew-4.2.ebuild deleted file mode 100644 index 13b4168ea53a..000000000000 --- a/app-emacs/mew/mew-4.2.ebuild +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-emacs/mew/mew-4.2.ebuild,v 1.15 2007/10/07 16:35:45 ulm Exp $ - -inherit elisp - -DESCRIPTION="Great MIME mail reader for Emacs/XEmacs" -HOMEPAGE="http://www.mew.org/" -SRC_URI="http://www.mew.org/Release/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="alpha amd64 ppc sparc x86" -IUSE="ssl" -RESTRICT="test" - -RDEPEND="ssl? ( net-misc/stunnel )" - -SITEFILE=50${PN}-gentoo.el - -# this is needed; elisp.eclass redefines src_compile() from portage default -src_compile() { - econf || die "econf failed" - emake || die "emake failed" -} - -src_install() { - einstall prefix="${D}/usr" \ - infodir="${D}/usr/share/info" \ - elispdir="${D}/${SITELISP}/${PN}" \ - etcdir="${D}/usr/share/${PN}" \ - mandir="${D}/usr/share/man/man1" || die "einstall failed" - - elisp-site-file-install "${FILESDIR}/${SITEFILE}" - - dodoc 00api 00changes* 00diff 00readme* 00roadmap mew.dot.* \ - || die "dodoc failed" -} - -pkg_postinst() { - elisp-site-regen - elog - elog "Please refer to /usr/share/doc/${PF} for sample configuration files." - elog -} - -pkg_postrm() { - elisp-site-regen -} diff --git a/app-emacs/mew/mew-5.2.ebuild b/app-emacs/mew/mew-5.2.ebuild index f849a96dc65b..2daac755afc3 100644 --- a/app-emacs/mew/mew-5.2.ebuild +++ b/app-emacs/mew/mew-5.2.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2007 Gentoo Foundation +# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-emacs/mew/mew-5.2.ebuild,v 1.3 2007/07/13 07:25:16 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emacs/mew/mew-5.2.ebuild,v 1.4 2008/05/11 18:30:11 ulm Exp $ inherit elisp @@ -11,27 +11,33 @@ SRC_URI="http://www.mew.org/Release/${P}.tar.gz" LICENSE="BSD" SLOT="0" KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86" -IUSE="ssl" +IUSE="ssl linguas_ja" RESTRICT="test" RDEPEND="ssl? ( net-misc/stunnel )" SITEFILE=50${PN}-gentoo.el -# this is needed; elisp.eclass redefines src_compile() from portage default src_compile() { - econf || die "econf failed" + econf \ + --with-elispdir=${SITELISP}/${PN} \ + --with-etcdir=/usr/share/${PN} || die "econf failed" emake || die "emake failed" + + if use linguas_ja; then + emake jinfo || die "emake jinfo failed" + fi } src_install() { - einstall prefix="${D}/usr" \ - infodir="${D}/usr/share/info" \ - elispdir="${D}/${SITELISP}/${PN}" \ - etcdir="${D}/usr/share/${PN}" \ - mandir="${D}/usr/share/man/man1" || die "einstall failed" + emake DESTDIR="${D}" install || die "emake install failed" + + if use linguas_ja; then + emake DESTDIR="${D}" install-jinfo || die "emake install-jinfo failed" + fi - elisp-site-file-install "${FILESDIR}/${SITEFILE}" + elisp-site-file-install "${FILESDIR}/${SITEFILE}" \ + || die "elisp-site-file-install failed" dodoc 00api 00changes* 00diff 00readme* 00roadmap mew.dot.* \ || die "dodoc failed" |