1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
9 DESCRIPTION="Yet Another Message Interface on Emacsen"
10 HOMEPAGE="https://github.com/wanderlust/wanderlust
11 http://emacswiki.org/emacs/WanderLust"
12 SRC_URI="https://dev.gentoo.org/~ulm/distfiles/${P}.tar.xz"
16 KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
17 IUSE="bbdb ssl linguas_ja"
19 DEPEND=">=app-emacs/apel-10.6
22 bbdb? ( app-emacs/bbdb )"
26 SITEFILE="50${PN}-gentoo.el"
30 use linguas_ja && lang="${lang} \"ja\""
31 echo "(setq wl-info-lang '(${lang}) wl-news-lang '(${lang}))" >>WL-CFG
32 use ssl && echo "(setq wl-install-utils t)" >>WL-CFG
42 LISPDIR="${ED}${SITELISP}" \
43 PIXMAPDIR="${ED}${SITEETC}/wl/icons" \
46 elisp-site-file-install "${FILESDIR}/${SITEFILE}" wl
48 insinto "${SITEETC}/wl/samples/en"
51 dodoc BUGS ChangeLog INSTALL NEWS README.md
53 if use linguas_ja; then
54 insinto "${SITEETC}/wl/samples/ja"
56 dodoc BUGS.ja INSTALL.ja NEWS.ja README.ja