summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Fisette <ribosome@gentoo.org>2006-06-26 17:54:45 +0000
committerOlivier Fisette <ribosome@gentoo.org>2006-06-26 17:54:45 +0000
commit6e871548367f1e0258329e86e8039c56312110ac (patch)
treeb42a06b0f157ba046ba9842e08b6055b2c83e7b7 /sci-visualization/grace
parentAdded ~x86-fbsd keyword. (diff)
downloadgentoo-2-6e871548367f1e0258329e86e8039c56312110ac.tar.gz
gentoo-2-6e871548367f1e0258329e86e8039c56312110ac.tar.bz2
gentoo-2-6e871548367f1e0258329e86e8039c56312110ac.zip
New upstream version
(Portage version: 2.1-r1)
Diffstat (limited to 'sci-visualization/grace')
-rw-r--r--sci-visualization/grace/ChangeLog9
-rw-r--r--sci-visualization/grace/files/digest-grace-5.1.203
-rw-r--r--sci-visualization/grace/grace-5.1.20.ebuild108
3 files changed, 119 insertions, 1 deletions
diff --git a/sci-visualization/grace/ChangeLog b/sci-visualization/grace/ChangeLog
index 3e6b65534bae..30b5496712c8 100644
--- a/sci-visualization/grace/ChangeLog
+++ b/sci-visualization/grace/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for sci-visualization/grace
# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-visualization/grace/ChangeLog,v 1.4 2006/06/25 19:23:10 cryos Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-visualization/grace/ChangeLog,v 1.5 2006/06/26 17:54:45 ribosome Exp $
+
+*grace-5.1.20 (26 Jun 2006)
+
+ 26 Jun 2006; Olivier Fisette <ribosome@gentoo.org> +grace-5.1.20.ebuild:
+ New upstream version. See announcement at:
+ http://plasma-gate.weizmann.ac.il/Grace/phpbb/viewtopic.php?t=610. Thanks
+ to Pierre-Yves Savard <pys@rsvs.ulaval.ca> for reporting.
23 Feb 2006; Donnie Berkholz <spyderous@gentoo.org>; grace-5.1.18.ebuild,
grace-5.1.19.ebuild:
diff --git a/sci-visualization/grace/files/digest-grace-5.1.20 b/sci-visualization/grace/files/digest-grace-5.1.20
new file mode 100644
index 000000000000..9912946e5e80
--- /dev/null
+++ b/sci-visualization/grace/files/digest-grace-5.1.20
@@ -0,0 +1,3 @@
+MD5 37bdb28b9e30b8e5061ed3f8e0ab9168 grace-5.1.20.tar.gz 2458543
+RMD160 2c8ed6d71ccea028a8798b3c08feccbdac62348d grace-5.1.20.tar.gz 2458543
+SHA256 8524d54505bf634b038c054850ff71eed119dc96f3d5e3706b4e4ff4b07d4b13 grace-5.1.20.tar.gz 2458543
diff --git a/sci-visualization/grace/grace-5.1.20.ebuild b/sci-visualization/grace/grace-5.1.20.ebuild
new file mode 100644
index 000000000000..0c6699dbbda7
--- /dev/null
+++ b/sci-visualization/grace/grace-5.1.20.ebuild
@@ -0,0 +1,108 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-visualization/grace/grace-5.1.20.ebuild,v 1.1 2006/06/26 17:54:45 ribosome Exp $
+
+inherit eutils
+
+DESCRIPTION="WYSIWYG 2D plotting tool for the X Window System"
+HOMEPAGE="http://plasma-gate.weizmann.ac.il/Grace/"
+SRC_URI="ftp://plasma-gate.weizmann.ac.il/pub/grace/src/stable/${P}.tar.gz"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+IUSE="debug png jpeg pdf fftw netcdf"
+
+DEPEND="virtual/motif
+ >=sys-libs/zlib-1.0.3
+ >=media-libs/t1lib-1.3.1
+ >=media-libs/tiff-3.5
+ fftw? ( =sci-libs/fftw-2* )
+ netcdf? ( >=sci-libs/netcdf-3.0 )
+ png? ( >=media-libs/libpng-0.9.6 )
+ jpeg? ( media-libs/jpeg )
+ pdf? ( >=media-libs/pdflib-4.0.3 )
+ >=sys-apps/sed-4"
+
+src_compile() {
+
+ local gracehelpviewer
+
+ if has_version 'www-client/dillo' ; then
+ gracehelpviewer="dillo"
+ elif has_version 'www-client/opera' ; then
+ gracehelpviewer="opera"
+ elif has_version 'net-www/mozilla-firebird' \
+ || has_version 'net-www/mozilla-firebird-bin' \
+ || has_version 'net-www/mozilla-firebird-cvs' ; then
+ gracehelpviewer="MozillaFirebird"
+ elif has_version 'www-client/mozilla' ; then
+ gracehelpviewer="mozilla"
+ elif has_version 'kde-base/kdebase' ; then
+ gracehelpviewer="konqueror"
+ elif has_version 'www-client/galeon' ; then
+ gracehelpviewer="galeon"
+ elif has_version 'www-client/epiphany' ; then
+ gracehelpviewer="epiphany"
+ else
+ gracehelpviewer="netscape"
+ fi
+
+ sed -i -e "s%doc/%/usr/share/doc/${PF}/html/%g" src/*
+ sed -i -e "s%examples/%/usr/share/doc/${PF}/examples/%g" src/xmgrace.c
+
+ econf \
+ --enable-grace-home=/usr/share/grace \
+ --with-helpviewer="${gracehelpviewer} %s" \
+ `use_with fftw` \
+ `use_enable netcdf` \
+ `use_enable debug` \
+ `use_enable jpeg jpegdrv` \
+ `use_enable png pngdrv` \
+ `use_enable pdf pdfdrv` || die
+
+ cp doc/Makefile doc/Makefile.orig
+ sed -e 's:$(GRACE_HOME)/doc:$(PREFIX)/share/doc/$(PF)/html:g' \
+ doc/Makefile.orig >doc/Makefile || die
+
+ cp auxiliary/Makefile auxiliary/Makefile.orig
+ sed -e 's:$(GRACE_HOME)/bin:$(PREFIX)/bin:g' \
+ auxiliary/Makefile.orig >auxiliary/Makefile || die
+
+ cp grconvert/Makefile grconvert/Makefile.orig
+ sed -e 's:$(GRACE_HOME)/bin:$(PREFIX)/bin:g' \
+ grconvert/Makefile.orig >grconvert/Makefile || die
+
+ cp src/Makefile src/Makefile.orig
+ sed -e 's:$(GRACE_HOME)/bin:$(PREFIX)/bin:g' \
+ src/Makefile.orig >src/Makefile || die
+
+ cp grace_np/Makefile grace_np/Makefile.orig
+ sed -e 's:$(GRACE_HOME)/lib:$(PREFIX)/lib:g' \
+ -e 's:$(GRACE_HOME)/include:$(PREFIX)/include:g' \
+ grace_np/Makefile.orig >grace_np/Makefile || die
+
+ cp examples/Makefile examples/Makefile.orig
+ sed -e 's:/examples:/share/doc/$(PF)/examples:g' \
+ -e 's:$(GRACE_HOME):$(PREFIX):g' \
+ examples/Makefile.orig >examples/Makefile || die
+
+ make || die
+}
+
+src_install() {
+
+ make \
+ GRACE_HOME="${D}/usr/share/grace" \
+ PREFIX="${D}/usr" \
+ install || die
+
+ dodoc CHANGES COPYRIGHT ChangeLog DEVELOPERS LICENSE README
+
+ #dodir /usr/share/man/man1
+ #mv ${D}/usr/share/doc/${PF}/html/*.1 ${D}/usr/share/man/man1
+ doman "${D}"/usr/share/doc/${PF}/html/*.1
+ rm -f "${D}"/usr/share/doc/${PF}/html/*.1
+
+ dosym /usr/share/doc/${PF}/examples /usr/share/grace/examples
+}