blob: 389974e12e623be7df777a86a7d67c3fa34da57a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emacs/ess/ess-5.3.6-r1.ebuild,v 1.4 2008/04/12 09:02:40 nixnut Exp $
inherit elisp
DESCRIPTION="Emacs Speaks Statistics"
HOMEPAGE="http://stat.ethz.ch/ESS/"
SRC_URI="http://stat.ethz.ch/ESS/downloads/ess/${P}.tgz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="alpha amd64 ppc sparc x86"
IUSE=""
DEPEND="app-text/texi2html
virtual/latex-base"
RDEPEND=""
SITEFILE=50${PN}-gentoo.el
src_compile() {
emake PREFIX=/usr \
INFODIR=/usr/share/info \
LISPDIR=${SITELISP}/ess \
|| die "emake failed"
}
src_install() {
# Install all elisp sources; the Makefile installs only part of them.
# This has to go before emake install, see bug 205156 comment 3.
elisp-install ${PN} lisp/ess*.el || die "elisp-install failed"
emake PREFIX="${D}/usr" \
INFODIR="${D}/usr/share/info" \
LISPDIR="${D}${SITELISP}/ess" \
install || die "emake install failed"
elisp-site-file-install "${FILESDIR}/${SITEFILE}" \
|| die "elisp-site-file-install failed"
#insinto "${SITEETC}/ess"
#doins -r etc/*
dohtml doc/html/*.html
dodoc ANNOUNCE ChangeLog doc/{NEWS,README,TODO} || die "dodoc failed"
newdoc lisp/ChangeLog ChangeLog-lisp || die "newdoc failed"
insinto /usr/share/doc/${PF}
doins doc/ess-intro.pdf
}
pkg_postinst() {
elisp-site-regen
elog "Please see /usr/share/doc/${PF} for the complete documentation."
elog "Usage hints are in ${SITELISP}/${PN}/ess-site.el ."
}
|