diff options
author | Alexey Dokuchaev <danfe@FreeBSD.org> | 2012-09-29 05:07:44 +0000 |
---|---|---|
committer | Alexey Dokuchaev <danfe@FreeBSD.org> | 2012-09-29 05:07:44 +0000 |
commit | 00fd4977df3a99c2c98a4533a527b01ad09668d4 (patch) | |
tree | 34fcd9d46d1700ae1fe1a28a424eae5fe599fb04 /astro/libroadnav/Makefile | |
parent | 50eab9ca542865380252e651cf03c391745a2ec5 (diff) |
Notes
Diffstat (limited to 'astro/libroadnav/Makefile')
-rw-r--r-- | astro/libroadnav/Makefile | 15 |
1 files changed, 9 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> |