summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2008-11-27 00:40:05 +0000
committerUlrich Müller <ulm@gentoo.org>2008-11-27 00:40:05 +0000
commit806dc70a129cb491fb51a274bad876ad098d06ed (patch)
tree90d452c68df3126bf9883f0bdc12b26bf16679a7 /app-emacs/emacs-w3m
parentFix typo. (diff)
downloadgentoo-2-806dc70a129cb491fb51a274bad876ad098d06ed.tar.gz
gentoo-2-806dc70a129cb491fb51a274bad876ad098d06ed.tar.bz2
gentoo-2-806dc70a129cb491fb51a274bad876ad098d06ed.zip
Install Japanese documentation with LINGUAS=ja only.
(Portage version: 2.2_rc16/cvs/Linux 2.6.27-gentoo-r4 i686)
Diffstat (limited to 'app-emacs/emacs-w3m')
-rw-r--r--app-emacs/emacs-w3m/ChangeLog6
-rw-r--r--app-emacs/emacs-w3m/emacs-w3m-1.4.4_p20070726.ebuild15
-rw-r--r--app-emacs/emacs-w3m/emacs-w3m-1.4.4_p20080214.ebuild13
3 files changed, 20 insertions, 14 deletions
diff --git a/app-emacs/emacs-w3m/ChangeLog b/app-emacs/emacs-w3m/ChangeLog
index fcfce1c43a25..b40443440df7 100644
--- a/app-emacs/emacs-w3m/ChangeLog
+++ b/app-emacs/emacs-w3m/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-emacs/emacs-w3m
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-emacs/emacs-w3m/ChangeLog,v 1.57 2008/02/23 09:20:48 ulm Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emacs/emacs-w3m/ChangeLog,v 1.58 2008/11/27 00:40:05 ulm Exp $
+
+ 27 Nov 2008; Ulrich Mueller <ulm@gentoo.org>
+ emacs-w3m-1.4.4_p20070726.ebuild, emacs-w3m-1.4.4_p20080214.ebuild:
+ Install Japanese documentation with LINGUAS=ja only.
*emacs-w3m-1.4.4_p20080214 (22 Feb 2008)
diff --git a/app-emacs/emacs-w3m/emacs-w3m-1.4.4_p20070726.ebuild b/app-emacs/emacs-w3m/emacs-w3m-1.4.4_p20070726.ebuild
index b3a0e6945041..2245e5141512 100644
--- a/app-emacs/emacs-w3m/emacs-w3m-1.4.4_p20070726.ebuild
+++ b/app-emacs/emacs-w3m/emacs-w3m-1.4.4_p20070726.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/emacs-w3m/emacs-w3m-1.4.4_p20070726.ebuild,v 1.1 2007/07/26 20:18:03 ulm Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emacs/emacs-w3m/emacs-w3m-1.4.4_p20070726.ebuild,v 1.2 2008/11/27 00:40:05 ulm Exp $
inherit elisp autotools
@@ -11,7 +11,7 @@ SRC_URI="mirror://gentoo/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86"
-IUSE=""
+IUSE="linguas_ja"
DEPEND="virtual/w3m"
RDEPEND="${DEPEND}"
@@ -26,20 +26,21 @@ src_unpack() {
eautoreconf
}
-# This is NOT redundant: elisp.eclass redefines src_compile() from default
src_compile() {
econf || die "econf failed"
- emake || die "emake failed"
+ emake all-en $(useq linguas_ja && echo all-ja) || die "emake failed"
}
src_install() {
emake lispdir="${D}"/${SITELISP}/${PN} \
infodir="${D}"/usr/share/info \
ICONDIR="${D}"/usr/share/pixmaps/${PN} \
- install install-icons || die "emake install failed"
+ install-en $(useq linguas_ja && echo install-ja) install-icons \
+ || die "emake install failed"
elisp-site-file-install "${FILESDIR}/${SITEFILE}"
- dodoc ChangeLog* README*
+ dodoc ChangeLog* README
+ use linguas_ja && dodoc BUGS.ja README.ja
}
pkg_postinst() {
diff --git a/app-emacs/emacs-w3m/emacs-w3m-1.4.4_p20080214.ebuild b/app-emacs/emacs-w3m/emacs-w3m-1.4.4_p20080214.ebuild
index 14bf9bcfac72..caf6bc6268a7 100644
--- a/app-emacs/emacs-w3m/emacs-w3m-1.4.4_p20080214.ebuild
+++ b/app-emacs/emacs-w3m/emacs-w3m-1.4.4_p20080214.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-emacs/emacs-w3m/emacs-w3m-1.4.4_p20080214.ebuild,v 1.1 2008/02/23 09:20:48 ulm Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emacs/emacs-w3m/emacs-w3m-1.4.4_p20080214.ebuild,v 1.2 2008/11/27 00:40:05 ulm Exp $
inherit elisp autotools
@@ -11,7 +11,7 @@ SRC_URI="mirror://gentoo/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86"
-IUSE=""
+IUSE="linguas_ja"
DEPEND="virtual/w3m"
RDEPEND="${DEPEND}"
@@ -26,20 +26,21 @@ src_unpack() {
eautoreconf
}
-# This is NOT redundant: elisp.eclass redefines src_compile() from default
src_compile() {
econf || die "econf failed"
- emake || die "emake failed"
+ emake all-en $(useq linguas_ja && echo all-ja) || die "emake failed"
}
src_install() {
emake lispdir="${D}"/${SITELISP}/${PN} \
infodir="${D}"/usr/share/info \
ICONDIR="${D}"/usr/share/pixmaps/${PN} \
- install install-icons || die "emake install failed"
+ install-en $(useq linguas_ja && echo install-ja) install-icons \
+ || die "emake install failed"
elisp-site-file-install "${FILESDIR}/${SITEFILE}"
- dodoc ChangeLog* NEWS* README*
+ dodoc ChangeLog* NEWS README
+ use linguas_ja && dodoc BUGS.ja NEWS.ja README.ja
}
pkg_postinst() {