blob: 1be08d94b48e4f3917b9652bf19d2008624da7eb (
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
|
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emacs/gnuplot-mode/gnuplot-mode-0.7.0.ebuild,v 1.9 2014/06/08 11:08:42 ago Exp $
EAPI=5
inherit readme.gentoo elisp
DESCRIPTION="Gnuplot mode for Emacs"
HOMEPAGE="http://xafs.org/BruceRavel/GnuplotMode"
SRC_URI="https://github.com/bruceravel/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="amd64 arm hppa ppc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
IUSE="doc"
DEPEND="doc? ( virtual/latex-base )"
RDEPEND="sci-visualization/gnuplot[-emacs(-)]"
SITEFILE="50${PN}-gentoo.el"
src_configure() {
econf \
EMACS="${EMACS}" \
--with-lispdir="${EPREFIX}${SITELISP}/${PN}"
}
src_compile() {
emake
use doc && emake pdf
}
src_install() {
emake DESTDIR="${D}" install
elisp-site-file-install "${FILESDIR}/${SITEFILE}"
dodoc README.org
use doc && dodoc gpelcard.pdf
DOC_CONTENTS="Please see ${SITELISP}/${PN}/gnuplot.el for the
complete documentation."
readme.gentoo_create_doc
}
|