diff options
-rw-r--r-- | sci-misc/gri/ChangeLog | 7 | ||||
-rw-r--r-- | sci-misc/gri/files/digest-gri-2.12.13 | 3 | ||||
-rw-r--r-- | sci-misc/gri/gri-2.12.13.ebuild | 60 |
3 files changed, 69 insertions, 1 deletions
diff --git a/sci-misc/gri/ChangeLog b/sci-misc/gri/ChangeLog index 412bd68ed924..b06cbf544991 100644 --- a/sci-misc/gri/ChangeLog +++ b/sci-misc/gri/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sci-misc/gri # Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-misc/gri/ChangeLog,v 1.7 2006/11/23 06:54:35 opfer Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-misc/gri/ChangeLog,v 1.8 2006/12/07 12:41:19 opfer Exp $ + +*gri-2.12.13 (07 Dec 2006) + + 07 Dec 2006; Christian Faulhammer <opfer@gentoo.org> +gri-2.12.13.ebuild: + version bump 23 Nov 2006; Christian Faulhammer <opfer@gentoo.org> gri-2.12.7.ebuild, gri-2.12.9.ebuild, gri-2.12.11.ebuild: diff --git a/sci-misc/gri/files/digest-gri-2.12.13 b/sci-misc/gri/files/digest-gri-2.12.13 new file mode 100644 index 000000000000..f1cdf374036f --- /dev/null +++ b/sci-misc/gri/files/digest-gri-2.12.13 @@ -0,0 +1,3 @@ +MD5 fdb02e38c777b76be0efadc9b6c842b4 gri-2.12.13.tar.gz 1657938 +RMD160 93116e938d7f8f0c8792ca090b709e430ceef541 gri-2.12.13.tar.gz 1657938 +SHA256 bdb2b3fa139d7ccc2de5d910c29e2c476a6220fd92fc81b9fe68241ec288b987 gri-2.12.13.tar.gz 1657938 diff --git a/sci-misc/gri/gri-2.12.13.ebuild b/sci-misc/gri/gri-2.12.13.ebuild new file mode 100644 index 000000000000..ab6ae6ecd6a9 --- /dev/null +++ b/sci-misc/gri/gri-2.12.13.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-misc/gri/gri-2.12.13.ebuild,v 1.1 2006/12/07 12:41:19 opfer Exp $ + +inherit eutils elisp-common + +IUSE="emacs" + +DESCRIPTION="language for scientific graphics programming" +HOMEPAGE="http://gri.sourceforge.net/" +SRC_URI="mirror://sourceforge/gri/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" + +# app-text/ghostscript-esp is needed, as it is the only version that gri +# builds with, see bug #155236 +DEPEND=">=sci-libs/netcdf-3.5.0 + virtual/tetex + media-gfx/imagemagick + app-text/ghostscript-esp + emacs? ( virtual/emacs )" + +SITEFILE="50gri-gentoo.el" + +src_compile() { + econf || die "econf failed." + emake || die "emake failed." + if use emacs; then + pushd src; elisp-comp *.el; popd + fi +} + +src_install() { + # Replace PREFIX now and correct paths in the startup message. + sed -e s,PREFIX/share/doc/gri/,/usr/share/doc/${P}/, -i ${S}/startup.msg + + einstall || die "einstall failed." + + dodoc AUTHOR README + #move docs to the proper place + mv ${D}/usr/share/gri/doc/* ${D}/usr/share/doc/${PF} + rmdir ${D}/usr/share/gri/doc/ + + if use emacs; then + pushd src + elisp-install gri *.{el,elc} + elisp-site-file-install ${FILESDIR}/${SITEFILE} + popd + fi +} + +pkg_postinst() { + use emacs && elisp-site-regen +} + +pkg_postrm() { + use emacs && elisp-site-regen +} |