diff options
Diffstat (limited to 'sci-misc/gri')
-rw-r--r-- | sci-misc/gri/ChangeLog | 7 | ||||
-rw-r--r-- | sci-misc/gri/gri-2.12.17.ebuild | 77 |
2 files changed, 5 insertions, 79 deletions
diff --git a/sci-misc/gri/ChangeLog b/sci-misc/gri/ChangeLog index 7f3b5c580713..1795d1d2f0f9 100644 --- a/sci-misc/gri/ChangeLog +++ b/sci-misc/gri/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for sci-misc/gri -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-misc/gri/ChangeLog,v 1.24 2008/11/01 15:10:31 markusle Exp $ +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-misc/gri/ChangeLog,v 1.25 2009/02/13 20:44:14 phosphan Exp $ + + 13 Feb 2009; Patrick Kursawe <phosphan@gentoo.org> -gri-2.12.17.ebuild: + Removed unneeded version. 01 Nov 2008; Markus Dittrich <markusle@gentoo.org> +files/gri-2.12.18-postscript.patch, gri-2.12.18.ebuild: diff --git a/sci-misc/gri/gri-2.12.17.ebuild b/sci-misc/gri/gri-2.12.17.ebuild deleted file mode 100644 index 90162ea8ff03..000000000000 --- a/sci-misc/gri/gri-2.12.17.ebuild +++ /dev/null @@ -1,77 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-misc/gri/gri-2.12.17.ebuild,v 1.2 2008/08/24 17:29:46 ulm Exp $ - -inherit eutils elisp-common - -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" -IUSE="doc emacs examples" -RESTRICT="test" - -DEPEND=">=sci-libs/netcdf-3.5.0 - virtual/latex-base - media-gfx/imagemagick - virtual/ghostscript - emacs? ( virtual/emacs )" - -SITEFILE="50gri-gentoo.el" - -src_compile() { - econf || die "econf failed." - emake || die "emake failed." - if use emacs; then - elisp-compile src/*.el || die "elisp-compile failed" - fi -} - -src_install() { - # Replace PREFIX now and correct paths in the startup message. - sed -e s,PREFIX/share/gri/doc/,/usr/share/doc/${P}/, -i "${S}/src/startup.msg" - - einstall || die "einstall failed." - - # license text not necessary - rm "${D}"/usr/share/gri/doc/license.txt - - # install target installs it always and in the wrong location - # remove it here and call elisp-install in case of USE=emacs below - rm -rf "${D}"/usr/share/emacs - - if ! use doc; then - sed -e "s/Manual at.*//" -i "${D}"/usr/share/gri/startup.msg - rm "${D}"/usr/share/gri/doc/cmdrefcard.ps - rm "${D}"/usr/share/gri/doc/refcard.ps - rm -rf "${D}"/usr/share/gri/doc/html - fi - if ! use examples; then - sed -e "s/Examples at.*//" -i "${D}"/usr/share/gri/startup.msg - rm -rf "${D}"/usr/share/gri/doc/examples - fi - - dodoc 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 - cd src - elisp-install ${PN} *.{el,elc} || die "elisp-install failed" - elisp-site-file-install "${FILESDIR}/${SITEFILE}" \ - || die "elisp-site-file-install failed" - fi -} - -pkg_postinst() { - use emacs && elisp-site-regen -} - -pkg_postrm() { - use emacs && elisp-site-regen -} |