mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
- Use `pre-su-install' target to unbreak non-root installation
- Switch from checking NOPORTDOCS to PORT_OPTIONS:MDOCS - Cleanup Makefile header, fix COMMENT text, wrap overly long lines - Synchronize descriptions and add a note about one port being a helper library for another
This commit is contained in:
parent
50eab9ca54
commit
00fd4977df
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=305023
4 changed files with 29 additions and 22 deletions
|
@ -1,4 +1,4 @@
|
|||
# Created by: stevef
|
||||
# Created by: Steve Franks <stevefranks@ieee.org>
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= libroadnav
|
||||
|
@ -8,7 +8,7 @@ CATEGORIES= astro geography
|
|||
MASTER_SITES= SF/roadnav/LibRoadnav/${PORTVERSION}
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= Helper library for Roadnav: A 3D GPS Mapping program
|
||||
COMMENT= Helper library for Roadnav (3D GPS mapping program)
|
||||
|
||||
USE_WX= 2.6+
|
||||
WX_COMPS= wx contrib
|
||||
|
@ -21,10 +21,13 @@ LDFLAGS+= -L${LOCALBASE}/lib
|
|||
|
||||
PORTDOCS= *
|
||||
|
||||
.if defined(NOPORTDOCS)
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e '/^install-data-am:/ s|install-libroadnavdocDATA||' \
|
||||
${WRKSRC}/Makefile.in
|
||||
.if ! ${PORT_OPTIONS:MDOCS}
|
||||
@${REINPLACE_CMD} -e \
|
||||
'/^install-data-am:/s|install-libroadnavdocDATA||' \
|
||||
${WRKSRC}/Makefile.in
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
.include <bsd.port.post.mk>
|
||||
|
|
|
@ -10,4 +10,6 @@ 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.
|
||||
|
||||
This port provides helper library for Roadnav.
|
||||
|
||||
WWW: http://roadnav.sourceforge.net/
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# Created by: stevef
|
||||
# Created by: Steve Franks <stevefranks@ieee.org>
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= roadnav
|
||||
|
@ -8,7 +8,7 @@ CATEGORIES= astro geography
|
|||
MASTER_SITES= SF/${PORTNAME}/Roadnav/${PORTVERSION}
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= A 3D GPS Mapping program
|
||||
COMMENT= 3D GPS mapping program
|
||||
|
||||
BUILD_DEPENDS= ${LOCALBASE}/lib/libroadnav.a:${PORTSDIR}/astro/libroadnav
|
||||
|
||||
|
@ -23,15 +23,17 @@ LDFLAGS+= -L${LOCALBASE}/lib
|
|||
|
||||
PORTDOCS= *
|
||||
|
||||
pre-install:
|
||||
${MKDIR} ${PREFIX}/share/applications
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
pre-su-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||' \
|
||||
.if ! ${PORT_OPTIONS:MDOCS}
|
||||
@${REINPLACE_CMD} -e '/^install-data-am:/s|install-roadnavdocDATA||' \
|
||||
${WRKSRC}/Makefile.in
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
.include <bsd.port.post.mk>
|
||||
|
|
|
@ -1,13 +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
|
||||
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.
|
||||
Roadnav uses 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/
|
||||
|
|
Loading…
Add table
Reference in a new issue