| 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.09.ebuild,v 1.1 2012/09/29 09:39:33 ulm Exp $ |
| 4 |
|
| 5 |
EAPI=4 |
| 6 |
|
| 7 |
inherit elisp |
| 8 |
|
| 9 |
DESCRIPTION="Emacs Speaks Statistics" |
| 10 |
HOMEPAGE="http://ess.r-project.org/" |
| 11 |
SRC_URI="http://ess.r-project.org/downloads/ess/${P}.tgz" |
| 12 |
|
| 13 |
LICENSE="GPL-2+ GPL-3+ Texinfo-manual" |
| 14 |
SLOT="0" |
| 15 |
KEYWORDS="amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~x86-macos" |
| 16 |
|
| 17 |
DEPEND="app-text/texi2html |
| 18 |
virtual/latex-base" |
| 19 |
|
| 20 |
SITEFILE="50${PN}-gentoo.el" |
| 21 |
|
| 22 |
src_compile() { |
| 23 |
default |
| 24 |
} |
| 25 |
|
| 26 |
src_install() { |
| 27 |
emake PREFIX="${ED}/usr" \ |
| 28 |
INFODIR="${ED}/usr/share/info" \ |
| 29 |
LISPDIR="${ED}${SITELISP}/ess" \ |
| 30 |
DOCDIR="${ED}/usr/share/doc/${PF}" \ |
| 31 |
install |
| 32 |
|
| 33 |
elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die |
| 34 |
|
| 35 |
# Most documentation is installed by the package's build system. |
| 36 |
rm -f "${ED}${SITELISP}/${PN}/ChangeLog" |
| 37 |
dodoc ChangeLog *NEWS doc/{TODO,ess-intro.pdf} |
| 38 |
newdoc lisp/ChangeLog ChangeLog-lisp |
| 39 |
} |
| 40 |
|
| 41 |
pkg_postinst() { |
| 42 |
elisp-site-regen |
| 43 |
elog "Please see /usr/share/doc/${PF} for the complete documentation." |
| 44 |
elog "Usage hints are in ${SITELISP}/${PN}/ess-site.el ." |
| 45 |
} |