You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
46 lines
1.1 KiB
46 lines
1.1 KiB
12 years ago
|
# Copyright 1999-2012 Gentoo Foundation
|
||
13 years ago
|
# Distributed under the terms of the GNU General Public License v2
|
||
12 years ago
|
# $Header: /var/cvsroot/gentoo-x86/app-emacs/ess/ess-12.09.ebuild,v 1.1 2012/09/29 09:39:33 ulm Exp $
|
||
13 years ago
|
|
||
12 years ago
|
EAPI=4
|
||
13 years ago
|
|
||
|
inherit elisp
|
||
|
|
||
|
DESCRIPTION="Emacs Speaks Statistics"
|
||
|
HOMEPAGE="http://ess.r-project.org/"
|
||
|
SRC_URI="http://ess.r-project.org/downloads/ess/${P}.tgz"
|
||
|
|
||
12 years ago
|
LICENSE="GPL-2+ GPL-3+ Texinfo-manual"
|
||
13 years ago
|
SLOT="0"
|
||
12 years ago
|
KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~x86-macos"
|
||
13 years ago
|
|
||
|
DEPEND="app-text/texi2html
|
||
|
virtual/latex-base"
|
||
|
|
||
|
SITEFILE="50${PN}-gentoo.el"
|
||
|
|
||
|
src_compile() {
|
||
12 years ago
|
default
|
||
13 years ago
|
}
|
||
|
|
||
|
src_install() {
|
||
|
emake PREFIX="${ED}/usr" \
|
||
|
INFODIR="${ED}/usr/share/info" \
|
||
|
LISPDIR="${ED}${SITELISP}/ess" \
|
||
|
DOCDIR="${ED}/usr/share/doc/${PF}" \
|
||
12 years ago
|
install
|
||
13 years ago
|
|
||
|
elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die
|
||
|
|
||
12 years ago
|
# Most documentation is installed by the package's build system.
|
||
13 years ago
|
rm -f "${ED}${SITELISP}/${PN}/ChangeLog"
|
||
12 years ago
|
dodoc ChangeLog *NEWS doc/{TODO,ess-intro.pdf}
|
||
|
newdoc lisp/ChangeLog ChangeLog-lisp
|
||
13 years ago
|
}
|
||
|
|
||
|
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 ."
|
||
|
}
|