From efe7559fd55549384542230e4c71d57b8d95b2cf Mon Sep 17 00:00:00 2001 From: danfe Date: Thu, 14 Jun 2007 10:39:40 +0000 Subject: - Fix the build with recent GCC [1] - Augment MASTER_SITES - Convert pkg-message -> files/pkg-message.in - Mute MKDIRs - Tidy up package description and message (kill EOL spaces, add a fullstop, reformat slightly) - Properly reindent Makefile header Reported by: pointyhat [1] --- astro/roadmap/Makefile | 21 ++++++++++++++------- astro/roadmap/files/pkg-message.in | 15 +++++++++++++++ astro/roadmap/pkg-descr | 6 +++--- astro/roadmap/pkg-message | 15 --------------- 4 files changed, 32 insertions(+), 25 deletions(-) create mode 100644 astro/roadmap/files/pkg-message.in delete mode 100644 astro/roadmap/pkg-message (limited to 'astro') diff --git a/astro/roadmap/Makefile b/astro/roadmap/Makefile index ac91143d68b4..a21182bc1f7c 100644 --- a/astro/roadmap/Makefile +++ b/astro/roadmap/Makefile @@ -1,6 +1,6 @@ -# New ports collection makefile for: roadmap -# Date created: 4 November 2002 -# Whom: Nick Esborn +# New ports collection makefile for: RoadMap +# Date created: 4 November 2002 +# Whom: Nick Esborn # # $FreeBSD$ # @@ -9,7 +9,9 @@ PORTNAME= roadmap PORTVERSION= 1.0.6 PORTREVISION= 3 CATEGORIES= astro -MASTER_SITES= http://roadmap.digitalomaha.net/roadmap/ +MASTER_SITES= http://roadmap.digitalomaha.net/roadmap/ \ + ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= ${PORTNAME} DISTNAME= ${PORTNAME}_${PORTVERSION:S/.r/rc/:S/./_/g}_src MAINTAINER= ports@FreeBSD.org @@ -31,6 +33,11 @@ GUI_BINS= gtkroadmap gtkroadgps SCRIPTS= rdmdownload rdmgetall rdmgenmaps rdmcompare DATA= sprites preferences schema PORTDOCS= AUTHORS BUGS README TODO +SUB_FILES+= pkg-message + +post-patch: + @${REINPLACE_CMD} -e '150s,static ,, ; 423s,static ,,' \ + ${WRKSRC}/src/roadmap_download.c do-install: .for _GUI_BIN in ${GUI_BINS} @@ -42,18 +49,18 @@ do-install: .for _SCRIPT in ${SCRIPTS} ${INSTALL_SCRIPT} ${INSTALL_WRKSRC}/${_SCRIPT} ${PREFIX}/bin/${_BIN} .endfor - ${MKDIR} ${DATADIR} + @${MKDIR} ${DATADIR} .for _DATA in ${DATA} ${INSTALL_DATA} ${INSTALL_WRKSRC}/${_DATA} ${DATADIR}/${_DATA} .endfor .if !defined(NOPORTDOCS) - ${MKDIR} ${DOCSDIR} + @${MKDIR} ${DOCSDIR} .for _DOC in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/${_DOC} ${DOCSDIR}/${_DOC} .endfor .endif post-install: - @${SED} -e "s|%%DOCSDIR%%|${DOCSDIR}|" ${PKGMESSAGE} + @${CAT} ${PKGMESSAGE} .include diff --git a/astro/roadmap/files/pkg-message.in b/astro/roadmap/files/pkg-message.in new file mode 100644 index 000000000000..97e3c9e497ef --- /dev/null +++ b/astro/roadmap/files/pkg-message.in @@ -0,0 +1,15 @@ +------------------------------------------------------------------ +RoadMap is at an early stage of development, and is not thoroughly +documented. It would be very unwise to rely on RoadMap for real +navigation. + +The instructions for downloading and installing the necessary +TIGER data are located in: + + %%DOCSDIR%%/README + +Make sure that you either have a program called flite (a voice +synthesizer) or disable (mute) audio throught the menu. Other +voice synthesizer can be used, like festival. + +------------------------------------------------------------------ diff --git a/astro/roadmap/pkg-descr b/astro/roadmap/pkg-descr index ff51f574d6fc..12f600bd0cea 100644 --- a/astro/roadmap/pkg-descr +++ b/astro/roadmap/pkg-descr @@ -1,16 +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. +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. +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. +into its own map format. WWW: http://roadmap.digitalomaha.net/ diff --git a/astro/roadmap/pkg-message b/astro/roadmap/pkg-message deleted file mode 100644 index 6babd84eb27b..000000000000 --- a/astro/roadmap/pkg-message +++ /dev/null @@ -1,15 +0,0 @@ ------------------------------------------------------------------- -RoadMap is at an early stage of development, and is not thoroughly -documented. It would be very unwise to rely on RoadMap for real -navigation. - -The instructions for downloading and installing the necessary -TIGER data are located in: - - %%DOCSDIR%%/README - -Make sure that you either have a program called flite (a voice synthesizer) -or disable (mute) audio throught the menu. Other voice synthesizer can -be used, like festival - ------------------------------------------------------------------- -- cgit