From 4e23b51b0f663ac5347ae640b222b7a0f4622b71 Mon Sep 17 00:00:00 2001 From: Baptiste Daroussin Date: Sun, 2 Mar 2014 02:08:57 +0000 Subject: [PATCH] Support stage --- astro/libroadnav/Makefile | 14 +++----------- 1 file 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 - -post-patch: -.if ! ${PORT_OPTIONS:MDOCS} - @${REINPLACE_CMD} -e \ - '/^install-data-am:/s|install-libroadnavdocDATA||' \ - ${WRKSRC}/Makefile.in -.endif - -.include +.include