summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--geography/gpsbabel/DESCR5
-rw-r--r--geography/gpsbabel/Makefile16
-rw-r--r--geography/gpsbabel/PLIST2
-rw-r--r--geography/gpsbabel/distinfo8
-rw-r--r--geography/gpsbabel/patches/patch-aa13
-rw-r--r--geography/gpsbabel/patches/patch-ab13
-rw-r--r--geography/gpsbabel/patches/patch-ac22
7 files changed, 79 insertions, 0 deletions
diff --git a/geography/gpsbabel/DESCR b/geography/gpsbabel/DESCR
new file mode 100644
index 00000000000..d697b6c55c0
--- /dev/null
+++ b/geography/gpsbabel/DESCR
@@ -0,0 +1,5 @@
+GPSBabel converts waypoints, tracks, and routes from one
+format to another, whether that format is a common mapping
+format like Delorme, Streets and Trips, or even a serial
+or USB upload or download to a GPS receiver such as those
+from Garmin and Magellan.
diff --git a/geography/gpsbabel/Makefile b/geography/gpsbabel/Makefile
new file mode 100644
index 00000000000..4f3d2102c05
--- /dev/null
+++ b/geography/gpsbabel/Makefile
@@ -0,0 +1,16 @@
+# $NetBSD: Makefile,v 1.1.1.1 2007/09/21 05:12:08 martti Exp $
+#
+
+DISTNAME= gpsbabel-1.3.4
+CATEGORIES= geography
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=gpsbabel/}
+
+MAINTAINER= martti@NetBSD.org
+HOMEPAGE= http://www.gpsbabel.org/
+COMMENT= Utility to convert and fetch GPS related data
+
+GNU_CONFIGURE= yes
+
+.include "../../devel/libusb/buildlink3.mk"
+.include "../../textproc/expat/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/geography/gpsbabel/PLIST b/geography/gpsbabel/PLIST
new file mode 100644
index 00000000000..62696dc66db
--- /dev/null
+++ b/geography/gpsbabel/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2007/09/21 05:12:08 martti Exp $
+bin/gpsbabel
diff --git a/geography/gpsbabel/distinfo b/geography/gpsbabel/distinfo
new file mode 100644
index 00000000000..ddc4ac7cb7b
--- /dev/null
+++ b/geography/gpsbabel/distinfo
@@ -0,0 +1,8 @@
+$NetBSD: distinfo,v 1.1.1.1 2007/09/21 05:12:08 martti Exp $
+
+SHA1 (gpsbabel-1.3.4.tar.gz) = 9b504ce151bb44b86558cce5c3f727819cdb30c5
+RMD160 (gpsbabel-1.3.4.tar.gz) = 2391f0b3aef271567808edbed6fc2c481d5514ea
+Size (gpsbabel-1.3.4.tar.gz) = 3547058 bytes
+SHA1 (patch-aa) = 06166a96029100d6e5828875d00d7dde1acf90f9
+SHA1 (patch-ab) = 194779944c80cbab89563dad1d7876564bd374df
+SHA1 (patch-ac) = 3d464f3fc7786f1a5dff61e4a3b88b0f358081e7
diff --git a/geography/gpsbabel/patches/patch-aa b/geography/gpsbabel/patches/patch-aa
new file mode 100644
index 00000000000..9b6eb11478e
--- /dev/null
+++ b/geography/gpsbabel/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 2007/09/21 05:12:08 martti Exp $
+
+--- tools/mkfilelist.orig 2007-09-21 08:06:37.000000000 +0000
++++ tools/mkfilelist 2007-09-21 08:06:53.000000000 +0000
+@@ -34,7 +34,7 @@
+ echo "$LINE" |
+ (
+ read LEAD NAME READ
+- test "x$NAME" == "x" && continue
++ test "x$NAME" = "x" && continue
+ case $LEAD in
+ D)
+ loop "$1/$NAME/" "$2"
diff --git a/geography/gpsbabel/patches/patch-ab b/geography/gpsbabel/patches/patch-ab
new file mode 100644
index 00000000000..6c7c93da4ed
--- /dev/null
+++ b/geography/gpsbabel/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1.1.1 2007/09/21 05:12:08 martti Exp $
+
+--- tools/mkspec.orig 2007-09-21 08:07:45.000000000 +0000
++++ tools/mkspec 2007-09-21 08:07:57.000000000 +0000
+@@ -6,7 +6,7 @@
+ RELEASE=$3 # may be empty
+
+ REL=`echo $RELEASE | sed 's/^-//'`
+-test "$REL" == "" && REL=0
++test "$REL" = "" && REL=0
+
+ cat << EOF
+ Summary: GPSBabel
diff --git a/geography/gpsbabel/patches/patch-ac b/geography/gpsbabel/patches/patch-ac
new file mode 100644
index 00000000000..1ed8b895815
--- /dev/null
+++ b/geography/gpsbabel/patches/patch-ac
@@ -0,0 +1,22 @@
+$NetBSD: patch-ac,v 1.1.1.1 2007/09/21 05:12:08 martti Exp $
+
+--- testw.orig 2007-09-21 08:08:32.000000000 +0000
++++ testw 2007-09-21 08:08:48.000000000 +0000
+@@ -58,7 +58,7 @@
+ while read type caps format comment; do
+
+ for i in $EXCL; do
+- if [ "$format" == "$i" ]; then
++ if [ "$format" = "$i" ]; then
+ caps="------"
+ fi
+ done
+@@ -97,7 +97,7 @@
+ while read type caps format comment; do
+
+ for i in $EXCL; do
+- if [ "$format" == "$i" ]; then
++ if [ "$format" = "$i" ]; then
+ caps="------"
+ fi
+ done