diff options
author | 2011-10-23 20:09:00 +0000 | |
---|---|---|
committer | 2011-10-23 20:09:00 +0000 | |
commit | 61f3e9ce152b5f933e985987b2e753ab79283398 (patch) | |
tree | 61aca2dd466067287cf1212bda9ac08ab69d57e3 /sci-visualization/grace | |
parent | old (diff) | |
download | gentoo-2-61f3e9ce152b5f933e985987b2e753ab79283398.tar.gz gentoo-2-61f3e9ce152b5f933e985987b2e753ab79283398.tar.bz2 gentoo-2-61f3e9ce152b5f933e985987b2e753ab79283398.zip |
old
(Portage version: 2.2.0_alpha70/cvs/Linux x86_64)
Diffstat (limited to 'sci-visualization/grace')
-rw-r--r-- | sci-visualization/grace/ChangeLog | 5 | ||||
-rw-r--r-- | sci-visualization/grace/grace-5.1.22-r1.ebuild | 100 |
2 files changed, 4 insertions, 101 deletions
diff --git a/sci-visualization/grace/ChangeLog b/sci-visualization/grace/ChangeLog index 7c6cb36e32d2..b0300c146eae 100644 --- a/sci-visualization/grace/ChangeLog +++ b/sci-visualization/grace/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for sci-visualization/grace # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-visualization/grace/ChangeLog,v 1.57 2011/10/23 15:36:31 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-visualization/grace/ChangeLog,v 1.58 2011/10/23 20:08:59 ssuominen Exp $ + + 23 Oct 2011; Samuli Suominen <ssuominen@gentoo.org> -grace-5.1.22-r1.ebuild: + old 23 Oct 2011; Raúl Porcel <armin76@gentoo.org> grace-5.1.22-r2.ebuild: alpha/ia64/sparc stable wrt #385807 diff --git a/sci-visualization/grace/grace-5.1.22-r1.ebuild b/sci-visualization/grace/grace-5.1.22-r1.ebuild deleted file mode 100644 index 4cc6e008f26a..000000000000 --- a/sci-visualization/grace/grace-5.1.22-r1.ebuild +++ /dev/null @@ -1,100 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-visualization/grace/grace-5.1.22-r1.ebuild,v 1.15 2011/06/21 14:30:59 jlec Exp $ - -EAPI=3 -inherit eutils fortran-2 toolchain-funcs - -DESCRIPTION="Motif based XY-plotting tool" -HOMEPAGE="http://plasma-gate.weizmann.ac.il/Grace/" -SRC_URI=" - http://dev.gentoo.org/~jlec/distfiles/${PN}.png.tar - ftp://plasma-gate.weizmann.ac.il/pub/${PN}/src/stable/${P}.tar.gz" - -SLOT="0" -LICENSE="GPL-2 LGPL-2" -KEYWORDS="alpha amd64 ia64 ppc ppc64 sparc x86" -IUSE="fortran fftw jpeg netcdf png" - -DEPEND=">=x11-libs/openmotif-2.3:0 - sys-libs/zlib - media-libs/t1lib - media-libs/tiff - x11-libs/xbae - fftw? ( sci-libs/fftw:2.1 ) - netcdf? ( sci-libs/netcdf ) - png? ( media-libs/libpng ) - jpeg? ( virtual/jpeg )" - -RDEPEND=" - fortran? ( virtual/fortran ) -${DEPEND} - x11-misc/xdg-utils" - -src_prepare() { - # move tmpnam to mkstemp (adapted from debian) - epatch "${FILESDIR}"/${P}-mkstemp.patch - # fix configure instead of aclocal.m4 - epatch "${FILESDIR}"/${PN}-5.1.21-netcdf.patch - # fix for missing defines when fortran is disabled - epatch "${FILESDIR}"/${PN}-5.1.21-fortran.patch - # fix a leak (from freebsd) - epatch "${FILESDIR}"/${P}-dlmodule.patch - - # don't strip if not asked for - sed -i \ - -e 's:$(INSTALL_PROGRAM) -s:$(INSTALL_PROGRAM):g' \ - {auxiliary,grconvert,src}/Makefile - - sed -i \ - -e 's:$(GRACE_HOME)/bin:$(PREFIX)/bin:g' \ - -e "s:\$(GRACE_HOME)/lib:\$(PREFIX)/$(get_libdir):g" \ - -e 's:$(GRACE_HOME)/include:$(PREFIX)/include:g' \ - -e 's:$(PREFIX)/man:$(PREFIX)/share/man:g' \ - Makefile */Makefile || die "sed failed" - - sed -i \ - -e 's:bin/grconvert:grconvert:' \ - -e 's:auxiliary/fdf2fit:fdf2fit:' \ - gracerc || die -} - -src_configure() { - local myconf - if use fortran; then - myconf="--with-f77=$(tc-getFC)" - else - myconf="--without-f77" - fi - - # the configure script just produces a basic Make.conf - # and a config.h - econf \ - --disable-pdfdrv \ - --disable-xmhtml \ - --without-bundled-xbae \ - --without-bundled-t1lib \ - --enable-grace-home=/usr/share/${PN} \ - --with-helpviewer="xdg-open %s" \ - --with-editor="xdg-open %s" \ - --with-printcmd="lpr" \ - $(use_with fftw) \ - $(use_enable fortran f77-wrapper) \ - $(use_enable netcdf) \ - $(use_enable jpeg jpegdrv) \ - $(use_enable png pngdrv) \ - ${myconf} -} - -src_install() { - emake DESTDIR="${D}" install || die "emake install failed" - dodoc CHANGES ChangeLog DEVELOPERS README COPYRIGHT - - dosym ../../${PN}/examples /usr/share/doc/${PF}/examples - dosym ../../${PN}/doc /usr/share/doc/${PF}/html - - doman "${ED}"/usr/share/doc/${PF}/html/*.1 - rm -f "${ED}"/usr/share/doc/${PF}/html/*.1 - doicon "${WORKDIR}"/${PN}.png || die "failed installing icon" - make_desktop_entry xmgrace Grace grace -} |