summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2013-07-16 16:42:15 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2013-07-16 16:42:15 +0000
commit5179e90939c82c9f0b20edbc4fa0cc82c2d872b9 (patch)
tree2a5baf2b056fefd8201c51db92ada03f735d8373 /sci-visualization/epix
parentVersion bump (diff)
downloadgentoo-2-5179e90939c82c9f0b20edbc4fa0cc82c2d872b9.tar.gz
gentoo-2-5179e90939c82c9f0b20edbc4fa0cc82c2d872b9.tar.bz2
gentoo-2-5179e90939c82c9f0b20edbc4fa0cc82c2d872b9.zip
Version bump
(Portage version: 2.2.01.22124-prefix/cvs/Linux x86_64, signed Manifest commit with key 0x13CB1360)
Diffstat (limited to 'sci-visualization/epix')
-rw-r--r--sci-visualization/epix/ChangeLog10
-rw-r--r--sci-visualization/epix/epix-1.2.11.ebuild66
-rw-r--r--sci-visualization/epix/metadata.xml4
3 files changed, 76 insertions, 4 deletions
diff --git a/sci-visualization/epix/ChangeLog b/sci-visualization/epix/ChangeLog
index 65550d8ce3bb..be4244043149 100644
--- a/sci-visualization/epix/ChangeLog
+++ b/sci-visualization/epix/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sci-visualization/epix
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-visualization/epix/ChangeLog,v 1.49 2012/12/05 07:48:50 jlec Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-visualization/epix/ChangeLog,v 1.50 2013/07/16 16:42:15 bicatali Exp $
+
+*epix-1.2.11 (16 Jul 2013)
+
+ 16 Jul 2013; Sébastien Fabbro <bicatali@gentoo.org> +epix-1.2.11.ebuild,
+ metadata.xml:
+ Version bump
05 Dec 2012; Justin Lecher <jlec@gentoo.org> -epix-1.2.6.ebuild,
metadata.xml:
diff --git a/sci-visualization/epix/epix-1.2.11.ebuild b/sci-visualization/epix/epix-1.2.11.ebuild
new file mode 100644
index 000000000000..c8206c12484d
--- /dev/null
+++ b/sci-visualization/epix/epix-1.2.11.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-visualization/epix/epix-1.2.11.ebuild,v 1.1 2013/07/16 16:42:15 bicatali Exp $
+
+EAPI=5
+
+inherit elisp-common bash-completion-r1 autotools eutils
+
+DESCRIPTION="2- and 3-D plotter for creating images (to be used in LaTeX)"
+HOMEPAGE="http://mathcs.holycross.edu/~ahwang/current/ePiX.html"
+SRC_URI="http://mathcs.holycross.edu/~ahwang/epix/${P}_withpdf.tar.bz2"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
+IUSE="doc emacs examples"
+
+DEPEND="
+ virtual/latex-base
+ dev-texlive/texlive-pstricks
+ dev-texlive/texlive-pictures
+ dev-texlive/texlive-latexextra
+ dev-tex/xcolor
+ emacs? ( virtual/emacs )"
+RDEPEND="${DEPEND}"
+SITEFILE=50${PN}-gentoo.el
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-1.2.10-autotools.patch
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ --docdir="${EPREFIX}/usr/share/doc/${PF}" \
+ --disable-epix-el
+}
+
+src_install() {
+ default
+ if use emacs; then
+ # do compilation here as the make install target will
+ # create the .el file
+ elisp-compile *.el || die "elisp-compile failed!"
+ elisp-install ${PN} *.elc *.el || die "elisp-install failed!"
+ elisp-site-file-install "${FILESDIR}/${SITEFILE}"
+ fi
+ newbashcomp bash_completions epix
+ if use doc; then
+ insinto /usr/share/doc/${PF}
+ doins doc/*gz
+ fi
+ if use examples; then
+ cd samples
+ insinto /usr/share/doc/${PF}/examples
+ doins *.xp *.flx *c *h README
+ fi
+}
+
+pkg_postinst() {
+ use emacs && elisp-site-regen
+}
+
+pkg_postrm() {
+ use emacs && elisp-site-regen
+}
diff --git a/sci-visualization/epix/metadata.xml b/sci-visualization/epix/metadata.xml
index f946cb30e669..99968f74811f 100644
--- a/sci-visualization/epix/metadata.xml
+++ b/sci-visualization/epix/metadata.xml
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <herd>sci</herd>
- <longdescription lang="en">
+<herd>sci</herd>
+<longdescription lang="en">
ePiX creates mathematically accurate figures, plots, and
movies using easy-to-learn syntax. The output is expressly suitable
for use with LaTeX; figures may be written in a LaTeX picture