diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2008-08-11 09:34:03 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2008-08-11 09:34:03 +0800 |
commit | 160af6db13b261e10fae3907e5df5ff72d29f059 (patch) | |
tree | 8839d651ad4140f69f1fe70aa391d2507e4f8419 /astro/roadnav | |
parent | 30e77c6138e94efb48e31cc7a557a00044368c5b (diff) | |
download | freebsd-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)
Diffstat (limited to 'astro/roadnav')
-rw-r--r-- | astro/roadnav/Makefile | 40 | ||||
-rw-r--r-- | astro/roadnav/distinfo | 3 | ||||
-rw-r--r-- | astro/roadnav/files/patch-src-SerialIO-POSIX.cpp | 20 | ||||
-rw-r--r-- | astro/roadnav/pkg-descr | 13 | ||||
-rw-r--r-- | astro/roadnav/pkg-plist | 149 |
5 files changed, 225 insertions, 0 deletions
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 |