From 6fccd87bb67b0d133344755e2c0289e94e9e2148 Mon Sep 17 00:00:00 2001 From: jschauma Date: Sat, 4 Oct 2003 20:51:16 +0000 Subject: (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. --- geography/gpspoint/DESCR | 4 +++ geography/gpspoint/Makefile | 19 +++++++++++ geography/gpspoint/PLIST | 54 ++++++++++++++++++++++++++++++ geography/gpspoint/distinfo | 5 +++ geography/gpspoint/patches/patch-aa | 65 +++++++++++++++++++++++++++++++++++++ 5 files changed, 147 insertions(+) create mode 100644 geography/gpspoint/DESCR create mode 100644 geography/gpspoint/Makefile create mode 100644 geography/gpspoint/PLIST create mode 100644 geography/gpspoint/distinfo create mode 100644 geography/gpspoint/patches/patch-aa (limited to 'geography/gpspoint') diff --git a/geography/gpspoint/DESCR b/geography/gpspoint/DESCR new file mode 100644 index 00000000000..2368d9f4e8f --- /dev/null +++ b/geography/gpspoint/DESCR @@ -0,0 +1,4 @@ +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. diff --git a/geography/gpspoint/Makefile b/geography/gpspoint/Makefile new file mode 100644 index 00000000000..49e9de38ba1 --- /dev/null +++ b/geography/gpspoint/Makefile @@ -0,0 +1,19 @@ +# $NetBSD: Makefile,v 1.1.1.1 2003/10/04 20:51:16 jschauma Exp $ + +DISTNAME= gpspoint-2.030521 +CATEGORIES= geography +MASTER_SITES= http://gpspoint.dnsalias.net/gpspoint2/download/ + +MAINTAINER= hdp@cs.nmsu.edu +HOMEPAGE= http://gpspoint.dnsalias.net/gpspoint2/ +COMMENT= Program to download and upload waypoints to and from your GPS device + +DEPENDS+= dialog>=0.6:../../misc/dialog + +USE_BUILDLINK2= yes +USE_PKGLOCALEDIR= yes +USE_LIBTOOL= yes +LIBTOOL_OVERRIDE= ${WRKSRC}/libtool +GNU_CONFIGURE= yes + +.include "../../mk/bsd.pkg.mk" diff --git a/geography/gpspoint/PLIST b/geography/gpspoint/PLIST new file mode 100644 index 00000000000..e977275142a --- /dev/null +++ b/geography/gpspoint/PLIST @@ -0,0 +1,54 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2003/10/04 20:51:18 jschauma Exp $ +bin/gpspoint +bin/mgpspoint +include/gpspoint2/constants.h +include/gpspoint2/d103_wpt_type.h +include/gpspoint2/d108_wpt_type.h +include/gpspoint2/d109_wpt_type.h +include/gpspoint2/d200_rte_hdr_type.h +include/gpspoint2/d201_rte_hdr_type.h +include/gpspoint2/d202_rte_hdr_type.h +include/gpspoint2/d210_rte_link_type.h +include/gpspoint2/d300_trk_point_type.h +include/gpspoint2/d301_trk_point_type.h +include/gpspoint2/d310_trk_hdr_type.h +include/gpspoint2/d600_date_time_type.h +include/gpspoint2/d700_pos_type.h +include/gpspoint2/datatypes.h +include/gpspoint2/date_time_type.h +include/gpspoint2/declarations.h +include/gpspoint2/endianmess.h +include/gpspoint2/garmin_units_array.h +include/gpspoint2/garmingps.h +include/gpspoint2/gpdlinetool.h +include/gpspoint2/gps.h +include/gpspoint2/io.h +include/gpspoint2/libgpspoint_config.h +include/gpspoint2/link.h +include/gpspoint2/newsymbols.h +include/gpspoint2/oldsymbols.h +include/gpspoint2/packet.h +include/gpspoint2/pos_type.h +include/gpspoint2/position.h +include/gpspoint2/posixserial.h +include/gpspoint2/product_data_type.h +include/gpspoint2/protocol.h +include/gpspoint2/records_type.h +include/gpspoint2/route.h +include/gpspoint2/routelist.h +include/gpspoint2/rte_hdr_type.h +include/gpspoint2/track.h +include/gpspoint2/tracklist.h +include/gpspoint2/trk_hdr_type.h +include/gpspoint2/trk_point_type.h +include/gpspoint2/waypointlist.h +include/gpspoint2/win32serial.h +include/gpspoint2/wpt_type.h +lib/libgpspoint2.a +lib/libgpspoint2.la +lib/libgpspoint2.so +lib/libgpspoint2.so.1 +lib/libgpspoint2.so.1.0 +man/man1/gpspoint.1 +man/man1/mgpspoint.1 +@dirrm include/gpspoint2 diff --git a/geography/gpspoint/distinfo b/geography/gpspoint/distinfo new file mode 100644 index 00000000000..c7ef5be39ca --- /dev/null +++ b/geography/gpspoint/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2003/10/04 20:51:18 jschauma Exp $ + +SHA1 (gpspoint-2.030521.tar.gz) = b65466fae17e35bed019869d66515acc388b3242 +Size (gpspoint-2.030521.tar.gz) = 235522 bytes +SHA1 (patch-aa) = 0f20b9a87eeff5d9c3fbc203b183b24be87bbd9c 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"\ -- cgit v1.2.3