1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00

Add roadmap port: displays US Cencus tiger maps. Read the README for

details on fetching map files and setting up the maps database.

PR:		ports/44910
Submitted by:	Nicholas Esborn <nick@netdot.net>
This commit is contained in:
Sean Chittenden 2003-01-30 21:15:10 +00:00
parent 13b3a983b4
commit a19d5cb626
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=74310
8 changed files with 118 additions and 0 deletions

View File

@ -37,6 +37,7 @@
SUBDIR += py-metar
SUBDIR += pyweather
SUBDIR += rmap
SUBDIR += roadmap
SUBDIR += saoimage
SUBDIR += sattrack
SUBDIR += seti_applet

46
astro/roadmap/Makefile Normal file
View File

@ -0,0 +1,46 @@
# New ports collection makefile for: roadmap
# Date created: 4 November 2002
# Whom: Nick Esborn <nick@netdot.net>
#
# $FreeBSD$
#
PORTNAME= roadmap
PORTVERSION= 0.6
CATEGORIES= astro
MASTER_SITES= http://www.geocities.com/pascal_f_martin/roadmap/
MASTER_SITE_SUBDIR= ${PORTNAME}
DISTNAME= ${PORTNAME}_0_6_src
EXTRACT_SUFX= .tgz
MAINTAINER= nick@netdot.net
LIB_DEPENDS= popt.0:${PORTSDIR}/devel/popt
WRKSRC= ${WRKDIR}/${PORTNAME}
BUILD_WRKSRC= ${WRKSRC}/src
USE_GNOMENG= yes
USE_GNOME= gtk12
BINARIES= buildmap buildus dumpmap roadmap roadgps
DOCS= AUTHORS BUGS COPYING README TODO
DOCDIR= ${PREFIX}/share/doc/${PORTNAME}
do-install:
.for bin in ${BINARIES}
$(INSTALL_PROGRAM) ${BUILD_WRKSRC}/${bin} ${LOCALBASE}/bin
.endfor
${MKDIR} ${PREFIX}/share/roadmap
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCDIR}
.for doc in ${DOCS}
${INSTALL_MAN} ${WRKSRC}/${doc} ${DOCDIR}
.endfor
.endif
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>

1
astro/roadmap/distinfo Normal file
View File

@ -0,0 +1 @@
MD5 (roadmap_0_6_src.tgz) = 910054bdfecb309c82a782504e3bc4e6

View File

@ -0,0 +1,35 @@
--- src/Makefile.orig Thu Oct 31 22:53:28 2002
+++ src/Makefile Mon Nov 4 14:40:36 2002
@@ -1,12 +1,12 @@
-GUICFLAGS=-DROADMAP_GUI_USES_GTK `gtk-config --cflags`
-GUILDFLAGS=`gtk-config --libs`
+GUICFLAGS=-DROADMAP_GUI_USES_GTK `${GTK_CONFIG} --cflags`
+GUILDFLAGS=`${GTK_CONFIG} --libs`
-CFLAGS=-O2 -ffast-math -fomit-frame-pointer -Wall $(GUICFLAGS)
+CFLAGS+=-O2 -ffast-math -fomit-frame-pointer -Wall $(GUICFLAGS)
# CFLAGS=-g -Wall -DROADMAP_DEBUG_HEAP $(GUICFLAGS)
# CFLAGS=-g -Wall -pg -fprofile-arcs -g $(GUICFLAGS)
-LDFLAGS=-lm
+LDFLAGS=-lm -L$(LOCALBASE)/lib
# LDFLAGS=-pg $(LDFLAGS)
@@ -103,13 +103,13 @@
install: uninstall all
mkdir -p $(INSTALLDIR)/share/roadmap
cp *.rdm $(INSTALLDIR)/share/roadmap
- cp roadmap.menu /usr/lib/menu/roadmap
+# cp roadmap.menu /usr/lib/menu/roadmap
cp $(EXECUTABLES) $(INSTALLDIR)/bin
uninstall:
cd $(INSTALLDIR)/bin ; rm -f $(EXECUTABLES)
rm -rf $(INSTALLDIR)/share/roadmap
- rm -f /usr/lib/menu/roadmap
+# rm -f /usr/lib/menu/roadmap
# --- The real targets --------------------------------------------

View File

@ -0,0 +1 @@
RoadMap is a displays US maps provided by the US Census Bureau

16
astro/roadmap/pkg-descr Normal file
View File

@ -0,0 +1,16 @@
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://www.geocities.com/pascal_f_martin/roadmap/

View File

@ -0,0 +1,5 @@
RoadMap is at an early stage of development, and is not thoroughly documented.
See the README in /usr/local/share/doc/roadmap for instructions on obtaining
and using the necessary data from the US Census Bureau.

13
astro/roadmap/pkg-plist Normal file
View File

@ -0,0 +1,13 @@
bin/buildmap
bin/buildus
bin/dumpmap
bin/roadmap
bin/roadgps
%%PORTDOCS%%share/doc/roadmap/AUTHORS
%%PORTDOCS%%share/doc/roadmap/BUGS
%%PORTDOCS%%share/doc/roadmap/COPYING
%%PORTDOCS%%share/doc/roadmap/README
%%PORTDOCS%%share/doc/roadmap/TODO
%%PORTDOCS%%@dirrm share/doc/roadmap
@exec mkdir -p %D/share/roadmap 2>/dev/null || true
@unexec rmdir %D/share/roadmap 2>/dev/null || true