| 1 |
# Copyright 1999-2007 Gentoo Foundation
|
| 2 |
# Distributed under the terms of the GNU General Public License v2
|
| 3 |
# $Header: /var/cvsroot/gentoo-x86/app-emacs/gnus/gnus-5.10.8.ebuild,v 1.14 2007/12/01 16:04:21 ulm Exp $
|
| 4 |
|
| 5 |
inherit elisp
|
| 6 |
|
| 7 |
DESCRIPTION="The Gnus newsreader and mail-reader"
|
| 8 |
HOMEPAGE="http://www.gnus.org/"
|
| 9 |
SRC_URI="http://quimby.gnus.org/gnus/dist/${P}.tar.gz"
|
| 10 |
|
| 11 |
LICENSE="GPL-2 FDL-1.2"
|
| 12 |
SLOT="0"
|
| 13 |
KEYWORDS="alpha amd64 ppc sparc x86"
|
| 14 |
IUSE=""
|
| 15 |
|
| 16 |
DEPEND=""
|
| 17 |
RDEPEND="!app-emacs/gnus-cvs
|
| 18 |
!app-emacs/ngnus"
|
| 19 |
|
| 20 |
SITEFILE=70${PN}-gentoo.el
|
| 21 |
|
| 22 |
src_compile() {
|
| 23 |
local myconf
|
| 24 |
myconf="${myconf} --without-w3 --without-url"
|
| 25 |
econf \
|
| 26 |
--with-emacs \
|
| 27 |
--with-lispdir=${SITELISP}/${PN} \
|
| 28 |
--with-etcdir=${SITEETC} \
|
| 29 |
${myconf} || die "econf failed"
|
| 30 |
emake || die
|
| 31 |
}
|
| 32 |
|
| 33 |
src_install() {
|
| 34 |
einstall \
|
| 35 |
lispdir="${D}${SITELISP}/${PN}" \
|
| 36 |
etcdir="${D}${SITEETC}" \
|
| 37 |
|| die "einstall failed"
|
| 38 |
|
| 39 |
elisp-site-file-install "${FILESDIR}/${SITEFILE}"
|
| 40 |
|
| 41 |
dodoc ChangeLog GNUS-NEWS README todo
|
| 42 |
|
| 43 |
# fix info documentation
|
| 44 |
find "${D}/usr/share/info" -type f -exec mv {} {}.info \;
|
| 45 |
}
|