1 |
commit: 9f36cb11528e7a96c2136bb0bd18a4fc974596af |
2 |
Author: Sébastien Fabbro <bicatali <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Apr 28 18:43:14 2014 +0000 |
4 |
Commit: Sebastien Fabbro <bicatali <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Apr 28 18:43:14 2014 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=9f36cb11 |
7 |
|
8 |
sci-libs/pg2plplot: Version bump |
9 |
|
10 |
Package-Manager: portage-2.2.8-prefix |
11 |
|
12 |
--- |
13 |
sci-libs/pg2plplot/ChangeLog | 9 +++++-- |
14 |
sci-libs/pg2plplot/metadata.xml | 14 +++++++---- |
15 |
sci-libs/pg2plplot/pg2plplot-0.3.1.ebuild | 40 +++++++++++++++++++++++++++++++ |
16 |
3 files changed, 56 insertions(+), 7 deletions(-) |
17 |
|
18 |
diff --git a/sci-libs/pg2plplot/ChangeLog b/sci-libs/pg2plplot/ChangeLog |
19 |
index ebe27d1..45e2bb9 100644 |
20 |
--- a/sci-libs/pg2plplot/ChangeLog |
21 |
+++ b/sci-libs/pg2plplot/ChangeLog |
22 |
@@ -1,10 +1,15 @@ |
23 |
# ChangeLog for sci-libs/pg2plplot |
24 |
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
25 |
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
26 |
# $Header: $ |
27 |
|
28 |
+*pg2plplot-0.3.1 (28 Apr 2014) |
29 |
+ |
30 |
+ 28 Apr 2014; Sébastien Fabbro <bicatali@g.o> +pg2plplot-0.3.1.ebuild, |
31 |
+ metadata.xml: |
32 |
+ sci-libs/pg2plplot: Version bump |
33 |
+ |
34 |
*pg2plplot-0.2.0 (13 Jan 2013) |
35 |
|
36 |
13 Jan 2013; AstroFloyd <AstroFloyd@×××××.com> +pg2plplot-0.2.0.ebuild, |
37 |
+metadata.xml: |
38 |
Created initial ebuild for PG2PLplot-0.2.0 |
39 |
- |
40 |
|
41 |
diff --git a/sci-libs/pg2plplot/metadata.xml b/sci-libs/pg2plplot/metadata.xml |
42 |
index e8ef06d..d843d11 100644 |
43 |
--- a/sci-libs/pg2plplot/metadata.xml |
44 |
+++ b/sci-libs/pg2plplot/metadata.xml |
45 |
@@ -1,9 +1,13 @@ |
46 |
<?xml version="1.0" encoding="UTF-8"?> |
47 |
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
48 |
<pkgmetadata> |
49 |
- <herd>sci</herd> |
50 |
- <maintainer> |
51 |
- <email>AstroFloyd@×××××.com</email> |
52 |
- <name>AstroFloyd</name> |
53 |
- </maintainer> |
54 |
+<herd>sci</herd> |
55 |
+<maintainer> |
56 |
+ <email>AstroFloyd@×××××.com</email> |
57 |
+ <name>AstroFloyd</name> |
58 |
+</maintainer> |
59 |
+<longdescription> |
60 |
+ PG2PLplot is code intended to help the transition from Fortran code |
61 |
+ linked against PGPlot to linking it against PLplot. |
62 |
+</longdescription> |
63 |
</pkgmetadata> |
64 |
|
65 |
diff --git a/sci-libs/pg2plplot/pg2plplot-0.3.1.ebuild b/sci-libs/pg2plplot/pg2plplot-0.3.1.ebuild |
66 |
new file mode 100644 |
67 |
index 0000000..e15c406 |
68 |
--- /dev/null |
69 |
+++ b/sci-libs/pg2plplot/pg2plplot-0.3.1.ebuild |
70 |
@@ -0,0 +1,40 @@ |
71 |
+# Copyright 1999-2014 Gentoo Foundation |
72 |
+# Distributed under the terms of the GNU General Public License v2 |
73 |
+# $Header: $ |
74 |
+ |
75 |
+EAPI=5 |
76 |
+ |
77 |
+inherit cmake-utils fortran-2 |
78 |
+ |
79 |
+DESCRIPTION="Assist the transition from PGPlot to PLplot in Fortran programs" |
80 |
+HOMEPAGE="http://pg2plplot.sourceforge.net" |
81 |
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" |
82 |
+ |
83 |
+LICENSE="GPL-3" |
84 |
+SLOT="0" |
85 |
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
86 |
+IUSE="X png postscript static-libs" |
87 |
+ |
88 |
+DEPEND="virtual/fortran |
89 |
+ sci-libs/plplot[fortran]" |
90 |
+ |
91 |
+# If USE="png" or "postscript", ensure PLplot has USE="cairo": |
92 |
+RDEPEND="${DEPEND} |
93 |
+ sci-libs/plplot[fortran,X?] |
94 |
+ png? ( sci-libs/plplot[cairo] ) |
95 |
+ postscript? ( sci-libs/plplot[cairo] )" |
96 |
+ |
97 |
+DOCS=( CHANGELOG README VERSION ) |
98 |
+FORTRAN_STANDARD=90 |
99 |
+ |
100 |
+src_prepare() { |
101 |
+ sed -i -e "s:/usr:${EPREFIX}/usr:g" CMake/CMakeLocations.cmake || die |
102 |
+ cmake-utils_src_prepare |
103 |
+} |
104 |
+ |
105 |
+src_configure() { |
106 |
+ local mycmakeargs=( |
107 |
+ $(cmake-utils_use static-libs CREATE_STATICLIB) |
108 |
+ ) |
109 |
+ cmake-utils_src_configure |
110 |
+} |