aboutsummaryrefslogtreecommitdiff
path: root/astro/libroadnav
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2014-03-02 02:08:57 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2014-03-02 02:08:57 +0000
commit4e23b51b0f663ac5347ae640b222b7a0f4622b71 (patch)
tree8d566821bbf272918007ca18c7973c5e840fbd18 /astro/libroadnav
parent53b48fd6093fa328ae31fbcadd05add862f0a3a0 (diff)
Support stage
Notes
Notes: svn path=/head/; revision=346731
Diffstat (limited to 'astro/libroadnav')
-rw-r--r--astro/libroadnav/Makefile14
1 files changed, 3 insertions, 11 deletions
diff --git a/astro/libroadnav/Makefile b/astro/libroadnav/Makefile
index 2f1640021e19..8a147a0e14e7 100644
--- a/astro/libroadnav/Makefile
+++ b/astro/libroadnav/Makefile
@@ -10,11 +10,12 @@ MASTER_SITES= SF/roadnav/LibRoadnav/${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Helper library for Roadnav (3D GPS mapping program)
+OPTIONS_DEFINE= DOCS
+
USE_WX= 2.6+
WX_COMPS= wx contrib
USES= gmake
-NO_STAGE= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-wx-prefix=${LOCALBASE} --with-wx-config=${WX_CONFIG}
CPPFLAGS+= -I${LOCALBASE}/include
@@ -22,13 +23,4 @@ LDFLAGS+= -L${LOCALBASE}/lib
PORTDOCS= *
-.include <bsd.port.pre.mk>
-
-post-patch:
-.if ! ${PORT_OPTIONS:MDOCS}
- @${REINPLACE_CMD} -e \
- '/^install-data-am:/s|install-libroadnavdocDATA||' \
- ${WRKSRC}/Makefile.in
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>