diff options
author | Marcus D. Hanwell <cryos@gentoo.org> | 2006-01-29 19:55:46 +0000 |
---|---|---|
committer | Marcus D. Hanwell <cryos@gentoo.org> | 2006-01-29 19:55:46 +0000 |
commit | bb901cfb02326790d324c5dbcacf8bc0cb044547 (patch) | |
tree | 047e794453c54eeca520f89c28236ab96d60cc82 /sci-visualization | |
parent | Moved media-gfx/gnuplot to sci-visualization/gnuplot (diff) | |
download | historical-bb901cfb02326790d324c5dbcacf8bc0cb044547.tar.gz historical-bb901cfb02326790d324c5dbcacf8bc0cb044547.tar.bz2 historical-bb901cfb02326790d324c5dbcacf8bc0cb044547.zip |
Moved from media-gfx/grace to sci-visualization/grace.
Diffstat (limited to 'sci-visualization')
-rw-r--r-- | sci-visualization/grace/ChangeLog | 191 | ||||
-rw-r--r-- | sci-visualization/grace/Manifest | 31 | ||||
-rw-r--r-- | sci-visualization/grace/files/digest-grace-5.1.18 | 1 | ||||
-rw-r--r-- | sci-visualization/grace/files/digest-grace-5.1.19 | 1 | ||||
-rw-r--r-- | sci-visualization/grace/files/grace-helpviewer-gentoo.diff | 11 | ||||
-rw-r--r-- | sci-visualization/grace/grace-5.1.18.ebuild | 118 | ||||
-rw-r--r-- | sci-visualization/grace/grace-5.1.19.ebuild | 114 | ||||
-rw-r--r-- | sci-visualization/grace/metadata.xml | 10 |
8 files changed, 477 insertions, 0 deletions
diff --git a/sci-visualization/grace/ChangeLog b/sci-visualization/grace/ChangeLog new file mode 100644 index 000000000000..6b034a8c7e32 --- /dev/null +++ b/sci-visualization/grace/ChangeLog @@ -0,0 +1,191 @@ +# ChangeLog for media-gfx/grace +# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-visualization/grace/ChangeLog,v 1.1 2006/01/29 19:55:46 cryos Exp $ + + 29 Jan 2006; Marcus D. Hanwell <cryos@gentoo.org> + +files/grace-helpviewer-gentoo.diff, +metadata.xml, +grace-5.1.18.ebuild, + +grace-5.1.19.ebuild: + Moved from media-gfx/grace to sci-visualization/grace. + + 22 Jan 2006; Marius Mauch <genone@gentoo.org> grace-5.1.18.ebuild, + grace-5.1.19.ebuild: + Replacing pdflib use flag with pdf use flag + + 14 Dec 2005; Donnie Berkholz <spyderous@gentoo.org>; grace-5.1.19.ebuild: + Fix modular X dependencies. openmotif pulls in X libs. + +*grace-5.1.19 (30 Nov 2005) + + 30 Nov 2005; Donnie Berkholz <spyderous@gentoo.org>; -files/10grace, + +grace-5.1.19.ebuild: + (#113892) Grace update from Evgeny Stambulchik <fnevgeny@weizmann.ac.il>. + Full list of changes at + http://plasma-gate.weizmann.ac.il/Grace/phpbb/viewtopic.php?t=503. + + 25 Nov 2005; Marcus D. Hanwell <cryos@gentoo.org> -grace-5.1.14.ebuild: + Removed old version. + + 11 Nov 2005; Michael Hanselmann <hansmi@gentoo.org> grace-5.1.18.ebuild: + Stable on ppc. + + 08 Nov 2005; Gustavo Zacarias <gustavoz@gentoo.org> grace-5.1.18.ebuild: + Stable on sparc + + 06 Nov 2005; <soulse@gentoo.org> grace-5.1.18.ebuild: + Stable on x86 wrt bug #111728. + + 26 Oct 2005; Marcus D. Hanwell <cryos@gentoo.org> -grace-5.1.13.ebuild, + grace-5.1.18.ebuild: + Stable on amd64, pruned old version. + + 16 Jun 2005; Marcus D. Hanwell <marcus@gentoo.org> grace-5.1.14.ebuild: + Stable on amd64. + + 05 Jun 2005; Michael Hanselmann <hansmi@gentoo.org> grace-5.1.14.ebuild: + Stable on ppc. + + 27 May 2005; Jason Wever <weeve@gentoo.org> grace-5.1.14.ebuild: + Stable on SPARC. + + 25 May 2005; Donnie Berkholz <spyderous@gentoo.org>; + -files/grace-5.1.10-t1lib-fix-gentoo.patch, + -files/grace-5.1.12-t1lib-fix-gentoo.patch, -grace-5.1.7-r2.ebuild, + -grace-5.1.10-r1.ebuild, -grace-5.1.12-r1.ebuild: + Pull old versions. + + 25 May 2005; Donnie Berkholz <spyderous@gentoo.org>; grace-5.1.14.ebuild: + Stable on x86. + +*grace-5.1.18 (25 May 2005) + + 25 May 2005; Donnie Berkholz <spyderous@gentoo.org>; +grace-5.1.18.ebuild: + (#73898) Version bump. Highlights include PDF-1.4 support, pdflib-6 + compatibility, better TrueType font support. + + 23 Mar 2005; Seemant Kulleen <seemant@gentoo.org> grace-5.1.10-r1.ebuild, + grace-5.1.12-r1.ebuild, grace-5.1.13.ebuild, grace-5.1.14.ebuild: + change dep from net-www/mozilla to www-client/mozilla + + 23 Mar 2005; Seemant Kulleen <seemant@gentoo.org> grace-5.1.10-r1.ebuild, + grace-5.1.12-r1.ebuild, grace-5.1.13.ebuild, grace-5.1.14.ebuild: + change dep from net-www/epiphany to www-client/epiphany + + 18 Mar 2005; Seemant Kulleen <seemant@gentoo.org> grace-5.1.10-r1.ebuild, + grace-5.1.12-r1.ebuild, grace-5.1.13.ebuild, grace-5.1.14.ebuild: + Galeon is now in www-client from net-www + + 07 Nov 2004; Jason Wever <weeve@gentoo.org> grace-5.1.13.ebuild: + Stable on sparc. + + 10 Oct 2004; Jason Wever <weeve@gentoo.org> grace-5.1.14.ebuild: + Added ~sparc keyword. + + 08 Sep 2004; Mamoru KOMACHI <usata@gentoo.org> grace-5.1.10-r1.ebuild, + grace-5.1.12-r1.ebuild, grace-5.1.13.ebuild, grace-5.1.14.ebuild: + Moved net-www/dillo to www-client/dillo. + + 30 Mar 2004; Daniel Ahlberg <aliz@gentoo.org> grace-5.1.14.ebuild: + Adding amd64 keyword. Closing #44900. + +*grace-5.1.14 (18 Mar 2004) + + 18 Mar 2004; Donnie Berkholz <spyderous@gentoo.org>; grace-5.1.14.ebuild: + Version bump. Upstream changes include fixes for 64-bit, for a race condition + and for memory issues. + + 18 Mar 2004; Donnie Berkholz <spyderous@gentoo.org>; grace-5.1.12-r1.ebuild, + grace-5.1.13.ebuild: + Fixing broken dependency on fftw. fftw-2 and fftw-3 are incompatible, so a >= + dep doesn't work. It needs to be done like gtk+-1 and gtk+-2. + + 11 Jan 2004; Heinrich Wendel <lanius@gentoo.org> grace-5.1.10-r1.ebuild, + grace-5.1.12-r1.ebuild, grace-5.1.13.ebuild, grace-5.1.7-r2.ebuild: + fixed motif dep + + 11 Jan 2004; Heinrich Wendel <lanius@gentoo.org> grace-5.1.10-r1.ebuild, + grace-5.1.12-r1.ebuild, grace-5.1.13.ebuild, grace-5.1.7-r2.ebuild: + fixed motif dep + + 10 Dec 2003; Patrick Kursawe <phosphan@gentoo.org> grace-5.1.13.ebuild: + I guess ~ppc was removed by accident, at least there is no !ppc. + + 01 Nov 2003; Donnie Berkholz <spyderous@gentoo.org>; metadata.xml: + Adding metadata.xml for sci herd. + + 30 Oct 2003; Mamoru KOMACHI <usata@gentoo.org> grace-5.1.10-r1.ebuild, + grace-5.1.12-r1.ebuild, grace-5.1.13.ebuild: + Removed browsers from DEPEND, see Bug #32290 + + 30 Oct 2003; Mamoru KOMACHI <usata@gentoo.org> grace-5.1.12-r1.ebuild, + grace-5.1.13.ebuild: + Added fftw and netcdf local IUSE flags, as suggested by Donnie Berkholz + <spyderous@gentoo.org> in Bug #26842 + +*grace-5.1.13 (27 Oct 2003) + + 27 Oct 2003; Mamoru KOMACHI <usata@gentoo.org> grace-5.1.10-r1.ebuild, + grace-5.1.10.ebuild, grace-5.1.12-r1.ebuild, grace-5.1.12.ebuild, + grace-5.1.13.ebuild, files/grace-helpviewer-gentoo.diff: + Version bumped. Marked 5.1.10-r1 and 5.1.12-r1 stable for x86. + Removed 5.1.10 and 5.1.12 (since -r1 are in there). Fixed + environment variable settings in 10grace. + +*grace-5.1.10-r1 (09 Sep 2003) +*grace-5.1.12-r1 (09 Sep 2003) + + 09 Sep 2003; Mamoru KOMACHI <usata@gentoo.org> grace-5.1.10-r1.ebuild, + grace-5.1.12-r1.ebuild: + Fixed browsers dependency. This closes Bug #23292 + +*grace-5.1.12 (18 Aug 2003) + + 19 Aug 2003; MATSUU Takuto <matsuu@gentoo.org> grace-5.1.12.ebuild: + Added ~sparc to KEYWORDS. + + 18 Aug 2003; Mamoru KOMACHI <usata@gentoo.org> grace-5.1.12.ebuild, + files/grace-5.1.12-t1lib-fix-gentoo.patch: + Version bump. New debug, png and jpeg IUSE flags. Added + dev-libs/fftw and app-sci/netcdf to DEPEND. Thanks to MATSUU Takuto + <matsuu@gentoo.org> in bug #26842 + +*grace-5.1.10 (05 Nov 2002) + + 09 Aug 2003; Mamoru KOMACHI <usata@gentoo.org> grace-5.1.10.ebuild, + files/grace-5.1.10-t1lib-fix-gentoo.patch: + Added t1lib DEPEND and a patch to compile grace against t1lib-5.0.0. + Patch submitted by Derek Dolney <dolney@astro.physics.upenn.edu> + in bug #25798 + + 30 Mar 2003; Alastair Tse <liquidx@gentoo.org> grace-5.1.10.ebuild, + grace-5.1.7-r2.ebuild: + update deps to virtual/motif + + 05 Nov 2002; Daniel Ahlberg <aliz@gentoo.org> : + Version bump. + +*grace-5.1.7-r2 (19 May 2002) + + 7 Sep 2002; Owen Stampflee <owen@gentoo.org> : + Added PPC to KEYWORDS. + + 19 May 2002; Seemant Kulleen <seemant@gentoo.org> grace-5.1.7-r2.ebuild + files/digest-grace-5.1.7-r2 : + + updated the libpng dependency info which was written incorrectly + Thanks to vt@vt.fermentas.lt in bug #2780 + +*grace-5.1.7 (1 Apr 2002) + + 1 Apr 2002; Grant Goodyear <g2boojum@gentoo.org> : + + New version. Thanks to Daniel Mettler. + +*grace-5.1.6 (1 Feb 2002) + + 1 Feb 2002; G.Bevin <gbevin@gentoo.org> ChangeLog : + + Added initial ChangeLog which should be updated whenever the package is + updated in any way. This changelog is targetted to users. This means that the + comments should well explained and written in clean English. The details about + writing correct changelogs are explained in the skel.ChangeLog file which you + can find in the root directory of the portage repository. diff --git a/sci-visualization/grace/Manifest b/sci-visualization/grace/Manifest new file mode 100644 index 000000000000..fef1dd0f0294 --- /dev/null +++ b/sci-visualization/grace/Manifest @@ -0,0 +1,31 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +MD5 5acaa2374ed8ab7035da35beb417bd5b ChangeLog 7030 +RMD160 e902623f658af8306ba3f375838ac805c7d6e55f ChangeLog 7030 +SHA256 f0c1a276267ff3a87c43d9f0570351ae36548e17a94fde5c99ce4b6ab2322e26 ChangeLog 7030 +MD5 4d77fc740f63f5c45037cd1bd1db14d9 files/digest-grace-5.1.18 65 +RMD160 52d306f4f9d18ef86a02fab211c621874311357d files/digest-grace-5.1.18 65 +SHA256 93f699d91e73c457cbd31ab12ab99ed2d6b81f91ba99efd48011f69fc9c59eb1 files/digest-grace-5.1.18 65 +MD5 5ce58d0eed84e712b2883e7f2d41ee98 files/digest-grace-5.1.19 65 +RMD160 7baea32e68d33050a442bb1a6858e0cb24d8cecb files/digest-grace-5.1.19 65 +SHA256 60fc8a0a18de90c309acb278ad733690ce2952c82b216115aabbc53830a126ca files/digest-grace-5.1.19 65 +MD5 97e5d164e32726698f9e90f93d723c8f files/grace-helpviewer-gentoo.diff 384 +RMD160 c9c0ff6d9ff270cfb94ec2d91a19a1eee64e76be files/grace-helpviewer-gentoo.diff 384 +SHA256 d17e81fa31c1647c9b7a8dbff5a8aa75faf6d4d293ad2738de93acbdf754e206 files/grace-helpviewer-gentoo.diff 384 +MD5 ddc61777339bd5ea30e87f0148143301 grace-5.1.18.ebuild 3390 +RMD160 6c667a3c8f56a6ca9227256f88417fbe7bd547e1 grace-5.1.18.ebuild 3390 +SHA256 962973ef136962493d46a7463b4f9b4bee3ac50cd35c8eb05a9363afafb34253 grace-5.1.18.ebuild 3390 +MD5 82f718c00bb76eeaeccc11fc539d7b60 grace-5.1.19.ebuild 3327 +RMD160 3d7c58f97c88b4b49ed02ae50d8c4c2bb4e88b2d grace-5.1.19.ebuild 3327 +SHA256 eb8a30cd164f430237dd665497ebc4119fa8e14591f74c99c3a361f3a4388e8d grace-5.1.19.ebuild 3327 +MD5 3862c6034595e39fcd14a6bd239f749b metadata.xml 270 +RMD160 4a18fd2e74f2442bd197d4e340236596730f1fa7 metadata.xml 270 +SHA256 d491fe5442e5c066f02f6df97c020a1164873e4820fc917e12f9c6f838c3cb90 metadata.xml 270 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.2 (GNU/Linux) + +iD8DBQFD09jA6J2i8a8J4okRAoEiAJ4vjAtFDWHTWLYbR0+zBbynQ0t3zQCfbzsL +IQEF1SVBuZ1w7GM6249PVs0= +=SmQu +-----END PGP SIGNATURE----- diff --git a/sci-visualization/grace/files/digest-grace-5.1.18 b/sci-visualization/grace/files/digest-grace-5.1.18 new file mode 100644 index 000000000000..f5de4243e9ed --- /dev/null +++ b/sci-visualization/grace/files/digest-grace-5.1.18 @@ -0,0 +1 @@ +MD5 9f27cc76563d6fa1746333044a7c2a94 grace-5.1.18.tar.gz 2398365 diff --git a/sci-visualization/grace/files/digest-grace-5.1.19 b/sci-visualization/grace/files/digest-grace-5.1.19 new file mode 100644 index 000000000000..89d7179eb217 --- /dev/null +++ b/sci-visualization/grace/files/digest-grace-5.1.19 @@ -0,0 +1 @@ +MD5 0745c262ba4d0d1d82fee5972065aefc grace-5.1.19.tar.gz 2453049 diff --git a/sci-visualization/grace/files/grace-helpviewer-gentoo.diff b/sci-visualization/grace/files/grace-helpviewer-gentoo.diff new file mode 100644 index 000000000000..f1b034f4f1d4 --- /dev/null +++ b/sci-visualization/grace/files/grace-helpviewer-gentoo.diff @@ -0,0 +1,11 @@ +--- configure.orig 2003-02-24 17:08:34.000000000 +0900 ++++ configure 2003-10-27 04:49:08.000000000 +0900 +@@ -899,7 +899,7 @@ + # Check whether --with-helpviewer or --without-helpviewer was given. + if test "${with_helpviewer+set}" = set; then + withval="$with_helpviewer" +- HELPVIEWER="-DGRACE_HELPVIEWER=${withval}" ++ HELPVIEWER="-DGRACE_HELPVIEWER=\\\"'${withval} %s'\\\"" + fi + + diff --git a/sci-visualization/grace/grace-5.1.18.ebuild b/sci-visualization/grace/grace-5.1.18.ebuild new file mode 100644 index 000000000000..b431e19e84e5 --- /dev/null +++ b/sci-visualization/grace/grace-5.1.18.ebuild @@ -0,0 +1,118 @@ +# 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.18.ebuild,v 1.1 2006/01/29 19:55:46 cryos 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/x11 + x11-libs/openmotif + >=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" +# x11-libs/xmhtml + +src_unpack() { + unpack ${A} + + cd ${S} + epatch ${FILESDIR}/${PN}-helpviewer-gentoo.diff +} + +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} \ + `use_with fftw` \ + `use_enable netcdf` \ + `use_enable debug` \ + `use_enable jpeg jpegdrv` \ + `use_enable png pngdrv` \ + `use_enable pdf pdfdrv` || die + # --enable-xmhtml + + 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 +} diff --git a/sci-visualization/grace/grace-5.1.19.ebuild b/sci-visualization/grace/grace-5.1.19.ebuild new file mode 100644 index 000000000000..81de1ea9bcd2 --- /dev/null +++ b/sci-visualization/grace/grace-5.1.19.ebuild @@ -0,0 +1,114 @@ +# 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.19.ebuild,v 1.1 2006/01/29 19:55:46 cryos 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="x11-libs/openmotif + >=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" +# x11-libs/xmhtml + +src_unpack() { + unpack ${A} +} + +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 + # --enable-xmhtml + + 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 +} diff --git a/sci-visualization/grace/metadata.xml b/sci-visualization/grace/metadata.xml new file mode 100644 index 000000000000..96ba5d5a359b --- /dev/null +++ b/sci-visualization/grace/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>graphics</herd> +<herd>sci</herd> +<maintainer> +<email>spyderous@gentoo.org</email> +<name>Donnie Berkholz</name> +</maintainer> +</pkgmetadata> |