Update of /cvsroot/fink/dists/10.4/stable/main/finkinfo/sci
In directory sc8-pr-cvs17:/tmp/cvs-serv23804

Modified Files:
        gmt.info gmt.patch 
Added Files:
        gmt-coast.info gmt-doc.info 
Log Message:
Rolling 4.2.0 to stable to make room for 4.2.1 in unstable.


--- NEW FILE: gmt-doc.info ---
Package: gmt-doc
Version: 4.2.0
Revision: 2
Source:  ftp://ftp.soest.hawaii.edu/gmt/4/GMT%v_pdf.tar.bz2
Source2: ftp://ftp.soest.hawaii.edu/gmt/4/GMT%v_tut.tar.bz2
Source3: ftp://ftp.soest.hawaii.edu/gmt/4/GMT%v_scripts.tar.bz2
Source-MD5:  e40b81f56ab2ac4da05d2f9eabba9787
Source2-MD5: 8dccddce8f300209bcd0e15ac3e880c3
Source3-MD5: 2c0d18908136d0f2f556b5cda4670d70
SourceDirectory: GMT%v
Depends: gmt (= %v-%r)
CompileScript: echo "Moving files..."
InstallScript: <<
 rm -f examples/ex11/contoured_cube.ps.bz2
 ln -fs ../examples/ex15/ship.xyz tutorial
 mkdir -p %i/share/doc/gmt
 mv www/gmt/doc tutorial examples %i/share/doc/gmt
<<
Description: Generic Mapping Tools (Documents)
DescDetail: <<
 Documents and examples for GMT.

 GMT is an open source collection of ~60 tools for manipulating
 geographic and Cartesian data sets (including filtering, trend
 fitting, gridding, projecting, etc.) and producing Encapsulated
 PostScript File (EPS) illustrations ranging from simple x-y plots
 via contour maps to artificially illuminated surfaces and 3-D
 perspective views. GMT supports ~30 map projections and transformations
 and comes with support data such as coastlines, rivers, and political
 boundaries.
<<
DescPort: <<
 Combined the Cookbook and Tuturial documentation with the scripts
 that they refer to. Put them all in %p/share/doc/gmt.
 Removed one file that should not have been in the scripts package.
<<
License: GPL
DocFiles: COPYING
Maintainer: Jeffrey Whitaker <[EMAIL PROTECTED]>
Homepage: http://gmt.soest.hawaii.edu/

Index: gmt.info
===================================================================
RCS file: /cvsroot/fink/dists/10.4/stable/main/finkinfo/sci/gmt.info,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- gmt.info    3 Aug 2007 20:53:22 -0000       1.6
+++ gmt.info    12 Oct 2007 19:40:05 -0000      1.7
@@ -1,80 +1,88 @@
 Package: gmt
-Version: 4.1.4
-Revision: 1
-Source: ftp://ftp.soest.hawaii.edu/gmt/4/GMT%v_src.tar.bz2
+Version: 4.2.0
+Revision: 2
+Source:  ftp://ftp.soest.hawaii.edu/gmt/4/GMT%v_src.tar.bz2
 Source2: ftp://ftp.soest.hawaii.edu/gmt/4/GMT%v_man.tar.bz2
 Source3: ftp://ftp.soest.hawaii.edu/gmt/4/GMT%v_share.tar.bz2
 Source4: ftp://ftp.soest.hawaii.edu/gmt/4/GMT%v_suppl.tar.bz2
-Source5: ftp://ftp.soest.hawaii.edu/gmt/4/GMT4.1_coast.tar.bz2
-Source-MD5:  679bfb7b73a70fa4e77731afc75352b1
-Source2-MD5: 4931a770b95f2f096e689f8e4d0203ab
-Source3-MD5: 27960716546b8d5454a2bf605290f6ec
-Source4-MD5: 9ee5e07db137b2aa99ad29e5fb33fa52
-Source5-MD5: 2ab56bb6dd2baf7299143a6cb46fbea4
+Source5: ftp://ftp.soest.hawaii.edu/gmt/4/GMT4.2_coast.tar.bz2
+Source-MD5:  738220c9663fd219fa072dd24d2f5f45
+Source2-MD5: 136b3eef4fcf6b6b957bb990d5da3ff8
+Source3-MD5: 39c725238e97add95f9f2a6f77a83856
+Source4-MD5: 0c2b7b10020266f960deee379a95ce22
+Source5-MD5: 09809983e40a182866bf765f0d4597de
 SourceDirectory: GMT%v
 Source5ExtractDir: GMT%v
