summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Dittrich <markusle@gentoo.org>2007-09-28 13:34:37 +0000
committerMarkus Dittrich <markusle@gentoo.org>2007-09-28 13:34:37 +0000
commit85a5b32e7004a17acc92589bfa8402669072cefe (patch)
treea6a55a05240e26767f9a3f37a54056612f9f678c /sci-visualization
parentNew series for Gnome 2.20 (diff)
downloadgentoo-2-85a5b32e7004a17acc92589bfa8402669072cefe.tar.gz
gentoo-2-85a5b32e7004a17acc92589bfa8402669072cefe.tar.bz2
gentoo-2-85a5b32e7004a17acc92589bfa8402669072cefe.zip
Version bump (see bug #194061).
(Portage version: 2.1.3.9)
Diffstat (limited to 'sci-visualization')
-rw-r--r--sci-visualization/epix/ChangeLog7
-rw-r--r--sci-visualization/epix/epix-1.2.0.2.ebuild60
-rw-r--r--sci-visualization/epix/files/digest-epix-1.2.0.23
3 files changed, 69 insertions, 1 deletions
diff --git a/sci-visualization/epix/ChangeLog b/sci-visualization/epix/ChangeLog
index 1449f2433c12..12b1c477f58b 100644
--- a/sci-visualization/epix/ChangeLog
+++ b/sci-visualization/epix/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sci-visualization/epix
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-visualization/epix/ChangeLog,v 1.18 2007/09/15 13:15:57 markusle Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-visualization/epix/ChangeLog,v 1.19 2007/09/28 13:34:37 markusle Exp $
+
+*epix-1.2.0.2 (28 Sep 2007)
+
+ 28 Sep 2007; Markus Dittrich <markusle@gentoo.org> +epix-1.2.0.2.ebuild:
+ Version bump (see bug #194061).
*epix-1.1.17 (15 Sep 2007)
diff --git a/sci-visualization/epix/epix-1.2.0.2.ebuild b/sci-visualization/epix/epix-1.2.0.2.ebuild
new file mode 100644
index 000000000000..75cebf3c160e
--- /dev/null
+++ b/sci-visualization/epix/epix-1.2.0.2.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-visualization/epix/epix-1.2.0.2.ebuild,v 1.1 2007/09/28 13:34:37 markusle Exp $
+
+inherit elisp-common flag-o-matic toolchain-funcs bash-completion
+
+MY_PV="${PV/%.2/-2}"
+
+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/${PN}-${MY_PV}_withpdf.tar.bz2"
+LICENSE="GPL-2"
+
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="emacs"
+
+DEPEND="virtual/tetex
+ emacs? ( virtual/emacs )"
+
+SITEFILE=50${PN}-gentoo.el
+
+S="${WORKDIR}/${PN}-${MY_PV}"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${PN}-1.1.17-doc-gentoo.patch
+ sed -e 's:doc/${PACKAGE_TARNAME}:doc/${PACKAGE_TARNAME}-${PACKAGE_VERSION}:' \
+ -i configure || die "sed on configure failed"
+}
+
+
+src_compile() {
+ cd "${S}"
+ econf --with-nolisp || die "configure failed"
+ emake || die "compile failed"
+}
+
+
+src_install() {
+ emake DESTDIR="${D}" install || die "install failed"
+ 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
+ dobashcompletion bash_completions \
+ || die "install of bash completions failed"
+}
+
+pkg_postinst() {
+ use emacs && elisp-site-regen
+}
+
+pkg_postrm() {
+ use emacs && elisp-site-regen
+}
diff --git a/sci-visualization/epix/files/digest-epix-1.2.0.2 b/sci-visualization/epix/files/digest-epix-1.2.0.2
new file mode 100644
index 000000000000..d875b9e30691
--- /dev/null
+++ b/sci-visualization/epix/files/digest-epix-1.2.0.2
@@ -0,0 +1,3 @@
+MD5 bb05285df3730c8fa598208b03e4b8de epix-1.2.0-2_withpdf.tar.bz2 1498049
+RMD160 c5de9e3d475da61d035677ede9859331637b4f20 epix-1.2.0-2_withpdf.tar.bz2 1498049
+SHA256 a4cd68ccde654c8c0cf6c9746d4662a6de937bda8ebbc54de65eae8bd678d0c1 epix-1.2.0-2_withpdf.tar.bz2 1498049