summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2012-10-16 20:26:04 +0000
committerJustin Lecher <jlec@gentoo.org>2012-10-16 20:26:04 +0000
commit782d1c049bf79ec1f1acdd17b8e4c75226cdfc0e (patch)
treed812782de94a86a1bd9f509b663204f3b914a23f /sci-libs/pgplot
parentsci-libs/plplot: Remove virtual/fortran and always call fortran-2_pkg_setup a... (diff)
downloadgentoo-2-782d1c049bf79ec1f1acdd17b8e4c75226cdfc0e.tar.gz
gentoo-2-782d1c049bf79ec1f1acdd17b8e4c75226cdfc0e.tar.bz2
gentoo-2-782d1c049bf79ec1f1acdd17b8e4c75226cdfc0e.zip
sci-libs/pgplot: Remove virtual/fortran and always call fortran-2_pkg_setup as intend by the updated fortran-2.eclass
(Portage version: 2.2.0_alpha138/cvs/Linux x86_64, signed Manifest commit with key 70EB7916)
Diffstat (limited to 'sci-libs/pgplot')
-rw-r--r--sci-libs/pgplot/ChangeLog7
-rw-r--r--sci-libs/pgplot/metadata.xml4
-rw-r--r--sci-libs/pgplot/pgplot-5.2.2-r5.ebuild15
3 files changed, 17 insertions, 9 deletions
diff --git a/sci-libs/pgplot/ChangeLog b/sci-libs/pgplot/ChangeLog
index a384ab60d67b..a33d539a70bf 100644
--- a/sci-libs/pgplot/ChangeLog
+++ b/sci-libs/pgplot/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sci-libs/pgplot
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/pgplot/ChangeLog,v 1.25 2012/08/17 20:59:10 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/pgplot/ChangeLog,v 1.26 2012/10/16 20:26:04 jlec Exp $
+
+ 16 Oct 2012; Justin Lecher <jlec@gentoo.org> pgplot-5.2.2-r5.ebuild,
+ metadata.xml:
+ Remove virtual/fortran and always call fortran-2_pkg_setup as intend by the
+ updated fortran-2.eclass
17 Aug 2012; Sébastien Fabbro <bicatali@gentoo.org>
files/pgplot-makemake.patch:
diff --git a/sci-libs/pgplot/metadata.xml b/sci-libs/pgplot/metadata.xml
index 87378f8463a9..05a8a5d33331 100644
--- a/sci-libs/pgplot/metadata.xml
+++ b/sci-libs/pgplot/metadata.xml
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
-<herd>sci</herd>
-<longdescription lang="en">
+ <herd>sci</herd>
+ <longdescription lang="en">
PGPLOT is a Fortran subroutine package for drawing graphs on a variety
of display devices. The CPGPLOT library adds an intermediate level of
wrapper functions between C programs and the PGPLOT library. These
diff --git a/sci-libs/pgplot/pgplot-5.2.2-r5.ebuild b/sci-libs/pgplot/pgplot-5.2.2-r5.ebuild
index ec76d44aa6e9..2147ffbca9c7 100644
--- a/sci-libs/pgplot/pgplot-5.2.2-r5.ebuild
+++ b/sci-libs/pgplot/pgplot-5.2.2-r5.ebuild
@@ -1,8 +1,9 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/pgplot/pgplot-5.2.2-r5.ebuild,v 1.1 2012/07/05 22:00:11 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/pgplot/pgplot-5.2.2-r5.ebuild,v 1.2 2012/10/16 20:26:04 jlec Exp $
EAPI=4
+
inherit eutils fortran-2 toolchain-funcs multilib
MY_P="${PN}${PV//.}"
@@ -10,12 +11,14 @@ MY_P="${PN}${PV//.}"
DESCRIPTION="FORTRAN/C device-independent scientific graphic library"
HOMEPAGE="http://www.astro.caltech.edu/~tjp/pgplot/"
SRC_URI="ftp://ftp.astro.caltech.edu/pub/pgplot/${MY_P}.tar.gz"
-LICENSE="free-noncomm"
+
SLOT="0"
+LICENSE="free-noncomm"
KEYWORDS="~amd64 ~ia64 ~ppc ~x86 ~amd64-linux ~x86-linux"
IUSE="doc motif static-libs tk"
-RDEPEND="media-libs/libpng
- virtual/fortran
+
+RDEPEND="
+ media-libs/libpng
x11-libs/libX11
x11-libs/libXt
motif? ( >=x11-libs/openmotif-2.3:0 )
@@ -36,12 +39,12 @@ src_prepare() {
# gfortran < 4.3 does not compile gif, pp and wd drivers
if [[ $(tc-getFC) == *gfortran* ]] &&
[[ $(gcc-major-version)$(gcc-minor-version) -lt 43 ]] ; then
- ewarn
+ echo
ewarn "Warning!"
ewarn "gfortran < 4.3 selected: does not compile all drivers"
ewarn "disabling gif, wd, and ppd drivers"
ewarn "if you want more drivers, use gfortran >= 4.3"
- ewarn
+ echo
sed -i \
-e 's/GIDRIV/! GIDRIV/g' \
-e 's/PPDRIV/! GIDRIV/g' \