1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-22 08:58:47 +00:00

- 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]
This commit is contained in:
Alexey Dokuchaev 2007-06-14 10:39:40 +00:00
parent 5d49b92e23
commit 78c1231b28
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=193469
3 changed files with 21 additions and 14 deletions

View File

@ -1,6 +1,6 @@
# New ports collection makefile for: roadmap
# Date created: 4 November 2002
# Whom: Nick Esborn <nick@netdot.net>
# New ports collection makefile for: RoadMap
# Date created: 4 November 2002
# Whom: Nick Esborn <nick@netdot.net>
#
# $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 <bsd.port.mk>

View File

@ -6,10 +6,10 @@ navigation.
The instructions for downloading and installing the necessary
TIGER data are located in:
%%DOCSDIR%%/README
%%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
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.
------------------------------------------------------------------

View File

@ -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/