aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2008-08-11 09:34:03 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2008-08-11 09:34:03 +0800
commit160af6db13b261e10fae3907e5df5ff72d29f059 (patch)
tree8839d651ad4140f69f1fe70aa391d2507e4f8419
parent30e77c6138e94efb48e31cc7a557a00044368c5b (diff)
downloadfreebsd-ports-gnome-160af6db13b261e10fae3907e5df5ff72d29f059.tar.gz
freebsd-ports-gnome-160af6db13b261e10fae3907e5df5ff72d29f059.tar.zst
freebsd-ports-gnome-160af6db13b261e10fae3907e5df5ff72d29f059.zip
RoadMap is a program for Linux that displays street maps. The maps are
provided by the US Census Bureau, and thus only cover the US. RoadMap is at an early stage of development. At this time there are no routing features implemented yet. RoadMap can only display the map around a specified street address or follow a GPS device (using gpsd). The plan for the future is to implement some navigation features similar to those found in commercial street navigation systems. RoadMap uses a binary file format for representing the maps that is compact enough to allow the storage of many maps on a Compact Flash or MultiMedia card. The map of Los Angeles county takes about 10 Mbytes of flash space. RoadMap comes with a set of tools to convert the US Census bureau data into its own map format. WWW: http://roadmap.digitalomaha.net/ PR: ports/126056 Submitted by: Steve Franks <stevefranks at ieee dot org> Approved by: miwi (mentor implicit)
-rw-r--r--astro/Makefile2
-rw-r--r--astro/libroadnav/Makefile34
-rw-r--r--astro/libroadnav/distinfo3
-rw-r--r--astro/libroadnav/files/patch-src-Makefile.in11
-rw-r--r--astro/libroadnav/pkg-descr13
-rw-r--r--astro/libroadnav/pkg-plist50
-rw-r--r--astro/roadnav/Makefile40
-rw-r--r--astro/roadnav/distinfo3
-rw-r--r--astro/roadnav/files/patch-src-SerialIO-POSIX.cpp20
-rw-r--r--astro/roadnav/pkg-descr13
-rw-r--r--astro/roadnav/pkg-plist149
11 files changed, 338 insertions, 0 deletions
diff --git a/astro/Makefile b/astro/Makefile
index 3d5034564a8f..21092ea0b4d0 100644
--- a/astro/Makefile
+++ b/astro/Makefile
@@ -29,6 +29,7 @@
SUBDIR += jday
SUBDIR += libgal
SUBDIR += libnova
+ SUBDIR += libroadnav
SUBDIR += luna
SUBDIR += match
SUBDIR += mymoon
@@ -59,6 +60,7 @@
SUBDIR += pyweather
SUBDIR += rmap
SUBDIR += roadmap
+ SUBDIR += roadnav
SUBDIR += saoimage
SUBDIR += sattrack
SUBDIR += sextractor
diff --git a/astro/libroadnav/Makefile b/astro/libroadnav/Makefile
new file mode 100644
index 000000000000..011026ca12f5
--- /dev/null
+++ b/astro/libroadnav/Makefile
@@ -0,0 +1,34 @@
+# ex:ts=8
+# Ports collection makefile for: roadnav
+# Date created: 28 July 2008
+# Whom: stevef
+#
+# $FreeBSD$
+#
+
+PORTNAME= libroadnav
+PORTVERSION= 0.19
+CATEGORIES= astro geography
+MASTER_SITES= SF
+MASTER_SITE_SUBDIR=roadnav
+
+MAINTAINER= stevefranks@ieee.org
+COMMENT= Helper library for Roadnav: A 3D GPS Mapping program
+
+USE_WX= 2.6+
+WX_COMPS= wx contrib
+USE_GMAKE= yes
+
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --with-wx-prefix=${LOCALBASE} --with-wx-config=${WX_CONFIG}
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib"
+
+PORTDOCS= *
+
+.if defined(NOPORTDOCS)
+post-patch:
+ @${REINPLACE_CMD} -e '/^install-data-am:/ s|install-libroadnavdocDATA||' \
+ ${WRKSRC}/Makefile.in
+.endif
+
+.include <bsd.port.mk>
diff --git a/astro/libroadnav/distinfo b/astro/libroadnav/distinfo
new file mode 100644
index 000000000000..c9c897e93d3b
--- /dev/null
+++ b/astro/libroadnav/distinfo
@@ -0,0 +1,3 @@
+MD5 (libroadnav-0.19.tar.gz) = 02d90e3fa415955432538c4294e7debe
+SHA256 (libroadnav-0.19.tar.gz) = 3aa4c1d951f8149ee0df3a67eb709fce5c379a9ffe8acc7141f87b4841baea0f
+SIZE (libroadnav-0.19.tar.gz) = 835616
diff --git a/astro/libroadnav/files/patch-src-Makefile.in b/astro/libroadnav/files/patch-src-Makefile.in
new file mode 100644
index 000000000000..da748ec93792
--- /dev/null
+++ b/astro/libroadnav/files/patch-src-Makefile.in
@@ -0,0 +1,11 @@
+--- src/Makefile.in.orig 2007-10-09 05:44:26.000000000 +0400
++++ src/Makefile.in 2008-08-02 23:28:08.000000000 +0400
+@@ -354,8 +354,6 @@
+ @list='$(lib_LIBRARIES)'; for p in $$list; do \
+ if test -f $$p; then \
+ p=$(am__strip_dir) \
+- echo " $(RANLIB) '$(DESTDIR)$(libdir)/$$p'"; \
+- $(RANLIB) "$(DESTDIR)$(libdir)/$$p"; \
+ else :; fi; \
+ done
+
diff --git a/astro/libroadnav/pkg-descr b/astro/libroadnav/pkg-descr
new file mode 100644
index 000000000000..71155ea3a406
--- /dev/null
+++ b/astro/libroadnav/pkg-descr
@@ -0,0 +1,13 @@
+Roadnav is an open source street navigation solution capable of running on a
+variety of operating systems. It can obtain your position from a GPS unit,
+plot a map of your area, and provide directions to locations in the USA. It
+can also verbalize directions using Microsoft SAPI 5.1, Festival, flite, and
+OS X's built in text to speech engine.
+
+Roadnav uses the free TIGER/Line (Topologically Integrated Geographic
+Encoding and Referencing) files from the US Census Bureau to build the maps,
+along with the GNIS state and topical gazetteer data from the USGS to identify
+locations. It has experimental support for scripting, LCDproc, importing
+OpenStreetMap data, and importing GPX waypoints and tracks.
+
+WWW: http://roadnav.sourceforge.net/
diff --git a/astro/libroadnav/pkg-plist b/astro/libroadnav/pkg-plist
new file mode 100644
index 000000000000..423f1cce81bd
--- /dev/null
+++ b/astro/libroadnav/pkg-plist
@@ -0,0 +1,50 @@
+include/libroadnav/Address.h
+include/libroadnav/Angle.h
+include/libroadnav/AutoComplete.h
+include/libroadnav/Constants.h
+include/libroadnav/Debug.h
+include/libroadnav/DetailSettings.h
+include/libroadnav/Direction.h
+include/libroadnav/DownloadFiles.h
+include/libroadnav/DownloadThread.h
+include/libroadnav/Map.h
+include/libroadnav/MapAbbreviations.h
+include/libroadnav/MapAppearanceSettings.h
+include/libroadnav/MapControl.h
+include/libroadnav/MapControlData.h
+include/libroadnav/MapControlDataEntry.h
+include/libroadnav/MapControlDataEntry_Std.h
+include/libroadnav/MapControlDataImporter.h
+include/libroadnav/MapControlDataImporter_CountyBoundaries.h
+include/libroadnav/MapControlDataImporter_GNIS.h
+include/libroadnav/MapControlDataImporter_GNISDECI.h
+include/libroadnav/MapControlDataImporter_GPX.h
+include/libroadnav/MapControlDataImporter_OSM.h
+include/libroadnav/MapControlDataImporter_StateBoundaries.h
+include/libroadnav/MapControlDataImporter_TigerLine.h
+include/libroadnav/MapControlData_Foundation.h
+include/libroadnav/MapControlData_Tiles.h
+include/libroadnav/MapCounty.h
+include/libroadnav/MapDrawing.h
+include/libroadnav/MapLookup.h
+include/libroadnav/MapMarker.h
+include/libroadnav/MapPolygon.h
+include/libroadnav/MapRepresentations.h
+include/libroadnav/MapState.h
+include/libroadnav/MapSupport.h
+include/libroadnav/MapTrack.h
+include/libroadnav/MapZip.h
+include/libroadnav/Point.h
+include/libroadnav/ProgressDialog.h
+include/libroadnav/Serialization.h
+include/libroadnav/StringTable.h
+include/libroadnav/Terraserver.h
+include/libroadnav/URLs.h
+include/libroadnav/UTM.h
+include/libroadnav/UniqueID.h
+include/libroadnav/UniqueIDGenerator.h
+include/libroadnav/UnitConversion.h
+include/libroadnav/Zip.h
+include/libroadnav/wxAntiAliasedDC.h
+lib/libroadnav.a
+@dirrm include/libroadnav
diff --git a/astro/roadnav/Makefile b/astro/roadnav/Makefile
new file mode 100644
index 000000000000..a7aa9b4281d8
--- /dev/null
+++ b/astro/roadnav/Makefile
@@ -0,0 +1,40 @@
+# ex:ts=8
+# Ports collection makefile for: roadnav
+# Date created: 28 July 2008
+# Whom: stevef
+#
+# $FreeBSD$
+#
+
+PORTNAME= roadnav
+PORTVERSION= 0.19
+CATEGORIES= astro geography
+MASTER_SITES= SF
+
+MAINTAINER= stevefranks@ieee.org
+COMMENT= A 3D GPS Mapping program
+
+BUILD_DEPENDS= ${LOCALBASE}/lib/libroadnav.a:${PORTSDIR}/astro/libroadnav
+
+USE_WX= 2.6+
+WX_COMPS= wx contrib
+USE_GMAKE= yes
+
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --with-wx-prefix=${LOCALBASE} --with-wx-config=${WX_CONFIG}
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib"
+
+PORTDOCS= *
+
+pre-install:
+ ${MKDIR} ${PREFIX}/share/applications
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|/usr/share|${PREFIX}/share|g' \
+ ${WRKSRC}/Makefile.in ${WRKSRC}/src/Makefile.in
+.if defined(NOPORTDOCS)
+ @${REINPLACE_CMD} -e '/^install-data-am:/ s|install-roadnavdocDATA||' \
+ ${WRKSRC}/Makefile.in
+.endif
+
+.include <bsd.port.mk>
diff --git a/astro/roadnav/distinfo b/astro/roadnav/distinfo
new file mode 100644
index 000000000000..76bf956dfcdf
--- /dev/null
+++ b/astro/roadnav/distinfo
@@ -0,0 +1,3 @@
+MD5 (roadnav-0.19.tar.gz) = 56f68c4517bd54689df2c6dd9a400c4b
+SHA256 (roadnav-0.19.tar.gz) = 6354600e10ec6be17a8f7c0282a11e80b1ad6cb4e59c979dd7e336ffcc22143e
+SIZE (roadnav-0.19.tar.gz) = 1289497
diff --git a/astro/roadnav/files/patch-src-SerialIO-POSIX.cpp b/astro/roadnav/files/patch-src-SerialIO-POSIX.cpp
new file mode 100644
index 000000000000..22f43960619b
--- /dev/null
+++ b/astro/roadnav/files/patch-src-SerialIO-POSIX.cpp
@@ -0,0 +1,20 @@
+--- src/SerialIO-POSIX.cpp.orig 2007-10-09 06:02:14.000000000 +0400
++++ src/SerialIO-POSIX.cpp 2008-08-03 03:11:42.000000000 +0400
+@@ -219,11 +219,15 @@
+ bFileNameOkay = false;
+
+ #else
+- if (!strncmp(sdNameList[iEntry]->d_name, "ttyS", 4))
++ if (!strncmp(sdNameList[iEntry]->d_name, "cuad", 4))
+ bFileNameOkay = true;
+
+- if (!strncmp(sdNameList[iEntry]->d_name, "ttyUSB", 6))
++ if (!strncmp(sdNameList[iEntry]->d_name, "cuaU", 4))
+ bFileNameOkay = true;
++
++ if (strstr(sdNameList[iEntry]->d_name, ".init") ||
++ strstr(sdNameList[iEntry]->d_name, ".lock"))
++ bFileNameOkay = false;
+ #endif
+
+ if (bFileNameOkay)
diff --git a/astro/roadnav/pkg-descr b/astro/roadnav/pkg-descr
new file mode 100644
index 000000000000..71155ea3a406
--- /dev/null
+++ b/astro/roadnav/pkg-descr
@@ -0,0 +1,13 @@
+Roadnav is an open source street navigation solution capable of running on a
+variety of operating systems. It can obtain your position from a GPS unit,
+plot a map of your area, and provide directions to locations in the USA. It
+can also verbalize directions using Microsoft SAPI 5.1, Festival, flite, and
+OS X's built in text to speech engine.
+
+Roadnav uses the free TIGER/Line (Topologically Integrated Geographic
+Encoding and Referencing) files from the US Census Bureau to build the maps,
+along with the GNIS state and topical gazetteer data from the USGS to identify
+locations. It has experimental support for scripting, LCDproc, importing
+OpenStreetMap data, and importing GPX waypoints and tracks.
+
+WWW: http://roadnav.sourceforge.net/
diff --git a/astro/roadnav/pkg-plist b/astro/roadnav/pkg-plist
new file mode 100644
index 000000000000..19c6f40441c9
--- /dev/null
+++ b/astro/roadnav/pkg-plist
@@ -0,0 +1,149 @@
+bin/roadnav
+share/applications/roadnav.desktop
+share/pixmaps/roadnav.png
+%%DATADIR%%/abbreviations.txt
+%%DATADIR%%/skins/Default-Day/exit.png
+%%DATADIR%%/skins/Default-Day/exit2.png
+%%DATADIR%%/skins/Default-Day/getdirections.png
+%%DATADIR%%/skins/Default-Day/getdirections2.png
+%%DATADIR%%/skins/Default-Day/headingbox.png
+%%DATADIR%%/skins/Default-Day/locationbox.png
+%%DATADIR%%/skins/Default-Day/lowerbarbackground.png
+%%DATADIR%%/skins/Default-Day/maptracksgps.png
+%%DATADIR%%/skins/Default-Day/maptracksgps2.png
+%%DATADIR%%/skins/Default-Day/preferences.png
+%%DATADIR%%/skins/Default-Day/preferences2.png
+%%DATADIR%%/skins/Default-Day/setaddress.png
+%%DATADIR%%/skins/Default-Day/setaddress2.png
+%%DATADIR%%/skins/Default-Day/sidebarbackground.png
+%%DATADIR%%/skins/Default-Day/skin.xml
+%%DATADIR%%/skins/Default-Day/speedbox.png
+%%DATADIR%%/skins/Default-Day/template.psd
+%%DATADIR%%/skins/Default-Day/template2.psd
+%%DATADIR%%/skins/Default-Day/textstatustemplate.psd
+%%DATADIR%%/skins/Default-Day/textstatustemplate2.psd
+%%DATADIR%%/skins/Default-Day/zoom0a.png
+%%DATADIR%%/skins/Default-Day/zoom0d.png
+%%DATADIR%%/skins/Default-Day/zoom0u.png
+%%DATADIR%%/skins/Default-Day/zoom10a.png
+%%DATADIR%%/skins/Default-Day/zoom10d.png
+%%DATADIR%%/skins/Default-Day/zoom10u.png
+%%DATADIR%%/skins/Default-Day/zoom11a.png
+%%DATADIR%%/skins/Default-Day/zoom11d.png
+%%DATADIR%%/skins/Default-Day/zoom11u.png
+%%DATADIR%%/skins/Default-Day/zoom12a.png
+%%DATADIR%%/skins/Default-Day/zoom12d.png
+%%DATADIR%%/skins/Default-Day/zoom12u.png
+%%DATADIR%%/skins/Default-Day/zoom13a.png
+%%DATADIR%%/skins/Default-Day/zoom13d.png
+%%DATADIR%%/skins/Default-Day/zoom13u.png
+%%DATADIR%%/skins/Default-Day/zoom14a.png
+%%DATADIR%%/skins/Default-Day/zoom14d.png
+%%DATADIR%%/skins/Default-Day/zoom14u.png
+%%DATADIR%%/skins/Default-Day/zoom1a.png
+%%DATADIR%%/skins/Default-Day/zoom1d.png
+%%DATADIR%%/skins/Default-Day/zoom1u.png
+%%DATADIR%%/skins/Default-Day/zoom2a.png
+%%DATADIR%%/skins/Default-Day/zoom2d.png
+%%DATADIR%%/skins/Default-Day/zoom2u.png
+%%DATADIR%%/skins/Default-Day/zoom3a.png
+%%DATADIR%%/skins/Default-Day/zoom3d.png
+%%DATADIR%%/skins/Default-Day/zoom3u.png
+%%DATADIR%%/skins/Default-Day/zoom4a.png
+%%DATADIR%%/skins/Default-Day/zoom4d.png
+%%DATADIR%%/skins/Default-Day/zoom4u.png
+%%DATADIR%%/skins/Default-Day/zoom5a.png
+%%DATADIR%%/skins/Default-Day/zoom5d.png
+%%DATADIR%%/skins/Default-Day/zoom5u.png
+%%DATADIR%%/skins/Default-Day/zoom6a.png
+%%DATADIR%%/skins/Default-Day/zoom6d.png
+%%DATADIR%%/skins/Default-Day/zoom6u.png
+%%DATADIR%%/skins/Default-Day/zoom7a.png
+%%DATADIR%%/skins/Default-Day/zoom7d.png
+%%DATADIR%%/skins/Default-Day/zoom7u.png
+%%DATADIR%%/skins/Default-Day/zoom8a.png
+%%DATADIR%%/skins/Default-Day/zoom8d.png
+%%DATADIR%%/skins/Default-Day/zoom8u.png
+%%DATADIR%%/skins/Default-Day/zoom9a.png
+%%DATADIR%%/skins/Default-Day/zoom9d.png
+%%DATADIR%%/skins/Default-Day/zoom9u.png
+%%DATADIR%%/skins/Default-Day/zoomin.png
+%%DATADIR%%/skins/Default-Day/zoomin2.png
+%%DATADIR%%/skins/Default-Day/zoomout.png
+%%DATADIR%%/skins/Default-Day/zoomout2.png
+%%DATADIR%%/skins/Default-Night/exit.png
+%%DATADIR%%/skins/Default-Night/exit2.png
+%%DATADIR%%/skins/Default-Night/getdirections.png
+%%DATADIR%%/skins/Default-Night/getdirections2.png
+%%DATADIR%%/skins/Default-Night/headingbox.png
+%%DATADIR%%/skins/Default-Night/locationbox.png
+%%DATADIR%%/skins/Default-Night/lowerbarbackground.png
+%%DATADIR%%/skins/Default-Night/maptracksgps.png
+%%DATADIR%%/skins/Default-Night/maptracksgps2.png
+%%DATADIR%%/skins/Default-Night/preferences.png
+%%DATADIR%%/skins/Default-Night/preferences2.png
+%%DATADIR%%/skins/Default-Night/setaddress.png
+%%DATADIR%%/skins/Default-Night/setaddress2.png
+%%DATADIR%%/skins/Default-Night/sidebarbackground.png
+%%DATADIR%%/skins/Default-Night/skin.xml
+%%DATADIR%%/skins/Default-Night/speedbox.png
+%%DATADIR%%/skins/Default-Night/template.psd
+%%DATADIR%%/skins/Default-Night/template2.psd
+%%DATADIR%%/skins/Default-Night/textstatustemplate.psd
+%%DATADIR%%/skins/Default-Night/textstatustemplate2.psd
+%%DATADIR%%/skins/Default-Night/zoom0a.png
+%%DATADIR%%/skins/Default-Night/zoom0d.png
+%%DATADIR%%/skins/Default-Night/zoom0u.png
+%%DATADIR%%/skins/Default-Night/zoom10a.png
+%%DATADIR%%/skins/Default-Night/zoom10d.png
+%%DATADIR%%/skins/Default-Night/zoom10u.png
+%%DATADIR%%/skins/Default-Night/zoom11a.png
+%%DATADIR%%/skins/Default-Night/zoom11d.png
+%%DATADIR%%/skins/Default-Night/zoom11u.png
+%%DATADIR%%/skins/Default-Night/zoom12a.png
+%%DATADIR%%/skins/Default-Night/zoom12d.png
+%%DATADIR%%/skins/Default-Night/zoom12u.png
+%%DATADIR%%/skins/Default-Night/zoom13a.png
+%%DATADIR%%/skins/Default-Night/zoom13d.png
+%%DATADIR%%/skins/Default-Night/zoom13u.png
+%%DATADIR%%/skins/Default-Night/zoom14a.png
+%%DATADIR%%/skins/Default-Night/zoom14d.png
+%%DATADIR%%/skins/Default-Night/zoom14u.png
+%%DATADIR%%/skins/Default-Night/zoom1a.png
+%%DATADIR%%/skins/Default-Night/zoom1d.png
+%%DATADIR%%/skins/Default-Night/zoom1u.png
+%%DATADIR%%/skins/Default-Night/zoom2a.png
+%%DATADIR%%/skins/Default-Night/zoom2d.png
+%%DATADIR%%/skins/Default-Night/zoom2u.png
+%%DATADIR%%/skins/Default-Night/zoom3a.png
+%%DATADIR%%/skins/Default-Night/zoom3d.png
+%%DATADIR%%/skins/Default-Night/zoom3u.png
+%%DATADIR%%/skins/Default-Night/zoom4a.png
+%%DATADIR%%/skins/Default-Night/zoom4d.png
+%%DATADIR%%/skins/Default-Night/zoom4u.png
+%%DATADIR%%/skins/Default-Night/zoom5a.png
+%%DATADIR%%/skins/Default-Night/zoom5d.png
+%%DATADIR%%/skins/Default-Night/zoom5u.png
+%%DATADIR%%/skins/Default-Night/zoom6a.png
+%%DATADIR%%/skins/Default-Night/zoom6d.png
+%%DATADIR%%/skins/Default-Night/zoom6u.png
+%%DATADIR%%/skins/Default-Night/zoom7a.png
+%%DATADIR%%/skins/Default-Night/zoom7d.png
+%%DATADIR%%/skins/Default-Night/zoom7u.png
+%%DATADIR%%/skins/Default-Night/zoom8a.png
+%%DATADIR%%/skins/Default-Night/zoom8d.png
+%%DATADIR%%/skins/Default-Night/zoom8u.png
+%%DATADIR%%/skins/Default-Night/zoom9a.png
+%%DATADIR%%/skins/Default-Night/zoom9d.png
+%%DATADIR%%/skins/Default-Night/zoom9u.png
+%%DATADIR%%/skins/Default-Night/zoomin.png
+%%DATADIR%%/skins/Default-Night/zoomin2.png
+%%DATADIR%%/skins/Default-Night/zoomout.png
+%%DATADIR%%/skins/Default-Night/zoomout2.png
+%%DATADIR%%/states.tdf
+%%DATADIR%%/zips.tdf
+@dirrm %%DATADIR%%/skins/Default-Night
+@dirrm %%DATADIR%%/skins/Default-Day
+@dirrm %%DATADIR%%/skins
+@dirrm %%DATADIR%%
+@dirrmtry share/applications