Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions
+20
View File
@@ -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 (http://www.igc.org/pugwash/pledge/).
+60
View File
@@ -0,0 +1,60 @@
# $NetBSD: Makefile,v 1.34 2013/04/24 10:06:49 sbd Exp $
DISTNAME= igmt_v1.2
PKGNAME= iGMT-1.2
PKGREVISION= 6
CATEGORIES= graphics
MASTER_SITES= http://www.gfz-potsdam.de/pb1/op/igmt/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.gfz-potsdam.de/pb1/op/igmt/
COMMENT= Interactive Mapping of Geoscientific Datasets
DEPENDS+= GMT>=3.3.6:../../graphics/GMT
DEPENDS+= tcl>=8.0:../../lang/tcl
DEPENDS+= tk>=8.0:../../x11/tk
DEPENDS+= gv-[0-9]*:../../print/gv
DEPENDS+= ImageMagick>=5.3.9nb1:../../graphics/ImageMagick
WRKSRC= ${WRKDIR}/igmt_1.2
NO_BUILD= yes
USE_TOOLS+= gs:run ksh:run
GMT_PREFIX_DEFAULT= ${LOCALBASE}
EVAL_PREFIX+= GMT_PREFIX=GMT
EVAL_PREFIX+= TK_PREFIX=tk
REPLACE_KSH= igmt igmt_helper* img2latlongrd.batch
INSTALLATION_DIRS= bin
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 ${DESTDIR}${PREFIX}/bin
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/igmt
cd ${WRKSRC} && ${INSTALL_DATA} manual.ps README.TXT NOTES.TXT \
COPYING COPYRIGHT ${DESTDIR}${PREFIX}/share/igmt/
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/igmt/colormaps
${INSTALL_DATA} ${WRKSRC}/colormaps/* \
${DESTDIR}${PREFIX}/share/igmt/colormaps/
cd ${WRKSRC} && ${INSTALL_SCRIPT} igmt*.tcl *.awk \
igmt_helper* *.batch ${DESTDIR}${PREFIX}/share/igmt/
cd ${WRKSRC} && ${INSTALL_DATA} 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 ${DESTDIR}${PREFIX}/share/igmt/
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/examples/igmt
cd ${WRKSRC} && ${INSTALL_DATA} example*.ps.gz \
${WRKSRC}/example*.dat \
${DESTDIR}${PREFIX}/share/examples/igmt/
.include "../../mk/bsd.pkg.mk"
+107
View File
@@ -0,0 +1,107 @@
@comment $NetBSD: PLIST,v 1.2 2009/06/14 17:59:18 joerg Exp $
bin/igmt
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/01_02-98.cmt
share/igmt/COPYING
share/igmt/COPYRIGHT
share/igmt/NOTES.TXT
share/igmt/README.TXT
share/igmt/allslabs_rum.gmt
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/gps.vel
share/igmt/hotspots.dat
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/manual.ps
share/igmt/nuvel.yx
share/igmt/sortwsm.awk
share/igmt/volcanoes.dat
share/igmt/wcity.dat
share/igmt/wcity_major.dat
+8
View File
@@ -0,0 +1,8 @@
$NetBSD: distinfo,v 1.4 2005/02/24 08:45:07 agc Exp $
SHA1 (igmt_v1.2.tar.gz) = b0b5f77de8551756c8dece6cdbc974bfda0d0860
RMD160 (igmt_v1.2.tar.gz) = 43a387f06ca9800f472380a61778121fa1e4e103
Size (igmt_v1.2.tar.gz) = 1837311 bytes
SHA1 (patch-aa) = b40ce475b8833bf0c03dc97e84f5768cd9bab5d8
SHA1 (patch-ab) = d83c7bb69562848afc5dd1f14dcf0a19c0a4e8ac
SHA1 (patch-ac) = 9208e64cb9373f3dd9c515cfff3ba949ee989ae7
+22
View File
@@ -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
+40
View File
@@ -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
+16
View File
@@ -0,0 +1,16 @@
$NetBSD: patch-ac,v 1.1 2001/05/07 12:00:59 jtb Exp $
--- igmt.tcl.orig Tue Sep 5 14:39:17 2000
+++ igmt.tcl
@@ -192,9 +192,9 @@
# copy the default image to fill the frame the first time if there is
# no temporary file around
-exec $igmt_root/igmt_helper_checkfile $gif_filename $def_gif_filename
+#exec $igmt_root/igmt_helper_checkfile $gif_filename $def_gif_filename
-image create photo map_image -file $gif_filename
+image create photo map_image -file $def_gif_filename
label .mapimage -image map_image -bd 1 -relief sunken
pack .mapimage
pack .mb .mapimage -fill x -fill y -side top