-BuildDepends: netcdf (>= 3.6.0-1002)
-Depends: netcdf-shlibs (>= 3.6.0-1002)
+Patch: %n.patch
+BuildDepends: netcdf (>= 3.6.2-6)
+Depends: netcdf-shlibs (>= 3.6.2-6), %n-shlibs (= %v-%r)
+Recommends: %n-doc, %n-coast
 NoSetCPPFLAGS: true
-SetCFLAGS: -O2 -ansi -pedantic -funroll-loops -fexpensive-optimizations
+#SetCFLAGS: -O2 -ansi -pedantic -fno-common -fPIC -funroll-loops 
-fexpensive-optimizations
 SetLDFLAGS: -L%p/lib 
-
 # don't build xgrid to avoid x11 dependency.
 # don't build mex (won't work unless matlab installed).
-ConfigureParams: --mandir='${prefix}/share/man' --disable-shared 
--datadir='${prefix}/share/%n' --enable-netcdf=%p --disable-xgrid
-
-Patch: %n.patch
+ConfigureParams: --mandir='${prefix}/share/man' --enable-shared 
--datadir='${prefix}/share/%n' --enable-netcdf=%p 
--enable-www='${prefix}/share/doc' --disable-xgrid --disable-mex 
--enable-mansect=1
 CompileScript: <<
  #!/bin/sh -ev
  export NETCDFHOME=%p
  ./configure %c
- make gmt suppl
+ make all suppl
 <<
 InstallScript: <<
- make install install-data install-man install-suppl prefix=%i 
mandir=%i/share/man datadir=%i/share/%n
- mv %i/bin/GMT %i/bin/GMT.orig
- sed 's|%b|%p|g' < %i/bin/GMT.orig > %i/bin/GMT
- chmod 755 %i/bin/GMT
- /bin/rm -f %i/bin/GMT.orig
- ranlib %i/lib/libgmt.a
- ranlib %i/lib/libgmt_mgg.a
- ranlib %i/lib/libgmtps.a
- ranlib %i/lib/libmgd77.a
- ranlib %i/lib/libpsl.a
- ranlib %i/lib/libx2sys.a
- echo
- echo NOTE: make sure NOT to set the GMTHOME variable
+ #!/bin/sh -ev
+ make install-all prefix=%i
+ cd %i/bin
+ cp GMT GMT.orig
+ sed 's|%b|%p|g' < GMT.orig > GMT
+ /bin/rm -f GMT.orig
+ cd %i/lib
+ mv libpsl{,.4}.dylib
+ mv libgmt{,.4}.dylib
+ mv libgmtps{,.4}.dylib
+ ln -s libpsl{.4,}.dylib
+ ln -s libgmt{.4,}.dylib
+ ln -s libgmtps{.4,}.dylib
+ ranlib *.a
 <<
