1 # Copyright 1999-2013 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
10 DESCRIPTION="The VM mail reader for Emacs"
11 HOMEPAGE="http://www.nongnu.org/viewmail/"
12 SRC_URI="https://launchpad.net/vm/${PV%.*}.x/${MY_PV}/+download/${MY_P}.tgz"
16 KEYWORDS="amd64 ppc x86"
19 DEPEND="bbdb? ( app-emacs/bbdb )"
20 RDEPEND="!app-emacs/u-vm-color
22 ssl? ( net-misc/stunnel )"
24 S="${WORKDIR}/${MY_P}"
25 SITEFILE="50${PN}-gentoo-8.0.el"
29 elog "Excluding vm-pcrisis.el since the \"bbdb\" USE flag is not set."
30 epatch "${FILESDIR}/${PN}-8.0-no-pcrisis.patch"
32 epatch "${FILESDIR}/${P}-texinfo-5.patch"
37 --with-emacs="emacs" \
38 --with-pixmapdir="${SITEETC}/${PN}" \
39 $(use bbdb && echo "--with-other-dirs=${SITELISP}/bbdb")
47 emake -j1 DESTDIR="${D}" install
48 elisp-site-file-install "${FILESDIR}/${SITEFILE}"
49 dodoc CHANGES NEWS README TODO example.vm