aboutsummaryrefslogtreecommitdiffstats
path: root/astro/libroadnav
diff options
context:
space:
mode:
authordanfe <danfe@FreeBSD.org>2012-09-29 13:07:44 +0800
committerdanfe <danfe@FreeBSD.org>2012-09-29 13:07:44 +0800
commitb3cf57391b0f91e87ab2da3a9b4311a4350261db (patch)
tree34fcd9d46d1700ae1fe1a28a424eae5fe599fb04 /astro/libroadnav
parent60349cf9435f535eeb5f1808840f01920efd978f (diff)
downloadfreebsd-ports-gnome-b3cf57391b0f91e87ab2da3a9b4311a4350261db.tar.gz
freebsd-ports-gnome-b3cf57391b0f91e87ab2da3a9b4311a4350261db.tar.zst
freebsd-ports-gnome-b3cf57391b0f91e87ab2da3a9b4311a4350261db.zip
- 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
Diffstat (limited to 'astro/libroadnav')
-rw-r--r--astro/libroadnav/Makefile15
-rw-r--r--astro/libroadnav/pkg-descr2
2 files changed, 11 insertions, 6 deletions
diff --git a/astro/libroadnav/Makefile b/astro/libroadnav/Makefile
index 6fe2d386db2d..9fce7c613d93 100644
--- a/astro/libroadnav/Makefile
+++ b/astro/libroadnav/Makefile
@@ -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>
diff --git a/astro/libroadnav/pkg-descr b/astro/libroadnav/pkg-descr
index 3574e171b0bb..9483da2e327e 100644
--- a/astro/libroadnav/pkg-descr
+++ b/astro/libroadnav/pkg-descr
@@ -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/