summaryrefslogtreecommitdiff
path: root/graphics/iGMT
diff options
context:
space:
mode:
authorjtb <jtb@pkgsrc.org>2001-01-29 04:32:11 +0000
committerjtb <jtb@pkgsrc.org>2001-01-29 04:32:11 +0000
commit52ff3545c90f0f63539bc06af03b7fbcfaa2e2bc (patch)
tree3844397a9cceaf4639d8480f0b58ea97302b1755 /graphics/iGMT
parent0e60a9e9f20b78b0aebde87ee29dabd92334c794 (diff)
downloadpkgsrc-52ff3545c90f0f63539bc06af03b7fbcfaa2e2bc.tar.gz
Initial import of new iGMT package:
Interactive Mapping of Geoscientific Datasets (a Tcl/Tk front-end to the Generic Mapping Tools suite).
Diffstat (limited to 'graphics/iGMT')
-rw-r--r--graphics/iGMT/Makefile67
-rw-r--r--graphics/iGMT/files/md53
-rw-r--r--graphics/iGMT/files/patch-sum4
-rw-r--r--graphics/iGMT/patches/patch-aa22
-rw-r--r--graphics/iGMT/patches/patch-ab40
-rw-r--r--graphics/iGMT/pkg/COMMENT1
-rw-r--r--graphics/iGMT/pkg/DESCR20
-rw-r--r--graphics/iGMT/pkg/PLIST111
8 files changed, 268 insertions, 0 deletions
diff --git a/graphics/iGMT/Makefile b/graphics/iGMT/Makefile
new file mode 100644
index 00000000000..5360ca323ef
--- /dev/null
+++ b/graphics/iGMT/Makefile
@@ -0,0 +1,67 @@
+# $NetBSD: Makefile,v 1.1.1.1 2001/01/29 04:32:11 jtb Exp $
+
+DISTNAME= igmt_v1.2
+PKGNAME= iGMT-1.2
+CATEGORIES= graphics
+MASTER_SITES= http://op.gfz-potsdam.de/igmt/
+
+MAINTAINER= jtb@netbsd.org
+HOMEPAGE= http://op.gfz-potsdam.de/igmt/
+
+DEPENDS+= GMT-3.3.6:../../graphics/GMT
+DEPENDS+= tcl-[0-9]*:../../lang/tcl
+DEPENDS+= tk-[0-9]*:../../lang/tk
+DEPENDS+= ghostscript-[0-9]*:../../print/ghostscript
+DEPENDS+= gv-[0-9]*:../../print/gv
+DEPENDS+= ImageMagick-[0-9]*:../../graphics/ImageMagick
+
+WRKSRC= ${WRKDIR}/igmt_1.2
+NO_BUILD= YES
+EVAL_PREFIX+= GMT_PREFIX=GMT TK_PREFIX=tk
+
+post-patch:
+ ${RM} ${WRKSRC}/*.orig ${WRKSRC}/configure_script
+
+do-configure:
+ for i in ${WRKSRC}/igmt ${WRKSRC}/igmt_configure.tcl; do \
+ ${SED} -e 's:@PREFIX@:'${PREFIX}':g' \
+ -e 's:@GMT_PREFIX@:'${GMT_PREFIX}':g' \
+ -e 's:@TK_PREFIX@:'${TK_PREFIX}':g' \
+ < $$i > $$i.tmp && ${MV} -f $$i.tmp $$i; \
+ done
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/igmt ${PREFIX}/bin
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/igmt
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/igmt
+ @for f in manual.ps README.TXT NOTES.TXT COPYING COPYRIGHT; do \
+ i="${INSTALL_DATA} ${WRKSRC}/$$f ${PREFIX}/share/doc/igmt/"; \
+ ${ECHO} $$i; $$i; \
+ done
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/igmt/colormaps
+ @for f in ${WRKSRC}/colormaps/*; do \
+ i="${INSTALL_DATA} $$f ${PREFIX}/share/igmt/colormaps/"; \
+ ${ECHO} $$i; $$i; \
+ done
+ @for f in ${WRKSRC}/igmt*.tcl ${WRKSRC}/*.awk; do \
+ i="${INSTALL_DATA} $$f ${PREFIX}/share/igmt/"; \
+ ${ECHO} $$i; $$i; \
+ done
+ @for f in 01_02-98.cmt gps.vel hotspots.dat nuvel.yx \
+ igmt_def.gif allslabs_rum.gmt volcanoes.dat wcity.dat \
+ wcity_major.dat igmt_gmtdefaults_3.0 igmt_gmtdefaults_3.1 \
+ igmt_gmtdefaults_3.2 igmt_gmtdefaults_3.3; do \
+ i="${INSTALL_DATA} ${WRKSRC}/$$f ${PREFIX}/share/igmt/"; \
+ ${ECHO} $$i; $$i; \
+ done
+ @for f in ${WRKSRC}/igmt_helper* ${WRKSRC}/*.batch; do \
+ i="${INSTALL_SCRIPT} $$f ${PREFIX}/share/igmt/"; \
+ ${ECHO} $$i; $$i; \
+ done
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/igmt
+ @for f in ${WRKSRC}/example*.ps.gz ${WRKSRC}/example*.dat; do \
+ i="${INSTALL_DATA} $$f ${PREFIX}/share/examples/igmt/"; \
+ ${ECHO} $$i; $$i; \
+ done
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/graphics/iGMT/files/md5 b/graphics/iGMT/files/md5
new file mode 100644
index 00000000000..4fb28430166
--- /dev/null
+++ b/graphics/iGMT/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 2001/01/29 04:32:12 jtb Exp $
+
+MD5 (igmt_v1.2.tar.gz) = 2fd8dc169e825a81f758123cfbe049bb
diff --git a/graphics/iGMT/files/patch-sum b/graphics/iGMT/files/patch-sum
new file mode 100644
index 00000000000..7058c53f60e
--- /dev/null
+++ b/graphics/iGMT/files/patch-sum
@@ -0,0 +1,4 @@
+$NetBSD: patch-sum,v 1.1.1.1 2001/01/29 04:32:12 jtb Exp $
+
+MD5 (patch-aa) = 0e379462ac8abdb0783471c08b87112a
+MD5 (patch-ab) = 951edcd9429adf84bbab0dafae3ea541
diff --git a/graphics/iGMT/patches/patch-aa b/graphics/iGMT/patches/patch-aa
new file mode 100644
index 00000000000..308846d96d1
--- /dev/null
+++ b/graphics/iGMT/patches/patch-aa
@@ -0,0 +1,22 @@
+$NetBSD: patch-aa,v 1.1.1.1 2001/01/29 04:32:12 jtb Exp $
+
+--- igmt.orig Sun Jan 28 19:54:27 2001
++++ igmt
+@@ -36,7 +36,7 @@
+ # set an enrionment variable or change the setting here
+ #
+ if test "$igmt_root" = ""; then
+- igmt_root=/home/becker/tcltk/igmt_1.2
++ igmt_root=@PREFIX@/share/igmt
+ export igmt_root
+ fi
+ if [ ! -r $igmt_root/igmt.tcl ]
+@@ -72,7 +72,7 @@
+ # or change the path here
+
+ if test "$wish_cmd" = ""; then
+- wish_cmd=/usr/local/bin/wish
++ wish_cmd=@TK_PREFIX@/bin/wish
+ fi
+ if [ ! -x $wish_cmd ]
+ then
diff --git a/graphics/iGMT/patches/patch-ab b/graphics/iGMT/patches/patch-ab
new file mode 100644
index 00000000000..9f4caafa7b6
--- /dev/null
+++ b/graphics/iGMT/patches/patch-ab
@@ -0,0 +1,40 @@
+$NetBSD: patch-ab,v 1.1.1.1 2001/01/29 04:32:12 jtb Exp $
+
+--- igmt_configure.tcl.orig Tue Sep 5 14:39:21 2000
++++ igmt_configure.tcl
+@@ -112,7 +112,7 @@
+ # default awk-type program, if gawk not available, use nawk
+ # for better math performance
+
+-set our_awk gawk
++set our_awk awk
+
+ # change this for the default location to put the script file iGMT creates
+
+@@ -163,7 +163,7 @@
+
+ # postscript viewer
+
+-set psviewer "ghostview"
++set psviewer "gv"
+
+
+ # command line for viewing a postscript file in portrait orientation
+@@ -224,7 +224,7 @@
+ # where to find the colormaps (.cpt) files for GMT
+ set colorpath "$igmt_root/colormaps"
+ # principal base directory for raster data
+-set rasterpath "/wrk/arthur/becker/global_data"
++set rasterpath "@GMT_PREFIX@/share/gmt"
+
+
+ ################################################################################
+@@ -294,7 +294,7 @@
+
+ # should we check for the availability of raster datasets?
+
+-set check_for_raster_availability 1
++set check_for_raster_availability 0
+
+ set nr_of_raster_data 20
+ # initialize variables with default values
diff --git a/graphics/iGMT/pkg/COMMENT b/graphics/iGMT/pkg/COMMENT
new file mode 100644
index 00000000000..75cde062e15
--- /dev/null
+++ b/graphics/iGMT/pkg/COMMENT
@@ -0,0 +1 @@
+Interactive Mapping of Geoscientific Datasets
diff --git a/graphics/iGMT/pkg/DESCR b/graphics/iGMT/pkg/DESCR
new file mode 100644
index 00000000000..aaa1d5b9e1c
--- /dev/null
+++ b/graphics/iGMT/pkg/DESCR
@@ -0,0 +1,20 @@
+iGMT stands for "Interactive GMT" or "Interactive Mapping of
+Geoscientific Datasets". It integrates the processing of various Earth
+science datasets with a Tcl/Tk graphical user interface for the
+generic mapping tools (GMT).
+
+iGMT software is intended to assist in the creation of GMT scripts and
+has built-in data processing capabilities for raster data sets such as
+topography, sea-floor age, free air-gravity, the geoid, and various
+polygon data files such as earthquake hypocentre lists or hot-spot
+locations. Clicking on "Map it!" when running iGMT produces a GMT
+script whose postscript output is converted and displayed as a GIF
+image.
+
+iGMT is used world-wide at more than 120 institutions for everyday
+map-making and teaching GMT.
+
+iGMT itself is distributed under the GNU public license. In addition,
+iGMT is not to be used for any military purposes or for any other
+activities that are against the spirit as expressed in the Student
+Pugwash Pledge (www.spusa.org/pugwash/pledge.html).
diff --git a/graphics/iGMT/pkg/PLIST b/graphics/iGMT/pkg/PLIST
new file mode 100644
index 00000000000..e39a3a74bb1
--- /dev/null
+++ b/graphics/iGMT/pkg/PLIST
@@ -0,0 +1,111 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2001/01/29 04:32:12 jtb Exp $
+bin/igmt
+share/doc/igmt/COPYING
+share/doc/igmt/COPYRIGHT
+share/doc/igmt/NOTES.TXT
+share/doc/igmt/README.TXT
+share/doc/igmt/manual.ps
+share/examples/igmt/example1.dat
+share/examples/igmt/example1.ps.gz
+share/examples/igmt/example2.dat
+share/examples/igmt/example2.ps.gz
+share/examples/igmt/example3.dat
+share/examples/igmt/example3.ps.gz
+share/examples/igmt/example4.dat
+share/examples/igmt/example4.ps.gz
+share/igmt/colminmax.awk
+share/igmt/colormaps/absvel.cpt
+share/igmt/colormaps/bathymetry.cpt
+share/igmt/colormaps/blue.cpt
+share/igmt/colormaps/col.00.cpt
+share/igmt/colormaps/col.01.cpt
+share/igmt/colormaps/col.02.cpt
+share/igmt/colormaps/col.03.cpt
+share/igmt/colormaps/col.04.cpt
+share/igmt/colormaps/col.05.cpt
+share/igmt/colormaps/col.06.cpt
+share/igmt/colormaps/col.07.cpt
+share/igmt/colormaps/col.08.cpt
+share/igmt/colormaps/col.09.cpt
+share/igmt/colormaps/col.10.cpt
+share/igmt/colormaps/col.11.cpt
+share/igmt/colormaps/col.12.cpt
+share/igmt/colormaps/col.13.cpt
+share/igmt/colormaps/col.14.cpt
+share/igmt/colormaps/col.15.cpt
+share/igmt/colormaps/col.16.cpt
+share/igmt/colormaps/col.17.cpt
+share/igmt/colormaps/col.18.cpt
+share/igmt/colormaps/col.19.cpt
+share/igmt/colormaps/col.20.cpt
+share/igmt/colormaps/col.21.cpt
+share/igmt/colormaps/col.22.cpt
+share/igmt/colormaps/col.23.cpt
+share/igmt/colormaps/col.24.cpt
+share/igmt/colormaps/col.25.cpt
+share/igmt/colormaps/col.26.cpt
+share/igmt/colormaps/col.27.cpt
+share/igmt/colormaps/col.28.cpt
+share/igmt/colormaps/col.29.cpt
+share/igmt/colormaps/col.30.cpt
+share/igmt/colormaps/col.31.cpt
+share/igmt/colormaps/col.32.cpt
+share/igmt/colormaps/col.33.cpt
+share/igmt/colormaps/col.34.cpt
+share/igmt/colormaps/col.35.cpt
+share/igmt/colormaps/col.36.cpt
+share/igmt/colormaps/col.37.cpt
+share/igmt/colormaps/col.th.1.cpt
+share/igmt/colormaps/colgeoid.cpt
+share/igmt/colormaps/geoid.cpt
+share/igmt/colormaps/geoid2.cpt
+share/igmt/colormaps/geoid3.cpt
+share/igmt/colormaps/geoid5.cpt
+share/igmt/colormaps/gravity.cpt
+share/igmt/colormaps/gshap.cpt
+share/igmt/colormaps/quakedepth.cpt
+share/igmt/colormaps/seafloor_age.cpt
+share/igmt/colormaps/seafloor_age2.cpt
+share/igmt/colormaps/sediment.2.cpt
+share/igmt/colormaps/sediment.cpt
+share/igmt/colormaps/tomo.cpt
+share/igmt/colormaps/tomo2.cpt
+share/igmt/colormaps/topo.bw.cpt
+share/igmt/colormaps/topo.cpt
+share/igmt/colormaps/topo.test.cpt
+share/igmt/colormaps/topo1.cpt
+share/igmt/colormaps/topo2.cpt
+share/igmt/colormaps/topo3.cpt
+share/igmt/colormaps/topo4.cpt
+share/igmt/formatcpt.awk
+share/igmt/01_02-98.cmt
+share/igmt/allslabs_rum.gmt
+share/igmt/igmt.tcl
+share/igmt/igmt_configure.tcl
+share/igmt/igmt_datasets.tcl
+share/igmt/igmt_def.gif
+share/igmt/igmt_gmtdefaults_3.0
+share/igmt/igmt_gmtdefaults_3.1
+share/igmt/igmt_gmtdefaults_3.2
+share/igmt/igmt_gmtdefaults_3.3
+share/igmt/igmt_helper_checkfile
+share/igmt/igmt_helper_create_man_page
+share/igmt/igmt_helper_handle_gmtdefaults
+share/igmt/igmt_helper_rmtmp_silent
+share/igmt/igmt_init.tcl
+share/igmt/igmt_iomisc.tcl
+share/igmt/igmt_menus.tcl
+share/igmt/igmt_parameters.tcl
+share/igmt/igmt_plotting.tcl
+share/igmt/img2latlongrd.batch
+share/igmt/gps.vel
+share/igmt/hotspots.dat
+share/igmt/nuvel.yx
+share/igmt/volcanoes.dat
+share/igmt/wcity.dat
+share/igmt/wcity_major.dat
+share/igmt/sortwsm.awk
+@dirrm share/igmt/colormaps
+@dirrm share/igmt
+@dirrm share/examples/igmt
+@dirrm share/doc/igmt