Hello,

Please find attached a patch to add GMT to T2.

Cheers,
Roger

diff -Nur /root/scientific.orig//gmt/gmt.cache package/scientific//gmt/gmt.cache
--- /root/scientific.orig//gmt/gmt.cache	1969-12-31 20:30:00.000000000 -0330
+++ package/scientific//gmt/gmt.cache	2010-09-11 17:09:37.000000000 -0230
@@ -0,0 +1,49 @@
+
+[TIMESTAMP] 1284222698 Sat Sep 11 14:01:38 2010
+[BUILDTIME] 100 (9)
+[SIZE] 48.09 MB, 1358 files
+
+[DEP] 00-dirtree
+[DEP] bash
+[DEP] binutils
+[DEP] bzip2
+[DEP] cf
+[DEP] coreutils
+[DEP] curl
+[DEP] diffutils
+[DEP] expat
+[DEP] findutils
+[DEP] gawk
+[DEP] gcc
+[DEP] gdal
+[DEP] glibc
+[DEP] grep
+[DEP] hdf5
+[DEP] imake
+[DEP] jasper
+[DEP] libice
+[DEP] libidn
+[DEP] libjpeg
+[DEP] libpng
+[DEP] libpthread-stubs
+[DEP] libsm
+[DEP] libtiff
+[DEP] libungif
+[DEP] libx11
+[DEP] libxau
+[DEP] libxcb
+[DEP] linux-header
+[DEP] make
+[DEP] mktemp
+[DEP] net-tools
+[DEP] netcdf
+[DEP] openssl
+[DEP] postgresql
+[DEP] sed
+[DEP] sqlite
+[DEP] sysfiles
+[DEP] tar
+[DEP] unixodbc
+[DEP] util-linux
+[DEP] xerces-c
+[DEP] zlib
diff -Nur /root/scientific.orig//gmt/gmt.conf package/scientific//gmt/gmt.conf
--- /root/scientific.orig//gmt/gmt.conf	1969-12-31 20:30:00.000000000 -0330
+++ package/scientific//gmt/gmt.conf	2010-09-11 17:16:21.000000000 -0230
@@ -0,0 +1,29 @@
+# --- T2-COPYRIGHT-NOTE-BEGIN ---
+# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
+# 
+# T2 SDE: package/.../gmt/gmt.conf
+# Copyright (C) 2010 The T2 SDE Project
+# 
+# More information can be found in the files COPYING and README.
+# 
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; version 2 of the License. A copy of the
+# GNU General Public License can be found in the file COPYING.
+# --- T2-COPYRIGHT-NOTE-END ---
+
+shared_files () {
+  tar -C /opt/gmt/ --strip-components 1 -xf `match_source_file -p share`
+}
+coastline_db () {
+  tar -C /opt/gmt/ -xf `match_source_file -p coast`
+}
+documentation () {
+  tar -C /opt/gmt/ --strip-components 2 -xf `match_source_file -p doc`
+}
+prefix="$root/opt/gmt"
+set_confopt
+var_append confopt ' ' "--enable-shared --enable-eps --enable-flock --enable-gdal"
+hook_add postinstall 4 "shared_files"
+hook_add postinstall 5 "coastline_db"
+hook_add postinstall 5 "documentation"
diff -Nur /root/scientific.orig//gmt/gmt.desc package/scientific//gmt/gmt.desc
--- /root/scientific.orig//gmt/gmt.desc	1969-12-31 20:30:00.000000000 -0330
+++ package/scientific//gmt/gmt.desc	2010-09-11 17:08:54.000000000 -0230
@@ -0,0 +1,41 @@
+[COPY] --- T2-COPYRIGHT-NOTE-BEGIN ---
+[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch.
+[COPY]
+[COPY] T2 SDE: package/.../gmt/gmt.desc
+[COPY] Copyright (C) 2010 The T2 SDE Project
+[COPY]
+[COPY] More information can be found in the files COPYING and README.
+[COPY]
+[COPY] This program is free software; you can redistribute it and/or modify
+[COPY] it under the terms of the GNU General Public License as published by
+[COPY] the Free Software Foundation; version 2 of the License. A copy of the
+[COPY] GNU General Public License can be found in the file COPYING.
+[COPY] --- T2-COPYRIGHT-NOTE-END ---
+
+[I] The Generic Mapping Tools
+
+[T] GMT is an open source collection of ~60 tools for manipulating
+[T] geographic and Cartesian data sets (including filtering, trend
+[T] fitting, gridding, projecting, etc.) and producing Encapsulated
+[T] PostScript File (EPS) illustrations ranging from simple x-y plots via
+[T] contour maps to artificially illuminated surfaces and 3-D perspective
+[T] views. GMT supports ~30 map projections and transformations and comes
+[T] with support data such as GSHHS coastlines, rivers, and political
+[T] boundaries.
+
+[A] Paul Wessel ([email protected])
+[A] Walter Smith
+[M] Roger Mason <[email protected]>
+
+[C] extra/scientific
+
+[L] GPL
+[S] Stable
+[V] 4.5.3
+[P] X -----5---9 142.700
+
+[D] 3942645605 GMT4.5.3_src.tar.bz2 ftp://ftp.soest.hawaii.edu/gmt/
+[D] 4284818047 GMT4.5.3_share.tar.bz2 ftp://ftp.soest.hawaii.edu/gmt/
+[D] 3416402678 GSHHS2.1.0_coast.tar.bz2 ftp://ftp.soest.hawaii.edu/gmt/
+[D] 2993686951 GMT4.5.3_doc.tar.bz2 ftp://ftp.soest.hawaii.edu/gmt/
+
----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[email protected] with a subject of: unsubscribe t2

Reply via email to