Gentoo Archives: gentoo-commits

From: "Tomas Chvatal (scarabeus)" <scarabeus@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-geosciences/gmt: gmt-4.5.8.ebuild metadata.xml ChangeLog
Date: Tue, 29 May 2012 17:25:27
Message-Id: 20120529172517.3A9E52004B@flycatcher.gentoo.org
1 scarabeus 12/05/29 17:25:17
2
3 Modified: metadata.xml ChangeLog
4 Added: gmt-4.5.8.ebuild
5 Log:
6 Version bump to latest release.
7
8 (Portage version: 2.2.0_alpha108/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.6 sci-geosciences/gmt/metadata.xml
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-geosciences/gmt/metadata.xml?rev=1.6&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-geosciences/gmt/metadata.xml?rev=1.6&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-geosciences/gmt/metadata.xml?r1=1.5&r2=1.6
16
17 Index: metadata.xml
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sci-geosciences/gmt/metadata.xml,v
20 retrieving revision 1.5
21 retrieving revision 1.6
22 diff -u -r1.5 -r1.6
23 --- metadata.xml 29 May 2012 11:51:20 -0000 1.5
24 +++ metadata.xml 29 May 2012 17:25:17 -0000 1.6
25 @@ -3,6 +3,7 @@
26 <pkgmetadata>
27 <herd>sci-geosciences</herd>
28 <use>
29 + <flag name='gdal'>Enable <pkg>sci-libs/gdal</pkg> library support</flag>
30 <flag name='gmtfull'>Full resolution bathymetry database</flag>
31 <flag name='gmthigh'>Add high resolution bathymetry database</flag>
32 <flag name='gmttria'>Non GNU triangulation method, more efficient</flag>
33
34
35
36 1.27 sci-geosciences/gmt/ChangeLog
37
38 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-geosciences/gmt/ChangeLog?rev=1.27&view=markup
39 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-geosciences/gmt/ChangeLog?rev=1.27&content-type=text/plain
40 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-geosciences/gmt/ChangeLog?r1=1.26&r2=1.27
41
42 Index: ChangeLog
43 ===================================================================
44 RCS file: /var/cvsroot/gentoo-x86/sci-geosciences/gmt/ChangeLog,v
45 retrieving revision 1.26
46 retrieving revision 1.27
47 diff -u -r1.26 -r1.27
48 --- ChangeLog 29 May 2012 11:51:20 -0000 1.26
49 +++ ChangeLog 29 May 2012 17:25:17 -0000 1.27
50 @@ -1,6 +1,12 @@
51 # ChangeLog for sci-geosciences/gmt
52 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
53 -# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/gmt/ChangeLog,v 1.26 2012/05/29 11:51:20 scarabeus Exp $
54 +# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/gmt/ChangeLog,v 1.27 2012/05/29 17:25:17 scarabeus Exp $
55 +
56 +*gmt-4.5.8 (29 May 2012)
57 +
58 + 29 May 2012; Tomáš Chvátal <scarabeus@g.o> +gmt-4.5.8.ebuild,
59 + metadata.xml:
60 + Version bump to latest release.
61
62 29 May 2012; Tomáš Chvátal <scarabeus@g.o> -gmt-4.0.ebuild,
63 gmt-4.5.6.ebuild:
64
65
66
67 1.1 sci-geosciences/gmt/gmt-4.5.8.ebuild
68
69 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-geosciences/gmt/gmt-4.5.8.ebuild?rev=1.1&view=markup
70 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-geosciences/gmt/gmt-4.5.8.ebuild?rev=1.1&content-type=text/plain
71
72 Index: gmt-4.5.8.ebuild
73 ===================================================================
74 # Copyright 1999-2012 Gentoo Foundation
75 # Distributed under the terms of the GNU General Public License v2
76 # $Header: /var/cvsroot/gentoo-x86/sci-geosciences/gmt/gmt-4.5.8.ebuild,v 1.1 2012/05/29 17:25:16 scarabeus Exp $
77
78 EAPI=4
79
80 inherit multilib autotools eutils
81
82 GSHHS="gshhs-2.2.0"
83
84 DESCRIPTION="Powerful map generator"
85 HOMEPAGE="http://gmt.soest.hawaii.edu/"
86 SRC_URI="mirror://gmt/${P}.tar.bz2
87 mirror://gmt/${GSHHS}.tar.bz2
88 gmttria? ( mirror://gmt/${P}-non-gpl.tar.bz2 )
89 "
90 LICENSE="GPL-2 gmttria? ( Artistic )"
91 SLOT="0"
92 KEYWORDS="~amd64 ~x86"
93 IUSE="debug +gdal gmttria +metric mex +netcdf octave ps"
94
95 RDEPEND="
96 !sci-biology/probcons
97 gdal? ( sci-libs/gdal )
98 netcdf? ( >=sci-libs/netcdf-4.1 )
99 octave? ( sci-mathematics/octave )
100 "
101 DEPEND="${RDEPEND}"
102
103 S="${WORKDIR}/GMT${PV}"
104
105 # mex can use matlab too which i can't test
106 REQUIRED_USE="
107 mex? ( octave )
108 "
109
110 # hand written make files that are not parallel safe
111 MAKEOPTS+=" -j1"
112
113 src_prepare() {
114 mv -f "${WORKDIR}/share/"* "${S}/share/" || die
115
116 epatch \
117 "${FILESDIR}/${PN}-4.5.0-no-strip.patch" \
118 "${FILESDIR}/${PN}-4.5.6-respect-ldflags.patch"
119
120 eautoreconf
121 }
122
123 src_configure() {
124 econf \
125 --libdir=/usr/$(get_libdir)/${P} \
126 --includedir=/usr/include/${P} \
127 --datadir=/usr/share/${P} \
128 --docdir=/usr/share/doc/${PF} \
129 --disable-update \
130 --disable-matlab \
131 --disable-xgrid \
132 --enable-shared \
133 --disable-debug \
134 $(use_enable gdal) \
135 $(use_enable netcdf) \
136 $(use_enable octave) \
137 $(use_enable debug devdebug) \
138 $(use_enable !metric US) \
139 $(use_enable ps eps) \
140 $(use_enable mex) \
141 $(use_enable gmttria triangle)
142 }
143
144 src_install() {
145 emake \
146 DESTDIR="${D}" \
147 install-all
148
149 # remove static libs
150 find "${ED}/usr/$(get_libdir)" -name '*.a' -exec rm -f {} +
151
152 dodoc README
153
154 cat << _EOF_ > "${T}/99gmt"
155 GMTHOME="${EPREFIX}/usr/share/${P}"
156 GMT_SHAREDIR="${EPREFIX}/usr/share/${P}"
157 _EOF_
158 doenvd "${T}/99gmt"
159 }