svn commit: r348646 - head/astro/roadnav
Pawel Pekala
pawel at FreeBSD.org
Wed Mar 19 19:18:16 UTC 2014
Author: pawel
Date: Wed Mar 19 19:18:15 2014
New Revision: 348646
URL: http://svnweb.freebsd.org/changeset/ports/348646
QAT: https://qat.redports.org/buildarchive/r348646/
Log:
- Port is stage safe
- Define DOCS option, don't install DOCS files conditionally
Modified:
head/astro/roadnav/Makefile
Modified: head/astro/roadnav/Makefile
==============================================================================
--- head/astro/roadnav/Makefile Wed Mar 19 19:15:24 2014 (r348645)
+++ head/astro/roadnav/Makefile Wed Mar 19 19:18:15 2014 (r348646)
@@ -15,7 +15,6 @@ BUILD_DEPENDS= ${LOCALBASE}/lib/libroadn
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}
@@ -24,14 +23,10 @@ LDFLAGS+= -L${LOCALBASE}/lib
PORTDOCS= *
-.include <bsd.port.pre.mk>
+OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e 's|/usr/share|${PREFIX}/share|g' \
${WRKSRC}/Makefile.in ${WRKSRC}/src/Makefile.in
-.if ! ${PORT_OPTIONS:MDOCS}
- @${REINPLACE_CMD} -e '/^install-data-am:/s|install-roadnavdocDATA||' \
- ${WRKSRC}/Makefile.in
-.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
More information about the svn-ports-all
mailing list