1 |
jlec 10/06/24 19:48:35 |
2 |
|
3 |
Modified: ChangeLog gmt-4.0.ebuild gmt-4.1.1.ebuild |
4 |
Added: gmt-4.5.0-r2.ebuild |
5 |
Removed: gmt-4.5.0-r1.ebuild |
6 |
Log: |
7 |
Correct handling of *FLAGS, thanks Martin von Gagern for providing the patch |
8 |
(Portage version: 2.2_rc67/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.21 sci-geosciences/gmt/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-geosciences/gmt/ChangeLog?rev=1.21&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-geosciences/gmt/ChangeLog?rev=1.21&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-geosciences/gmt/ChangeLog?r1=1.20&r2=1.21 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/sci-geosciences/gmt/ChangeLog,v |
20 |
retrieving revision 1.20 |
21 |
retrieving revision 1.21 |
22 |
diff -u -r1.20 -r1.21 |
23 |
--- ChangeLog 17 Jun 2010 09:48:27 -0000 1.20 |
24 |
+++ ChangeLog 24 Jun 2010 19:48:35 -0000 1.21 |
25 |
@@ -1,6 +1,14 @@ |
26 |
# ChangeLog for sci-geosciences/gmt |
27 |
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/gmt/ChangeLog,v 1.20 2010/06/17 09:48:27 jlec Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/gmt/ChangeLog,v 1.21 2010/06/24 19:48:35 jlec Exp $ |
30 |
+ |
31 |
+*gmt-4.5.0-r2 (24 Jun 2010) |
32 |
+ |
33 |
+ 24 Jun 2010; Justin Lecher <jlec@g.o> gmt-4.0.ebuild, |
34 |
+ gmt-4.1.1.ebuild, -gmt-4.5.0-r1.ebuild, +gmt-4.5.0-r2.ebuild, |
35 |
+ files/gmt-4.5.0-no-strip.patch: |
36 |
+ Correct handling of *FLAGS, thanks Martin von Gagern for providing the |
37 |
+ patch |
38 |
|
39 |
17 Jun 2010; Justin Lecher <jlec@g.o> gmt-4.0.ebuild, |
40 |
gmt-4.1.1.ebuild, gmt-4.5.0-r1.ebuild: |
41 |
|
42 |
|
43 |
|
44 |
1.8 sci-geosciences/gmt/gmt-4.0.ebuild |
45 |
|
46 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-geosciences/gmt/gmt-4.0.ebuild?rev=1.8&view=markup |
47 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-geosciences/gmt/gmt-4.0.ebuild?rev=1.8&content-type=text/plain |
48 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-geosciences/gmt/gmt-4.0.ebuild?r1=1.7&r2=1.8 |
49 |
|
50 |
Index: gmt-4.0.ebuild |
51 |
=================================================================== |
52 |
RCS file: /var/cvsroot/gentoo-x86/sci-geosciences/gmt/gmt-4.0.ebuild,v |
53 |
retrieving revision 1.7 |
54 |
retrieving revision 1.8 |
55 |
diff -u -r1.7 -r1.8 |
56 |
--- gmt-4.0.ebuild 17 Jun 2010 09:48:27 -0000 1.7 |
57 |
+++ gmt-4.0.ebuild 24 Jun 2010 19:48:35 -0000 1.8 |
58 |
@@ -1,6 +1,6 @@ |
59 |
# Copyright 1999-2010 Gentoo Foundation |
60 |
# Distributed under the terms of the GNU General Public License v2 |
61 |
-# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/gmt/gmt-4.0.ebuild,v 1.7 2010/06/17 09:48:27 jlec Exp $ |
62 |
+# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/gmt/gmt-4.0.ebuild,v 1.8 2010/06/24 19:48:35 jlec Exp $ |
63 |
|
64 |
inherit multilib |
65 |
|
66 |
@@ -8,16 +8,16 @@ |
67 |
|
68 |
DESCRIPTION="Powerful map generator" |
69 |
HOMEPAGE="http://gmt.soest.hawaii.edu/" |
70 |
-SRC_URI="ftp://falcon.grdl.noaa.gov/pub/gmt/${MAINV}/GMT${PV}_progs.tar.bz2 |
71 |
- ftp://falcon.grdl.noaa.gov/pub/gmt/${MAINV}/GMT_share.tar.bz2 |
72 |
- ftp://falcon.grdl.noaa.gov/pub/gmt/${MAINV}/GMT${PV}_tut.tar.bz2 |
73 |
- ftp://falcon.grdl.noaa.gov/pub/gmt/${MAINV}/GMT${PV}_scripts.tar.bz2 |
74 |
- ftp://falcon.grdl.noaa.gov/pub/gmt/${MAINV}/GMT${PV}_man.tar.bz2 |
75 |
- doc? ( ftp://falcon.grdl.noaa.gov/pub/gmt/${MAINV}/GMT${PV}_pdf.tar.bz2 ) |
76 |
- gmtsuppl? ( ftp://falcon.grdl.noaa.gov/pub/gmt/${MAINV}/GMT${PV}_suppl.tar.bz2 ) |
77 |
- gmtfull? ( ftp://falcon.grdl.noaa.gov/pub/gmt/${MAINV}/GMT_full.tar.bz2 ) |
78 |
- gmthigh? ( ftp://falcon.grdl.noaa.gov/pub/gmt/${MAINV}/GMT_high.tar.bz2 ) |
79 |
- gmttria? ( ftp://falcon.grdl.noaa.gov/pub/gmt/${MAINV}/triangle.tar.bz2 )" |
80 |
+SRC_URI="mirror://gmt/${MAINV}/GMT${PV}_progs.tar.bz2 |
81 |
+ mirror://gmt/${MAINV}/GMT_share.tar.bz2 |
82 |
+ mirror://gmt/${MAINV}/GMT${PV}_tut.tar.bz2 |
83 |
+ mirror://gmt/${MAINV}/GMT${PV}_scripts.tar.bz2 |
84 |
+ mirror://gmt/${MAINV}/GMT${PV}_man.tar.bz2 |
85 |
+ doc? ( mirror://gmt/${MAINV}/GMT${PV}_pdf.tar.bz2 ) |
86 |
+ gmtsuppl? ( mirror://gmt/${MAINV}/GMT${PV}_suppl.tar.bz2 ) |
87 |
+ gmtfull? ( mirror://gmt/${MAINV}/GMT_full.tar.bz2 ) |
88 |
+ gmthigh? ( mirror://gmt/${MAINV}/GMT_high.tar.bz2 ) |
89 |
+ gmttria? ( mirror://gmt/${MAINV}/triangle.tar.bz2 )" |
90 |
# Needed because GMT_share in version 3 is different of that one in version 4, but they have same name. |
91 |
|
92 |
# Emailed one of the authors (Paul Wessel) who gave us permission to mirror |
93 |
|
94 |
|
95 |
|
96 |
1.3 sci-geosciences/gmt/gmt-4.1.1.ebuild |
97 |
|
98 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-geosciences/gmt/gmt-4.1.1.ebuild?rev=1.3&view=markup |
99 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-geosciences/gmt/gmt-4.1.1.ebuild?rev=1.3&content-type=text/plain |
100 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-geosciences/gmt/gmt-4.1.1.ebuild?r1=1.2&r2=1.3 |
101 |
|
102 |
Index: gmt-4.1.1.ebuild |
103 |
=================================================================== |
104 |
RCS file: /var/cvsroot/gentoo-x86/sci-geosciences/gmt/gmt-4.1.1.ebuild,v |
105 |
retrieving revision 1.2 |
106 |
retrieving revision 1.3 |
107 |
diff -u -r1.2 -r1.3 |
108 |
--- gmt-4.1.1.ebuild 17 Jun 2010 09:48:27 -0000 1.2 |
109 |
+++ gmt-4.1.1.ebuild 24 Jun 2010 19:48:35 -0000 1.3 |
110 |
@@ -1,6 +1,6 @@ |
111 |
# Copyright 1999-2010 Gentoo Foundation |
112 |
# Distributed under the terms of the GNU General Public License v2 |
113 |
-# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/gmt/gmt-4.1.1.ebuild,v 1.2 2010/06/17 09:48:27 jlec Exp $ |
114 |
+# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/gmt/gmt-4.1.1.ebuild,v 1.3 2010/06/24 19:48:35 jlec Exp $ |
115 |
|
116 |
inherit multilib |
117 |
|
118 |
@@ -8,16 +8,16 @@ |
119 |
|
120 |
DESCRIPTION="Powerful map generator" |
121 |
HOMEPAGE="http://gmt.soest.hawaii.edu/" |
122 |
-SRC_URI="ftp://falcon.grdl.noaa.gov/pub/gmt/${MAINV}/GMT${PV}_progs.tar.bz2 |
123 |
- ftp://falcon.grdl.noaa.gov/pub/gmt/${MAINV}/GMT_share.tar.bz2 |
124 |
- ftp://falcon.grdl.noaa.gov/pub/gmt/${MAINV}/GMT${PV}_tut.tar.bz2 |
125 |
- ftp://falcon.grdl.noaa.gov/pub/gmt/${MAINV}/GMT${PV}_scripts.tar.bz2 |
126 |
- ftp://falcon.grdl.noaa.gov/pub/gmt/${MAINV}/GMT${PV}_man.tar.bz2 |
127 |
- doc? ( ftp://falcon.grdl.noaa.gov/pub/gmt/${MAINV}/GMT${PV}_pdf.tar.bz2 ) |
128 |
- gmtsuppl? ( ftp://falcon.grdl.noaa.gov/pub/gmt/${MAINV}/GMT${PV}_suppl.tar.bz2 ) |
129 |
- gmtfull? ( ftp://falcon.grdl.noaa.gov/pub/gmt/${MAINV}/GMT_full.tar.bz2 ) |
130 |
- gmthigh? ( ftp://falcon.grdl.noaa.gov/pub/gmt/${MAINV}/GMT_high.tar.bz2 ) |
131 |
- gmttria? ( ftp://falcon.grdl.noaa.gov/pub/gmt/${MAINV}/triangle.tar.bz2 )" |
132 |
+SRC_URI="mirror://gmt/${MAINV}/GMT${PV}_progs.tar.bz2 |
133 |
+ mirror://gmt/${MAINV}/GMT_share.tar.bz2 |
134 |
+ mirror://gmt/${MAINV}/GMT${PV}_tut.tar.bz2 |
135 |
+ mirror://gmt/${MAINV}/GMT${PV}_scripts.tar.bz2 |
136 |
+ mirror://gmt/${MAINV}/GMT${PV}_man.tar.bz2 |
137 |
+ doc? ( mirror://gmt/${MAINV}/GMT${PV}_pdf.tar.bz2 ) |
138 |
+ gmtsuppl? ( mirror://gmt/${MAINV}/GMT${PV}_suppl.tar.bz2 ) |
139 |
+ gmtfull? ( mirror://gmt/${MAINV}/GMT_full.tar.bz2 ) |
140 |
+ gmthigh? ( mirror://gmt/${MAINV}/GMT_high.tar.bz2 ) |
141 |
+ gmttria? ( mirror://gmt/${MAINV}/triangle.tar.bz2 )" |
142 |
# Needed because GMT_share in version 3 is different of that one in version 4, but they have same name. |
143 |
|
144 |
LICENSE="GPL-2" |
145 |
|
146 |
|
147 |
|
148 |
1.1 sci-geosciences/gmt/gmt-4.5.0-r2.ebuild |
149 |
|
150 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-geosciences/gmt/gmt-4.5.0-r2.ebuild?rev=1.1&view=markup |
151 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-geosciences/gmt/gmt-4.5.0-r2.ebuild?rev=1.1&content-type=text/plain |
152 |
|
153 |
Index: gmt-4.5.0-r2.ebuild |
154 |
=================================================================== |
155 |
# Copyright 1999-2010 Gentoo Foundation |
156 |
# Distributed under the terms of the GNU General Public License v2 |
157 |
# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/gmt/gmt-4.5.0-r2.ebuild,v 1.1 2010/06/24 19:48:35 jlec Exp $ |
158 |
|
159 |
inherit multilib autotools eutils |
160 |
|
161 |
GSHHS="GSHHS2.0" |
162 |
|
163 |
DESCRIPTION="Powerful map generator" |
164 |
HOMEPAGE="http://gmt.soest.hawaii.edu/" |
165 |
SRC_URI="mirror://gmt/GMT${PV}_src.tar.bz2 |
166 |
mirror://gmt/GMT${PV}_share.tar.bz2 |
167 |
mirror://gmt/${GSHHS}_coast.tar.bz2 |
168 |
doc? ( mirror://gmt/GMT${PV}_doc.tar.bz2 ) |
169 |
gmtsuppl? ( mirror://gmt/GMT${PV}_suppl.tar.bz2 ) |
170 |
gmtfull? ( mirror://gmt/${GSHHS}_full.tar.bz2 ) |
171 |
gmthigh? ( mirror://gmt/${GSHHS}_high.tar.bz2 ) |
172 |
gmttria? ( mirror://gmt/GMT${PV}_triangle.tar.bz2 )" |
173 |
|
174 |
LICENSE="GPL-2" |
175 |
SLOT="0" |
176 |
KEYWORDS="~amd64 ~x86" |
177 |
IUSE="gmtsuppl gmtfull gmthigh gmttria doc" |
178 |
|
179 |
RDEPEND=" |
180 |
!sci-biology/probcons |
181 |
>=sci-libs/netcdf-3.5.0" |
182 |
DEPEND="${RDEPEND} |
183 |
gmtsuppl? ( >=sys-devel/autoconf-2.58 )" |
184 |
|
185 |
S="${WORKDIR}/GMT${PV}" |
186 |
|
187 |
src_unpack() { |
188 |
unpack ${A} || die "Unpacking failed." |
189 |
epatch "${FILESDIR}/${P}-no-strip.patch" |
190 |
mv -f "${WORKDIR}/share/"* "${S}/share/" || die "Moving sources failed." |
191 |
cd "${S}" |
192 |
if use gmtsuppl; then |
193 |
WANT_AUTOCONF=2.5 eautoreconf || die "autoconf failed." |
194 |
fi |
195 |
} |
196 |
|
197 |
src_compile() { |
198 |
|
199 |
# In make process will include /lib and /include to NETCDFHOME |
200 |
export NETCDFHOME="/usr" |
201 |
|
202 |
local myconf="" |
203 |
|
204 |
if use gmttria; then |
205 |
myconf="${myconf} --enable-triangle" |
206 |
fi |
207 |
|
208 |
econf \ |
209 |
--libdir=/usr/$(get_libdir)/${P} \ |
210 |
--includedir=/usr/include/${P} \ |
211 |
--datadir=/usr/share/${P} \ |
212 |
${myconf} \ |
213 |
|| die "Configure failed." |
214 |
|
215 |
local mymake= |
216 |
if use gmtsuppl; then |
217 |
mymake="${mymake} suppl" |
218 |
fi |
219 |
|
220 |
emake gmt ${mymake} || die "Make ${mymake} failed." |
221 |
} |
222 |
|
223 |
src_install() { |
224 |
local mymake= |
225 |
if use gmtsuppl; then |
226 |
mymake="${mymake} install-suppl" |
227 |
fi |
228 |
if use doc; then |
229 |
mymake="${mymake} install-doc" |
230 |
mkdir -p www/gmt/doc/html |
231 |
fi |
232 |
|
233 |
einstall \ |
234 |
includedir=${D}/usr/include/${P} \ |
235 |
libdir=${D}/usr/$(get_libdir)/${P} \ |
236 |
datadir=${D}/usr/share/${P} \ |
237 |
install \ |
238 |
install-data \ |
239 |
install-man \ |
240 |
${mymake} \ |
241 |
|| die "Make install failed." |
242 |
|
243 |
#now some docs |
244 |
dodoc README |
245 |
cp -r "${S}/{examples,tutorial}" "${D}/usr/share/doc/${PF}/" |
246 |
|
247 |
# Move the HTML and PDF docs to the docs directory. Old location breaks FHS |
248 |
# compliance, and is not used by web servers generally. |
249 |
if use doc; then |
250 |
mv "${D}/usr/www/gmt/doc/pdf/*.pdf" "${D}/usr/share/doc/${PF}/" |
251 |
mv "${D}/usr/www/gmt/doc/html" "${D}/usr/share/doc/${PF}/" |
252 |
rm -rf "${D}/usr/www" |
253 |
fi |
254 |
|
255 |
# dodir /etc/env.d |
256 |
# echo "GMTHOME=/usr/share/${P}" > ${D}/etc/env.d/99gmt |
257 |
cd "${D}/usr/share/${P}" |
258 |
ln -s . share |
259 |
} |
260 |
|
261 |
pkg_postinst() { |
262 |
einfo "The default installation is the cleanest one" |
263 |
einfo "To include more resources use the syntax:" |
264 |
einfo "USE=\"gmt_flags\" emerge gmt" |
265 |
einfo "Possible GMT flags are:" |
266 |
einfo "gmthigh -> High resolution bathimetry database;" |
267 |
einfo "gmtfull -> Full resolution bathimetry database;" |
268 |
einfo "gmttria -> Non GNU triangulate method, but more efficient;" |
269 |
einfo "gmtsuppl -> Supplementary functions for GMT;" |
270 |
} |