Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Jul 2014 15:03:24 +0000 (UTC)
From:      Adam Weinberger <adamw@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r361937 - in head/comms: jsdr linrad lirc rtl-sdr spandsp-devel usrp
Message-ID:  <201407151503.s6FF3Oco017129@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: adamw
Date: Tue Jul 15 15:03:23 2014
New Revision: 361937
URL: http://svnweb.freebsd.org/changeset/ports/361937
QAT: https://qat.redports.org/buildarchive/r361937/

Log:
  Add DOCS to OPTIONS_DEFINE to ports that check for PORT_OPTIONS:MDOCS.

Modified:
  head/comms/jsdr/Makefile
  head/comms/linrad/Makefile
  head/comms/lirc/Makefile
  head/comms/rtl-sdr/Makefile
  head/comms/spandsp-devel/Makefile
  head/comms/usrp/Makefile

Modified: head/comms/jsdr/Makefile
==============================================================================
--- head/comms/jsdr/Makefile	Tue Jul 15 15:00:15 2014	(r361936)
+++ head/comms/jsdr/Makefile	Tue Jul 15 15:03:23 2014	(r361937)
@@ -24,6 +24,8 @@ PORTDOCS=	*
 PLIST_FILES+=	bin/swreceiver bin/spectrum-viewer-${PORTVERSION} \
 		bin/mini-receiver bin/fmreceiver-${PORTVERSION}
 
+OPTIONS_DEFINE=	DOCS
+
 .include <bsd.port.pre.mk>
 
 do-configure:

Modified: head/comms/linrad/Makefile
==============================================================================
--- head/comms/linrad/Makefile	Tue Jul 15 15:00:15 2014	(r361936)
+++ head/comms/linrad/Makefile	Tue Jul 15 15:03:23 2014	(r361937)
@@ -32,6 +32,8 @@ LINRAD_DOCFILES=	z_APM.txt z_BUFFERS.txt
 			z_PARALLEL_PORT.txt z_SETTINGS.txt \
 			z_USERS_EXTRA.txt z_USERS_HWARE.txt
 
+OPTIONS_DEFINE=	DOCS
+
 .include <bsd.port.pre.mk>
 .if ${ARCH} == "i386"
 BINFILE=	xlinrad

Modified: head/comms/lirc/Makefile
==============================================================================
--- head/comms/lirc/Makefile	Tue Jul 15 15:00:15 2014	(r361936)
+++ head/comms/lirc/Makefile	Tue Jul 15 15:03:23 2014	(r361937)
@@ -28,7 +28,7 @@ CONFIGURE_ARGS=		--enable-sandboxed --wi
 CPPFLAGS+=		-I${LOCALBASE}/include
 LDFLAGS+=		-L${LOCALBASE}/lib
 
-OPTIONS_DEFINE=	MINIMAL DEBUG UARTLIRC
+OPTIONS_DEFINE=	MINIMAL DEBUG UARTLIRC DOCS EXAMPLES
 
 MINIMAL_DESC=	Build with minmal dependencies
 UARTLIRC_DESC=	Install serial LIRC driver

Modified: head/comms/rtl-sdr/Makefile
==============================================================================
--- head/comms/rtl-sdr/Makefile	Tue Jul 15 15:00:15 2014	(r361936)
+++ head/comms/rtl-sdr/Makefile	Tue Jul 15 15:03:23 2014	(r361937)
@@ -24,6 +24,8 @@ USE_LDCONFIG=	yes
 
 DOCSDIR=	${PREFIX}/share/doc/librtlsdr
 
+OPTIONS_DEFINE=	DOCS
+
 .include <bsd.port.pre.mk>
 
 .if ${PORT_OPTIONS:MDOCS}

Modified: head/comms/spandsp-devel/Makefile
==============================================================================
--- head/comms/spandsp-devel/Makefile	Tue Jul 15 15:00:15 2014	(r361936)
+++ head/comms/spandsp-devel/Makefile	Tue Jul 15 15:03:23 2014	(r361937)
@@ -25,11 +25,12 @@ USE_LDCONFIG=	yes
 
 CONFLICTS=	spandsp-[0-9]*
 
-OPTIONS_DEFINE=	DOXYGEN
+OPTIONS_DEFINE=	DOCS
+DOCS_DESC=	Build and install documentation (requires doxygen)
 
 .include <bsd.port.options.mk>
 
-.if ${PORT_OPTIONS:MDOXYGEN} && ${PORT_OPTIONS:MDOCS}
+.if ${PORT_OPTIONS:MDOCS}
 PORTDOCS=	*
 CONFIGURE_ARGS+=--enable-doc
 BUILD_DEPENDS+=	doxygen:${PORTSDIR}/devel/doxygen \
@@ -42,7 +43,7 @@ CONFIGURE_ARGS+=--disable-doc
 post-install:
 	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libspandsp.so.2
 
-.if ${PORT_OPTIONS:MDOXYGEN} && ${PORT_OPTIONS:MDOCS}
+.if ${PORT_OPTIONS:MDOCS}
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	(cd ${WRKSRC}/doc && \
 		${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} "-type d -or -mindepth 1")

Modified: head/comms/usrp/Makefile
==============================================================================
--- head/comms/usrp/Makefile	Tue Jul 15 15:00:15 2014	(r361936)
+++ head/comms/usrp/Makefile	Tue Jul 15 15:03:23 2014	(r361937)
@@ -29,7 +29,7 @@ MAKE_JOBS_UNSAFE=	yes
 DOCSDIR=	share/doc/uhd
 WRKSRC=		${WRKDIR}/EttusResearch-UHD-Mirror-6047010
 
-OPTIONS_DEFINE=		USRP1 USRP2
+OPTIONS_DEFINE=		USRP1 USRP2 DOCS
 OPTIONS_DEFAULT=	USRP1 USRP2
 USRP1_DESC=	Build Ettus USRP1 firmware
 USRP2_DESC=	Build Ettus USRP2 firmware



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201407151503.s6FF3Oco017129>