diff options
author | Christian Faulhammer <opfer@gentoo.org> | 2007-09-25 07:11:44 +0000 |
---|---|---|
committer | Christian Faulhammer <opfer@gentoo.org> | 2007-09-25 07:11:44 +0000 |
commit | 77ade99b6b0306e171f9ea71d49a0221bfb3254c (patch) | |
tree | 0246175eceaff20d7f3c2fa8f75d205d3e81751e /sci-misc/gri/gri-2.12.13.ebuild | |
parent | introduce doc and examples USE flag, handling emacs USE flag correctly by pre... (diff) | |
download | gentoo-2-77ade99b6b0306e171f9ea71d49a0221bfb3254c.tar.gz gentoo-2-77ade99b6b0306e171f9ea71d49a0221bfb3254c.tar.bz2 gentoo-2-77ade99b6b0306e171f9ea71d49a0221bfb3254c.zip |
clean up
(Portage version: 2.1.3.9)
Diffstat (limited to 'sci-misc/gri/gri-2.12.13.ebuild')
-rw-r--r-- | sci-misc/gri/gri-2.12.13.ebuild | 60 |
1 files changed, 0 insertions, 60 deletions
diff --git a/sci-misc/gri/gri-2.12.13.ebuild b/sci-misc/gri/gri-2.12.13.ebuild deleted file mode 100644 index ab6ae6ecd6a9..000000000000 --- a/sci-misc/gri/gri-2.12.13.ebuild +++ /dev/null @@ -1,60 +0,0 @@ -# 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 -} |