summaryrefslogtreecommitdiff
path: root/geography
diff options
context:
space:
mode:
Diffstat (limited to 'geography')
-rw-r--r--geography/gpspoint/Makefile7
-rw-r--r--geography/gpspoint/distinfo4
-rw-r--r--geography/gpspoint/patches/patch-aa21
3 files changed, 18 insertions, 14 deletions
diff --git a/geography/gpspoint/Makefile b/geography/gpspoint/Makefile
index 477b2a7c3a4..74c64506771 100644
--- a/geography/gpspoint/Makefile
+++ b/geography/gpspoint/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2005/04/11 21:45:59 tv Exp $
+# $NetBSD: Makefile,v 1.6 2006/03/09 14:50:31 ghen Exp $
DISTNAME= gpspoint-2.030521
PKGREVISION= 1
@@ -15,4 +15,9 @@ USE_PKGLOCALEDIR= yes
USE_LIBTOOL= yes
GNU_CONFIGURE= yes
+REPLACE_INTERPRETER+= bash
+_REPLACE.bash.old= /bin/bash
+_REPLACE.bash.new= ${SH:Q}
+_REPLACE_FILES.bash= src/mgpspoint
+
.include "../../mk/bsd.pkg.mk"
diff --git a/geography/gpspoint/distinfo b/geography/gpspoint/distinfo
index 902c31d7ba0..9a8b1b28747 100644
--- a/geography/gpspoint/distinfo
+++ b/geography/gpspoint/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.2 2005/02/22 21:08:32 agc Exp $
+$NetBSD: distinfo,v 1.3 2006/03/09 14:50:31 ghen Exp $
SHA1 (gpspoint-2.030521.tar.gz) = b65466fae17e35bed019869d66515acc388b3242
RMD160 (gpspoint-2.030521.tar.gz) = a1be4a5230488965533254a82cf0f57fe7abbfb8
Size (gpspoint-2.030521.tar.gz) = 235522 bytes
-SHA1 (patch-aa) = 0f20b9a87eeff5d9c3fbc203b183b24be87bbd9c
+SHA1 (patch-aa) = 0e5c2cf25fc46c923bbcb11296f24679f7e743ee
diff --git a/geography/gpspoint/patches/patch-aa b/geography/gpspoint/patches/patch-aa
index 829f747db9d..8b7308f231c 100644
--- a/geography/gpspoint/patches/patch-aa
+++ b/geography/gpspoint/patches/patch-aa
@@ -1,15 +1,14 @@
-$NetBSD: patch-aa,v 1.1.1.1 2003/10/04 20:51:18 jschauma Exp $
+$NetBSD: patch-aa,v 1.2 2006/03/09 14:50:31 ghen Exp $
---- src/mgpspoint.orig 2003-05-19 14:56:49.000000000 -0400
-+++ src/mgpspoint 2003-10-04 15:33:45.000000000 -0400
+--- src/mgpspoint.orig 2006-03-09 15:32:06.000000000 +0100
++++ src/mgpspoint
@@ -1,4 +1,5 @@
--#!/bin/bash
-+#!/bin/sh
+ #!/bin/bash
+set -x
-@@ -10,7 +11,7 @@
+@@ -10,7 +11,7 @@ if [ $GPSPOINT="" ]; then
GPSPOINT=$(which gpspoint);
fi
@@ -18,7 +17,7 @@ $NetBSD: patch-aa,v 1.1.1.1 2003/10/04 20:51:18 jschauma Exp $
GPSPORT=/dev/gps
fi
-@@ -19,7 +20,7 @@
+@@ -19,7 +20,7 @@ if [ $GPSDATADIR="" ]; then
fi
tempfile=`tempfile -p GPSPT 2>/dev/null` || tempfile=/tmp/test$$
@@ -27,7 +26,7 @@ $NetBSD: patch-aa,v 1.1.1.1 2003/10/04 20:51:18 jschauma Exp $
WAYPOINTS=true;
ROUTES=false;
-@@ -28,7 +29,7 @@
+@@ -28,7 +29,7 @@ TRACKS=false;
############################################################# main menu
QUIT=0;
while [ $QUIT = 0 ]; do
@@ -36,7 +35,7 @@ $NetBSD: patch-aa,v 1.1.1.1 2003/10/04 20:51:18 jschauma Exp $
--menu "Welcome to menu for gpspoint. Mayby check settings first\
and try info afterwards. Have fun. " 16 51 8 \
"about" "" \
-@@ -81,7 +82,7 @@
+@@ -81,7 +82,7 @@ while [ $QUIT = 0 ]; do
FILE=$(date +%y-%m-%d_somegpsdata.gpd);
while $DOWNLOADMENU ; do
DOWNLOAD=true;
@@ -45,7 +44,7 @@ $NetBSD: patch-aa,v 1.1.1.1 2003/10/04 20:51:18 jschauma Exp $
"continue" ""\
"waypoints" "$WAYPOINTS" \
"routes" "$ROUTES" \
-@@ -138,7 +139,7 @@
+@@ -138,7 +139,7 @@ while [ $QUIT = 0 ]; do
FILE=$(date +%y-%m-%d_somegpsdata.gpd);
while $UPLOADMENU ; do
UPLOAD=true;
@@ -54,7 +53,7 @@ $NetBSD: patch-aa,v 1.1.1.1 2003/10/04 20:51:18 jschauma Exp $
"continue" ""\
"waypoints" "$WAYPOINTS" \
"routes" "$ROUTES" \
-@@ -192,7 +193,7 @@
+@@ -192,7 +193,7 @@ while [ $QUIT = 0 ]; do
settings) ####################################################### settings
QUITSETTINGS=0;
while [ $QUITSETTINGS = 0 ]; do