blob: 2429b93ba7033cb4e6f04e421418f1eeea0f69bd (
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
|
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
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="alpha amd64 arm hppa ia64 ppc ppc64 ~s390 sparc 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
}
|