-Description: Tools to plot data sets
+SplitOff: <<
+  Package: %N-shlibs
+  Files: lib/*.4.dylib
+  Shlibs: <<
+    %p/lib/libpsl.4.dylib 4.0.0 %n (>= 4.2.0-1)
+    %p/lib/libgmt.4.dylib 4.0.0 %n (>= 4.2.0-1)
+    %p/lib/libgmtps.4.dylib 4.0.0 %n (>= 4.2.0-1)
+  <<
+  DocFiles: CHANGES COPYING README
+<<
+SplitOff2: <<
+  Package: %N-dev
+  BuildDependsOnly: True
+  Files: include lib/*.a lib/*.dylib
+  DocFiles: CHANGES COPYING README
+<<
+Description: Generic Mapping Tools
 DescDetail: <<
- GMT is a free, open source collection of ~60 UNIX tools that allow
- users to manipulate (x,y) and (x,y,z) data sets (including filtering,
- trend fitting, gridding, projecting, etc.) and produce Encapsulated
+ GMT is an open source collection of ~60 tools for manipulating
+ geographic and Cartesian data sets (including filtering, trend
+ fitting, gridding, projecting, etc.) and producing Encapsulated
  PostScript File (EPS) illustrations ranging from simple x-y plots
- through contour maps to artificially illuminated surfaces and 3-D
- perspective views in black and white, gray tone, hachure patterns,
- and 24-bit color. GMT supports 25 common map projections plus linear,
- log, and power scaling, and comes with support data such as
- coastlines, rivers, and political boundaries.
+ via contour maps to artificially illuminated surfaces and 3-D
+ perspective views. GMT supports ~30 map projections and transformations
+ and comes with support data such as coastlines, rivers, and political
+ boundaries.
 
- When using the fink install of GMT, make sure not to have GMTHOME set.
+ Also consider:
+ gmt-doc: Documentation and example files
+ gmt-coast: High resolution coastlines
 <<
 DescPort: <<
  Remove xgrid suppl package so x11 not required.
-
- Tweaks by Kurt Schwehr to jump from 4.0 to 4.1.1.  Trying to not use
- the patch from before.  Also trying to optimize gmt so that things run
- much faster.
-
- Would probably better to just ranlib *.a
+ Now with shared libraries enabled.
+ Manpage section set to "1" instead of default "l".
+ Two more packages are available: gmt-doc and gmt-coast
 <<
 License: GPL
-SplitOff: <<
-  Package: %N-dev
-  BuildDependsOnly: True
-  Files: include lib/*.a
-  DocFiles: CHANGES COPYING README
-<<
 DocFiles: CHANGES COPYING README
 Maintainer: Jeffrey Whitaker <[EMAIL PROTECTED]>
 Homepage: http://gmt.soest.hawaii.edu/

Index: gmt.patch
===================================================================
RCS file: /cvsroot/fink/dists/10.4/stable/main/finkinfo/sci/gmt.patch,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- gmt.patch   3 Aug 2007 20:53:22 -0000       1.3
+++ gmt.patch   12 Oct 2007 19:40:05 -0000      1.4
@@ -1,208 +1,11 @@
-diff -u -r GMT4.1.4-orig/src/gmt_io.c GMT4.1.4/src/gmt_io.c
---- GMT4.1.4-orig/src/gmt_io.c 2006-10-30 11:17:36.000000000 -0500
-+++ GMT4.1.4/src/gmt_io.c      2006-12-04 17:07:58.000000000 -0500
-@@ -224,14 +224,23 @@
-       /* Finally try to get file from $GMTHOME/share[/subdirname] */
- 
-       if (subdir) {
--              sprintf (path, "%s%cshare%c%s%c%s%s", GMTHOME, DIR_DELIM, 
DIR_DELIM, subdir, DIR_DELIM, stem, suffix);
-+              sprintf (path, "%s%cshare%cgmt%c%s%c%s%s", GMTHOME, DIR_DELIM, 
DIR_DELIM, DIR_DELIM, subdir, DIR_DELIM, stem, suffix);
-+      }
-+      else {
-+              sprintf (path, "%s%cshare%cgmt%c%s%s", GMTHOME, DIR_DELIM, 
DIR_DELIM, DIR_DELIM, stem, suffix);
-+      }
-+      if (!access (path, R_OK)) return (TRUE);        /* Yes, use the file in 
$GMTHOME/share/subdir */
- 
-+      /* For debian systems (e.g. fink) these may hide in a gmt subdir under 
share */
-+      if (subdir) {
-+              sprintf (path, "%s%cshare%cgmt%c%s%c%s%s", GMTHOME, DIR_DELIM, 
DIR_DELIM, DIR_DELIM, subdir, DIR_DELIM, stem, suffix);
-       }
-       else {
--              sprintf (path, "%s%cshare%c%s%s", GMTHOME, DIR_DELIM, 
DIR_DELIM, stem, suffix);
-+              sprintf (path, "%s%cshare%cgmt%c%s%s", GMTHOME, DIR_DELIM, 
DIR_DELIM, DIR_DELIM, stem, suffix);
-       }
-       if (!access (path, R_OK)) return (TRUE);        /* Yes, use the file in 
$GMTHOME/share/subdir */
- 
-+
-       return (FALSE); /* No file found, give up */
- }
- 
-diff -u -r GMT4.1.4-orig/src/gmt_shore.c GMT4.1.4/src/gmt_shore.c
---- GMT4.1.4-orig/src/gmt_shore.c      2006-10-30 11:17:37.000000000 -0500
-+++ GMT4.1.4/src/gmt_shore.c   2006-12-04 17:09:50.000000000 -0500
-@@ -973,7 +973,7 @@
-       
-       /* 2. Then check the $GMTHOME/share/coast directory */
- 
--      sprintf (path, "%s%cshare%ccoast%c%s", GMTHOME, DIR_DELIM, DIR_DELIM, 
DIR_DELIM, name);
-+      sprintf (path, "%s%cshare%cgmt%ccoast%c%s", GMTHOME, DIR_DELIM, 
DIR_DELIM, DIR_DELIM, DIR_DELIM, name);
-       if (!access (path, R_OK)) return (TRUE);        /* File exists and is 
readable, return with name */
- 
-       /* File was not readable.  Now check if it exists */
-@@ -985,7 +985,7 @@
-       
-       /* 3. Nothing in share/coast; do a backwards-compatible check in the 
$GMTHOME/share directory */
- 
--      sprintf (path, "%s%cshare%c%s", GMTHOME, DIR_DELIM, DIR_DELIM, name);
-+      sprintf (path, "%s%cshare%cgmt%c%s", GMTHOME, DIR_DELIM, DIR_DELIM, 
DIR_DELIM, name);
-       if (!access (path, R_OK)) return (TRUE);        /* File exists and is 
readable, return with name */
- 
-       /* File was not readable.  Now check if it exists */
-@@ -999,7 +999,7 @@
-        * It is not an error if we cannot find the named file, only if it is 
found
-        * but cannot be read due to permission problems */
- 
--      sprintf (dir, "%s%cshare%ccoastline.conf", GMTHOME, DIR_DELIM, 
DIR_DELIM);
-+      sprintf (dir, "%s%cshare%cgmt%ccoastline.conf", GMTHOME, DIR_DELIM, 
DIR_DELIM, DIR_DELIM);
-       found = shore_conffile (name, dir, path);
-       
-       return (found);
-diff -u -r GMT4.1.4-orig/src/gmt_support.c GMT4.1.4/src/gmt_support.c
---- GMT4.1.4-orig/src/gmt_support.c    2006-10-30 13:09:29.000000000 -0500
-+++ GMT4.1.4/src/gmt_support.c 2006-12-04 15:35:05.000000000 -0500
-@@ -1105,9 +1105,9 @@
- 
-       if (!ok) {      /* Finally try $GMTHOME/share/cpt */
-               if (table)
--                      sprintf (CPT_file, "%s%cshare%ccpt%cGMT_%s.cpt", 
GMTHOME, DIR_DELIM, DIR_DELIM, DIR_DELIM, table);
-+                      sprintf (CPT_file, "%s%cshare%cgmt%ccpt%cGMT_%s.cpt", 
GMTHOME, DIR_DELIM, DIR_DELIM, DIR_DELIM, DIR_DELIM, table);
-               else    /* Default to rainbow colors */
--                      sprintf (CPT_file, "%s%cshare%ccpt%cGMT_rainbow.cpt", 
GMTHOME, DIR_DELIM, DIR_DELIM, DIR_DELIM);
-+                      sprintf (CPT_file, 
"%s%cshare%cgmt%ccpt%cGMT_rainbow.cpt", GMTHOME, DIR_DELIM, DIR_DELIM, 
DIR_DELIM, DIR_DELIM);
- 
-               ok = !access (CPT_file, R_OK);
-               if (!ok)
-diff -u -r GMT4.1.4-orig/src/mgd77/mgd77.c GMT4.1.4/src/mgd77/mgd77.c
---- GMT4.1.4-orig/src/mgd77/mgd77.c    2006-10-06 20:22:07.000000000 -0400
-+++ GMT4.1.4/src/mgd77/mgd77.c 2006-12-04 15:35:35.000000000 -0500
-@@ -2383,7 +2383,7 @@
-               if ((this = getenv ("GMTHOME")) != CNULL) {
-                       fprintf (stderr, "mgd77: Warning: MGD77_HOME not 
defined, set to $GMTHOME/share/mgd77\n");
-                       F->MGD77_HOME = (char *) GMT_memory (VNULL, 
(size_t)(strlen (this) + 13), 1, "MGD77_Set_Home");
--                      sprintf (F->MGD77_HOME, "%s/share/mgd77", this);
-+                      sprintf (F->MGD77_HOME, "%s/share/gmt/mgd77", this);
-               }
-               else {
-                       fprintf (stderr, "mgd77: ERROR: Neither MGD77_HOME or 
GMTHOME defined - give up\n");
-@@ -3494,7 +3494,7 @@
-                 return (-1);
-       }
- 
--      sprintf (buffer, "%s%cshare%cmgg%ccarter.d", SHAREDIR, DIR_DELIM, 
DIR_DELIM, DIR_DELIM);
-+      sprintf (buffer, "%s%cshare%cgmt%cmgg%ccarter.d", SHAREDIR, DIR_DELIM, 
DIR_DELIM, DIR_DELIM, DIR_DELIM);
-       if ( (fp = fopen (buffer, "r")) == NULL) {
-                 fprintf (stderr,"MGD77_carter_init:  Cannot open r %s\n", 
buffer);
-                 return (-1);
-diff -u -r GMT4.1.4-orig/src/mgg/binlegs.c GMT4.1.4/src/mgg/binlegs.c
---- GMT4.1.4-orig/src/mgg/binlegs.c    2006-03-26 16:43:05.000000000 -0500
-+++ GMT4.1.4/src/mgg/binlegs.c 2006-12-04 15:35:57.000000000 -0500
-@@ -124,8 +124,8 @@
-               sprintf (index_file, "%s%cgmt_index.b", path, DIR_DELIM);
-       }
-       else {
--              sprintf (leg_file, "%s%cshare%cmgg%cgmt_legs.d", LIBDIR, 
DIR_DELIM, DIR_DELIM, DIR_DELIM);
--              sprintf (index_file, "%s%cshare%cmgg%cgmt_index.b", LIBDIR, 
DIR_DELIM, DIR_DELIM, DIR_DELIM);
-+              sprintf (leg_file, "%s%cshare%cgmt%cmgg%cgmt_legs.d", LIBDIR, 
DIR_DELIM, DIR_DELIM, DIR_DELIM, DIR_DELIM);
-+              sprintf (index_file, "%s%cshare%cgmt%cmgg%cgmt_index.b", 
LIBDIR, DIR_DELIM, DIR_DELIM, DIR_DELIM, DIR_DELIM);
-       }
-       
-       
-diff -u -r GMT4.1.4-orig/src/mgg/gmt_mgg.c GMT4.1.4/src/mgg/gmt_mgg.c
---- GMT4.1.4-orig/src/mgg/gmt_mgg.c    2005-12-26 23:28:12.000000000 -0500
-+++ GMT4.1.4/src/mgg/gmt_mgg.c 2006-12-04 15:36:18.000000000 -0500
-@@ -172,7 +172,7 @@
-               exit (EXIT_FAILURE);
-       }
- 
--      sprintf (file, "%s%cshare%cmgg%cgmtfile_paths", SHAREDIR, DIR_DELIM, 
DIR_DELIM, DIR_DELIM);
-+      sprintf (file, "%s%cshare%cgmt%cmgg%cgmtfile_paths", SHAREDIR, 
DIR_DELIM, DIR_DELIM, DIR_DELIM, DIR_DELIM);
-       
-       n_gmtmgg_paths = 0;
- 
-@@ -385,7 +385,7 @@
-                 return (-1);
-       }
- 
--      sprintf (buffer, "%s%cshare%cmgg%ccarter.d", SHAREDIR, DIR_DELIM, 
DIR_DELIM, DIR_DELIM);
-+      sprintf (buffer, "%s%cshare%cgmt%cmgg%ccarter.d", SHAREDIR, DIR_DELIM, 
DIR_DELIM, DIR_DELIM, DIR_DELIM);
-       if ( (fp = fopen (buffer, "r")) == NULL) {
-                 fprintf (stderr,"carter_setup:  Cannot open r %s\n", buffer);
-                 return (-1);
-diff -u -r GMT4.1.4-orig/src/mgg/gmtlegs.c GMT4.1.4/src/mgg/gmtlegs.c
---- GMT4.1.4-orig/src/mgg/gmtlegs.c    2006-03-26 16:43:05.000000000 -0500
-+++ GMT4.1.4/src/mgg/gmtlegs.c 2006-12-04 15:36:39.000000000 -0500
-@@ -90,12 +90,12 @@
-               exit (EXIT_FAILURE);
-       }
-       
--      sprintf (file, "%s%cshare%cmgg%cgmt_legs.d", LIBDIR, DIR_DELIM, 
DIR_DELIM, DIR_DELIM);
-+      sprintf (file, "%s%cshare%cgmt%cmgg%cgmt_legs.d", LIBDIR, DIR_DELIM, 
DIR_DELIM, DIR_DELIM, DIR_DELIM);
-       if ((fleg = fopen (file, "r")) == NULL) {
-               fprintf (stderr,"gmtlegs: Could not open %s\n", file);
-               exit (EXIT_FAILURE);
-       }
--      sprintf (file, "%s%cshare%cmgg%cgmt_index.b", LIBDIR, DIR_DELIM, 
DIR_DELIM, DIR_DELIM);
-+      sprintf (file, "%s%cshare%cgmt%cmgg%cgmt_index.b", LIBDIR, DIR_DELIM, 
DIR_DELIM, DIR_DELIM, DIR_DELIM);
-       if ((fbin = fopen (file, "rb")) == NULL) {
-               fprintf(stderr,"gmtlegs: Could not open %s\n", file);
-               exit (EXIT_FAILURE);
-diff -u -r GMT4.1.4-orig/src/mgg/gmtlist.c GMT4.1.4/src/mgg/gmtlist.c
---- GMT4.1.4-orig/src/mgg/gmtlist.c    2006-04-10 01:47:30.000000000 -0400
-+++ GMT4.1.4/src/mgg/gmtlist.c 2006-12-04 15:36:51.000000000 -0500
-@@ -100,7 +100,7 @@
-                                       
-                               case 'C':
-                                       if (argv[i][2] == 0)    /* Use default 
corrfile */
--                                              sprintf (corrfile, 
"%s%cshare%cmgg%cxx_corrections.b", LIBDIR, DIR_DELIM, DIR_DELIM, DIR_DELIM);
-+                                              sprintf (corrfile, 
"%s%cshare%cgmt%cmgg%cxx_corrections.b", LIBDIR, DIR_DELIM, DIR_DELIM, 
DIR_DELIM, DIR_DELIM);
-                                       else
-                                               strcpy (corrfile, &argv[i][2]);
-                                       correct = TRUE;
-diff -u -r GMT4.1.4-orig/src/pslib.c GMT4.1.4/src/pslib.c
---- GMT4.1.4-orig/src/pslib.c  2006-10-30 11:17:38.000000000 -0500
-+++ GMT4.1.4/src/pslib.c       2006-12-04 15:37:26.000000000 -0500
-@@ -4580,11 +4580,11 @@
-       /* Finally try to get file from $GMTHOME/share[/subdirname] */
- 
-       if (subdir) {
--              sprintf (path, "%s%cshare%c%s%c%s%s", PSL_HOME, DIR_DELIM, 
DIR_DELIM, subdir, DIR_DELIM, stem, suffix);
-+              sprintf (path, "%s%cshare%cgmt%c%s%c%s%s", PSL_HOME, DIR_DELIM, 
DIR_DELIM, DIR_DELIM, subdir, DIR_DELIM, stem, suffix);
- 
-       }
-       else {
--              sprintf (path, "%s%cshare%c%s%s", PSL_HOME, DIR_DELIM, 
DIR_DELIM, stem, suffix);
-+              sprintf (path, "%s%cshare%cgmt%c%s%s", PSL_HOME, DIR_DELIM, 
DIR_DELIM, DIR_DELIM, stem, suffix);
-       }
-       if (!access (path, R_OK)) return (TRUE);        /* Yes, use the file in 
$GMTHOME/share/subdir */
+--- GMT4.2.0/src/makefile.orig 2007-04-01 15:59:46.000000000 -0400
++++ GMT4.2.0/src/makefile      2007-05-16 16:58:48.000000000 -0400
+@@ -234,6 +234,8 @@
+               $(AR) cvur $@ $?
+               $(RANLIB) $@
  
-diff -u -r GMT4.1.4-orig/src/x2sys/x2sys.c GMT4.1.4/src/x2sys/x2sys.c
---- GMT4.1.4-orig/src/x2sys/x2sys.c    2006-10-18 15:00:08.000000000 -0400
-+++ GMT4.1.4/src/x2sys/x2sys.c 2006-12-04 15:37:38.000000000 -0500
-@@ -495,7 +495,7 @@
-       }
-       else if ((this = getenv ("GMTHOME")) != CNULL) {        /* Assume GMT 
path */
--              X2SYS_HOME = (char *) GMT_memory (VNULL, (size_t)(strlen (this) 
+ 13), 1, "x2sys_set_home");
-+              X2SYS_HOME = (char *) GMT_memory (VNULL, (size_t)(strlen (this) 
+ 17), 1, "x2sys_set_home");
--              sprintf (X2SYS_HOME, "%s%cshare%cx2sys", this, DIR_DELIM, 
DIR_DELIM);
-+              sprintf (X2SYS_HOME, "%s%cshare%cgmt%cx2sys", this, DIR_DELIM, 
DIR_DELIM, DIR_DELIM);
-       }
-       else {  /* Set default path */
- #ifdef _WIN32
-diff -u -r GMT4.1.4-orig/src/x_system/x_setup.c GMT4.1.4/src/x_system/x_setup.c
---- GMT4.1.4-orig/src/x_system/x_setup.c       2005-03-10 14:02:25.000000000 
-0500
-+++ GMT4.1.4/src/x_system/x_setup.c    2006-12-04 15:39:27.000000000 -0500
-@@ -95,12 +95,12 @@
-               exit (EXIT_FAILURE);
-       }
++.SUFFIXES:    .$(SL)
++LD_OPT=-flat_namespace -undefined suppress -install_name 
${prefix}/lib/$*.4.$(SL) -compatibility_version 4.0.0 -current_version 4.0.0 
-dynamiclib
+ libpsl.$(SL): pslib.o
+               $(LD) $(LD_OPT) $? -o $@
  
--      sprintf (line, "%s%cshare%cmgg%cgmt_legs.d", LIBDIR, DIR_DELIM, 
DIR_DELIM, DIR_DELIM);
-+      sprintf (line, "%s%cshare%cgmt%cmgg%cgmt_legs.d", LIBDIR, DIR_DELIM, 
DIR_DELIM, DIR_DELIM, DIR_DELIM);
-       if ((fleg = fopen (line, "r")) == NULL) {
-               fprintf(stderr,"Could not open %s\n", line);
-               exit (EXIT_FAILURE);
-       }
--      sprintf (line, "%s%cshare%cmgg%cgmt_index.b", LIBDIR, DIR_DELIM, 
DIR_DELIM, DIR_DELIM);
-+      sprintf (line, "%s%cshare%cgmt%cmgg%cgmt_index.b", LIBDIR, DIR_DELIM, 
DIR_DELIM, DIR_DELIM, DIR_DELIM);
-       if ((fbin = fopen (line, "rb")) == NULL) {
-               fprintf(stderr,"Could not open %sb\n", line);
-               exit (EXIT_FAILURE);

--- NEW FILE: gmt-coast.info ---
Package: gmt-coast
Version: 4.2
Revision: 1
Source:  ftp://ftp.soest.hawaii.edu/gmt/4/GMT%v_high.tar.bz2
Source2: ftp://ftp.soest.hawaii.edu/gmt/4/GMT%v_full.tar.bz2
Source-MD5:  0c63560198b0b72bf76d2f8f7c7f8d7a
Source2-MD5: 1ef7f59dd1f068456c6e6c8f69ca40f3
SourceDirectory: .
Depends: gmt (>= %v.0-1)
CompileScript: echo "Moving files..."
InstallScript: <<
 mkdir -p %i/share/gmt
 mv share/coast %i/share/gmt
<<
Description: Generic Mapping Tools (Hi-res coastlines)
DescDetail: <<
 High-resolution coastlines for GMT.

 GMT is an open source collection of ~60 tools for manipulating
 geographic and Cartesian data sets (including filtering, trend
 fitting, gridding, projecting, etc.) and producing Encapsulated
 PostScript File (EPS) illustrations ranging from simple x-y plots
 via contour maps to artificially illuminated surfaces and 3-D
 perspective views. GMT supports ~30 map projections and transformations
 and comes with support data such as coastlines, rivers, and political
 boundaries.
<<
DescPort: <<
 High-resolution coastlines are not essential to GMT.
 Standard coastlines are included in gmt package.
<<
License: GPL
DocFiles: COPYING
Maintainer: Jeffrey Whitaker <[EMAIL PROTECTED]>
Homepage: http://gmt.soest.hawaii.edu/


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to