summaryrefslogtreecommitdiff
path: root/graphics/iGMT
diff options
context:
space:
mode:
authorjtb <jtb@pkgsrc.org>2001-05-07 12:00:58 +0000
committerjtb <jtb@pkgsrc.org>2001-05-07 12:00:58 +0000
commit976aced7d86aceabd1c37166ed7f77cab74165a9 (patch)
treec8ae180f745dd8881fb27beec94f942e9314ced0 /graphics/iGMT
parentc776cf589e8d7513891802bca3c729e92467abe8 (diff)
downloadpkgsrc-976aced7d86aceabd1c37166ed7f77cab74165a9.tar.gz
Fix a problem with gif generation.
Diffstat (limited to 'graphics/iGMT')
-rw-r--r--graphics/iGMT/Makefile11
-rw-r--r--graphics/iGMT/distinfo3
-rw-r--r--graphics/iGMT/patches/patch-ac16
3 files changed, 24 insertions, 6 deletions
diff --git a/graphics/iGMT/Makefile b/graphics/iGMT/Makefile
index 2533b3430e6..7ebe2774e22 100644
--- a/graphics/iGMT/Makefile
+++ b/graphics/iGMT/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2001/05/05 19:51:15 jlam Exp $
+# $NetBSD: Makefile,v 1.8 2001/05/07 12:00:58 jtb Exp $
DISTNAME= igmt_v1.2
PKGNAME= iGMT-1.2
@@ -24,7 +24,7 @@ EVAL_PREFIX+= GMT_PREFIX=GMT
EVAL_PREFIX+= TK_PREFIX=tk
post-patch:
- ${RM} ${WRKSRC}/*.orig ${WRKSRC}/configure_script
+# ${RM} ${WRKSRC}/*.orig ${WRKSRC}/configure_script
do-configure:
for i in ${WRKSRC}/igmt ${WRKSRC}/igmt_configure.tcl; do \
@@ -42,13 +42,14 @@ do-install:
COPYING COPYRIGHT ${PREFIX}/share/doc/igmt/
${INSTALL_DATA_DIR} ${PREFIX}/share/igmt/colormaps
${INSTALL_DATA} ${WRKSRC}/colormaps/* ${PREFIX}/share/igmt/colormaps/
- cd ${WRKSRC} && ${INSTALL_DATA} igmt*.tcl *.awk 01_02-98.cmt \
+ cd ${WRKSRC} && ${INSTALL_SCRIPT} igmt*.tcl *.awk \
+ igmt_helper* *.batch ${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 igmt_helper* *.batch \
- ${PREFIX}/share/igmt/
+ igmt_gmtdefaults_3.3 ${PREFIX}/share/igmt/
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/igmt
cd ${WRKSRC} && ${INSTALL_DATA} example*.ps.gz \
${WRKSRC}/example*.dat ${PREFIX}/share/examples/igmt/ \
diff --git a/graphics/iGMT/distinfo b/graphics/iGMT/distinfo
index 8b89453987d..3fc956dd7f1 100644
--- a/graphics/iGMT/distinfo
+++ b/graphics/iGMT/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.2 2001/04/21 09:54:16 wiz Exp $
+$NetBSD: distinfo,v 1.3 2001/05/07 12:00:58 jtb Exp $
SHA1 (igmt_v1.2.tar.gz) = b0b5f77de8551756c8dece6cdbc974bfda0d0860
Size (igmt_v1.2.tar.gz) = 1837311 bytes
SHA1 (patch-aa) = b40ce475b8833bf0c03dc97e84f5768cd9bab5d8
SHA1 (patch-ab) = d83c7bb69562848afc5dd1f14dcf0a19c0a4e8ac
+SHA1 (patch-ac) = 9208e64cb9373f3dd9c515cfff3ba949ee989ae7
diff --git a/graphics/iGMT/patches/patch-ac b/graphics/iGMT/patches/patch-ac
new file mode 100644
index 00000000000..5cbff6b160a
--- /dev/null
+++ b/graphics/iGMT/patches/patch-ac
@@ -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