/[gentoo-x86]/app-emacs/ess/ess-12.04.4.ebuild
Gentoo

Contents of /app-emacs/ess/ess-12.04.4.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (show annotations) (download)
Sat Sep 29 09:39:33 2012 UTC (21 months, 1 week ago) by ulm
Branch: MAIN
Changes since 1.5: +2 -2 lines
Version bump. Specify LICENSE more precisely. Remove old.

(Portage version: 2.1.11.23/cvs/Linux x86_64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-emacs/ess/ess-12.04.4.ebuild,v 1.5 2012/09/29 03:36:43 blueness Exp $
4
5 EAPI=4
6
7 inherit elisp
8
9 MY_P=${PN}-${PV%.*}-${PV##*.}
10 DESCRIPTION="Emacs Speaks Statistics"
11 HOMEPAGE="http://ess.r-project.org/"
12 SRC_URI="http://ess.r-project.org/downloads/ess/${MY_P}.tgz"
13
14 LICENSE="GPL-2+ GPL-3+ Texinfo-manual"
15 SLOT="0"
16 KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux ~x86-macos"
17 IUSE=""
18
19 DEPEND="app-text/texi2html
20 virtual/latex-base"
21 RDEPEND=""
22
23 S="${WORKDIR}/${MY_P}"
24 SITEFILE="50${PN}-gentoo.el"
25
26 src_compile() {
27 default
28 }
29
30 src_install() {
31 emake PREFIX="${ED}/usr" \
32 INFODIR="${ED}/usr/share/info" \
33 LISPDIR="${ED}${SITELISP}/ess" \
34 DOCDIR="${ED}/usr/share/doc/${PF}" \
35 install
36
37 elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die
38
39 # Most documentation is installed by the package's build system.
40 rm -f "${ED}${SITELISP}/${PN}/ChangeLog"
41 dodoc ChangeLog *NEWS doc/{TODO,ess-intro.pdf}
42 newdoc lisp/ChangeLog ChangeLog-lisp
43 }
44
45 pkg_postinst() {
46 elisp-site-regen
47 elog "Please see /usr/share/doc/${PF} for the complete documentation."
48 elog "Usage hints are in ${SITELISP}/${PN}/ess-site.el ."
49 }

  ViewVC Help
Powered by ViewVC 1.1.20