diff options
author | seanc <seanc@FreeBSD.org> | 2003-01-31 05:15:10 +0800 |
---|---|---|
committer | seanc <seanc@FreeBSD.org> | 2003-01-31 05:15:10 +0800 |
commit | ed78f3ac20716171c2a058c65b5486619860d5b6 (patch) | |
tree | 1974fa0aa677a73d6c69c3f62a9a62db8e3589c3 /astro | |
parent | 7c0100d66cbe82f2a81c99340b027455d57cd4b6 (diff) | |
download | freebsd-ports-gnome-ed78f3ac20716171c2a058c65b5486619860d5b6.tar.gz freebsd-ports-gnome-ed78f3ac20716171c2a058c65b5486619860d5b6.tar.zst freebsd-ports-gnome-ed78f3ac20716171c2a058c65b5486619860d5b6.zip |
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>
Diffstat (limited to 'astro')
-rw-r--r-- | astro/Makefile | 1 | ||||
-rw-r--r-- | astro/roadmap/Makefile | 46 | ||||
-rw-r--r-- | astro/roadmap/distinfo | 1 | ||||
-rw-r--r-- | astro/roadmap/files/patch-Makefile | 35 | ||||
-rw-r--r-- | astro/roadmap/pkg-comment | 1 | ||||
-rw-r--r-- | astro/roadmap/pkg-descr | 16 | ||||
-rw-r--r-- | astro/roadmap/pkg-message | 5 | ||||
-rw-r--r-- | astro/roadmap/pkg-plist | 13 |
8 files changed, 118 insertions, 0 deletions
diff --git a/astro/Makefile b/astro/Makefile index 1365a6fb6245..02673b0b00ae 100644 --- a/astro/Makefile +++ b/astro/Makefile @@ -37,6 +37,7 @@ SUBDIR += py-metar SUBDIR += pyweather SUBDIR += rmap + SUBDIR += roadmap SUBDIR += saoimage SUBDIR += sattrack SUBDIR += seti_applet diff --git a/astro/roadmap/Makefile b/astro/roadmap/Makefile new file mode 100644 index 000000000000..210244f814d6 --- /dev/null +++ b/astro/roadmap/Makefile @@ -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> diff --git a/astro/roadmap/distinfo b/astro/roadmap/distinfo new file mode 100644 index 000000000000..be9d1260f8e5 --- /dev/null +++ b/astro/roadmap/distinfo @@ -0,0 +1 @@ +MD5 (roadmap_0_6_src.tgz) = 910054bdfecb309c82a782504e3bc4e6 diff --git a/astro/roadmap/files/patch-Makefile b/astro/roadmap/files/patch-Makefile new file mode 100644 index 000000000000..b4fb82dd324c --- /dev/null +++ b/astro/roadmap/files/patch-Makefile @@ -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 -------------------------------------------- + diff --git a/astro/roadmap/pkg-comment b/astro/roadmap/pkg-comment new file mode 100644 index 000000000000..59cbb02835aa --- /dev/null +++ b/astro/roadmap/pkg-comment @@ -0,0 +1 @@ +RoadMap is a displays US maps provided by the US Census Bureau diff --git a/astro/roadmap/pkg-descr b/astro/roadmap/pkg-descr new file mode 100644 index 000000000000..4c0f12aa3616 --- /dev/null +++ b/astro/roadmap/pkg-descr @@ -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/ diff --git a/astro/roadmap/pkg-message b/astro/roadmap/pkg-message new file mode 100644 index 000000000000..609f5e400602 --- /dev/null +++ b/astro/roadmap/pkg-message @@ -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. + diff --git a/astro/roadmap/pkg-plist b/astro/roadmap/pkg-plist new file mode 100644 index 000000000000..9a154288748a --- /dev/null +++ b/astro/roadmap/pkg-plist @@ -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 |