commit: 9f36cb11528e7a96c2136bb0bd18a4fc974596af Author: Sébastien Fabbro <bicatali <AT> gentoo <DOT> org> AuthorDate: Mon Apr 28 18:43:14 2014 +0000 Commit: Sebastien Fabbro <bicatali <AT> gentoo <DOT> org> CommitDate: Mon Apr 28 18:43:14 2014 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=9f36cb11
sci-libs/pg2plplot: Version bump Package-Manager: portage-2.2.8-prefix --- sci-libs/pg2plplot/ChangeLog | 9 +++++-- sci-libs/pg2plplot/metadata.xml | 14 +++++++---- sci-libs/pg2plplot/pg2plplot-0.3.1.ebuild | 40 +++++++++++++++++++++++++++++++ 3 files changed, 56 insertions(+), 7 deletions(-) diff --git a/sci-libs/pg2plplot/ChangeLog b/sci-libs/pg2plplot/ChangeLog index ebe27d1..45e2bb9 100644 --- a/sci-libs/pg2plplot/ChangeLog +++ b/sci-libs/pg2plplot/ChangeLog @@ -1,10 +1,15 @@ # ChangeLog for sci-libs/pg2plplot -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ +*pg2plplot-0.3.1 (28 Apr 2014) + + 28 Apr 2014; Sébastien Fabbro <bicat...@gentoo.org> +pg2plplot-0.3.1.ebuild, + metadata.xml: + sci-libs/pg2plplot: Version bump + *pg2plplot-0.2.0 (13 Jan 2013) 13 Jan 2013; AstroFloyd <astrofl...@gmail.com> +pg2plplot-0.2.0.ebuild, +metadata.xml: Created initial ebuild for PG2PLplot-0.2.0 - diff --git a/sci-libs/pg2plplot/metadata.xml b/sci-libs/pg2plplot/metadata.xml index e8ef06d..d843d11 100644 --- a/sci-libs/pg2plplot/metadata.xml +++ b/sci-libs/pg2plplot/metadata.xml @@ -1,9 +1,13 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> - <herd>sci</herd> - <maintainer> - <email>astrofl...@gmail.com</email> - <name>AstroFloyd</name> - </maintainer> +<herd>sci</herd> +<maintainer> + <email>astrofl...@gmail.com</email> + <name>AstroFloyd</name> +</maintainer> +<longdescription> + PG2PLplot is code intended to help the transition from Fortran code + linked against PGPlot to linking it against PLplot. +</longdescription> </pkgmetadata> diff --git a/sci-libs/pg2plplot/pg2plplot-0.3.1.ebuild b/sci-libs/pg2plplot/pg2plplot-0.3.1.ebuild new file mode 100644 index 0000000..e15c406 --- /dev/null +++ b/sci-libs/pg2plplot/pg2plplot-0.3.1.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=5 + +inherit cmake-utils fortran-2 + +DESCRIPTION="Assist the transition from PGPlot to PLplot in Fortran programs" +HOMEPAGE="http://pg2plplot.sourceforge.net" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="X png postscript static-libs" + +DEPEND="virtual/fortran + sci-libs/plplot[fortran]" + +# If USE="png" or "postscript", ensure PLplot has USE="cairo": +RDEPEND="${DEPEND} + sci-libs/plplot[fortran,X?] + png? ( sci-libs/plplot[cairo] ) + postscript? ( sci-libs/plplot[cairo] )" + +DOCS=( CHANGELOG README VERSION ) +FORTRAN_STANDARD=90 + +src_prepare() { + sed -i -e "s:/usr:${EPREFIX}/usr:g" CMake/CMakeLocations.cmake || die + cmake-utils_src_prepare +} + +src_configure() { + local mycmakeargs=( + $(cmake-utils_use static-libs CREATE_STATICLIB) + ) + cmake-utils_src_configure +}