summaryrefslogtreecommitdiff
path: root/geography/gpspoint/patches/patch-aa
diff options
context:
space:
mode:
authorjschauma <jschauma>2003-10-04 20:51:16 +0000
committerjschauma <jschauma>2003-10-04 20:51:16 +0000
commit3aa2af38e6faa1b28de234e585a33816dfd6e378 (patch)
tree5e7cd1217e6f5775a88de80145acbcc4a952855b /geography/gpspoint/patches/patch-aa
parent8e8abc7be6c3273930a41dc24290062e6c3ccd44 (diff)
downloadpkgsrc-3aa2af38e6faa1b28de234e585a33816dfd6e378.tar.gz
(This time in the right place.)
Initial import of gpspoint, one of the many packages provided by brook at biology dot nmsu dot edu and his team at NMSU. This package provides a program and library to download and upload waypoints, routes, and tracks to and from your GPS device. Upload and download is possible via the GARMIN interface. Current position obtainable via the NMEA Interface, supported by most GPS devices.
Diffstat (limited to 'geography/gpspoint/patches/patch-aa')
-rw-r--r--geography/gpspoint/patches/patch-aa65
1 files changed, 65 insertions, 0 deletions
diff --git a/geography/gpspoint/patches/patch-aa b/geography/gpspoint/patches/patch-aa
new file mode 100644
index 00000000000..829f747db9d
--- /dev/null
+++ b/geography/gpspoint/patches/patch-aa
@@ -0,0 +1,65 @@
+$NetBSD: patch-aa,v 1.1.1.1 2003/10/04 20:51:18 jschauma Exp $
+
+--- src/mgpspoint.orig 2003-05-19 14:56:49.000000000 -0400
++++ src/mgpspoint 2003-10-04 15:33:45.000000000 -0400
+@@ -1,4 +1,5 @@
+-#!/bin/bash
++#!/bin/sh
++set -x
+
+
+
+@@ -10,7 +11,7 @@
+ GPSPOINT=$(which gpspoint);
+ fi
+
+-if [$GPSPORT=""]; then
++if [ $GPSPORT="" ]; then
+ GPSPORT=/dev/gps
+ fi
+
+@@ -19,7 +20,7 @@
+ fi
+
+ tempfile=`tempfile -p GPSPT 2>/dev/null` || tempfile=/tmp/test$$
+-trap "rm -f $tempfile" 0 1 2 5 15
++#trap "rm -f $tempfile" 0 1 2 5 15
+
+ WAYPOINTS=true;
+ ROUTES=false;
+@@ -28,7 +29,7 @@
+ ############################################################# main menu
+ QUIT=0;
+ while [ $QUIT = 0 ]; do
+- $DIALOG --clear --nocancel --title "mgpspoint - main" \
++ $DIALOG --clear --title "mgpspoint - main" \
+ --menu "Welcome to menu for gpspoint. Mayby check settings first\
+ and try info afterwards. Have fun. " 16 51 8 \
+ "about" "" \
+@@ -81,7 +82,7 @@
+ FILE=$(date +%y-%m-%d_somegpsdata.gpd);
+ while $DOWNLOADMENU ; do
+ DOWNLOAD=true;
+- $DIALOG --title "mgpspoint - download" --clear --nocancel --menu "" 15 50 10 \
++ $DIALOG --title "mgpspoint - download" --clear --menu "" 15 50 10 \
+ "continue" ""\
+ "waypoints" "$WAYPOINTS" \
+ "routes" "$ROUTES" \
+@@ -138,7 +139,7 @@
+ FILE=$(date +%y-%m-%d_somegpsdata.gpd);
+ while $UPLOADMENU ; do
+ UPLOAD=true;
+- $DIALOG --title "mgpspoint - UPload" --clear --nocancel --menu "" 15 50 10 \
++ $DIALOG --title "mgpspoint - UPload" --clear --menu "" 15 50 10 \
+ "continue" ""\
+ "waypoints" "$WAYPOINTS" \
+ "routes" "$ROUTES" \
+@@ -192,7 +193,7 @@
+ settings) ####################################################### settings
+ QUITSETTINGS=0;
+ while [ $QUITSETTINGS = 0 ]; do
+- $DIALOG --clear --nocancel --title "mgpspoint - settings" \
++ $DIALOG --clear --title "mgpspoint - settings" \
+ --menu "choose:" 16 51 8 \
+ "back" ""\
+ "GPSPOINT" "$GPSPOINT"\