Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Sep 2018 13:15:48 +0000 (UTC)
From:      Mathieu Arnold <mat@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r479407 - in head: archivers/zip-ada cad/qcad databases/p5-DBD-Excel databases/skytools databases/tcl-sqlite3 deskutils/note devel/allegro-devel devel/cvs2svn devel/cvsweb3 devel/eric6 ...
Message-ID:  <201809101315.w8ADFmAS072626@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mat
Date: Mon Sep 10 13:15:47 2018
New Revision: 479407
URL: https://svnweb.freebsd.org/changeset/ports/479407

Log:
  Add EXAMPLES options to ports that should have one.
  
  Also various fixes related to said option.
  
  PR:		230864
  Submitted by:	mat
  exp-runs by:	antoine

Modified:
  head/archivers/zip-ada/Makefile   (contents, props changed)
  head/cad/qcad/Makefile   (contents, props changed)
  head/databases/p5-DBD-Excel/Makefile   (contents, props changed)
  head/databases/skytools/Makefile   (contents, props changed)
  head/databases/tcl-sqlite3/Makefile   (contents, props changed)
  head/deskutils/note/Makefile   (contents, props changed)
  head/devel/allegro-devel/Makefile   (contents, props changed)
  head/devel/cvs2svn/Makefile   (contents, props changed)
  head/devel/cvsweb3/Makefile   (contents, props changed)
  head/devel/eric6/Makefile   (contents, props changed)
  head/devel/erlang-gen_leader/Makefile   (contents, props changed)
  head/devel/erlang-jobs/Makefile   (contents, props changed)
  head/devel/erlang-parse_trans/Makefile   (contents, props changed)
  head/devel/fistgen/Makefile   (contents, props changed)
  head/devel/gengetopt/Makefile   (contents, props changed)
  head/devel/lua-sysctl/Makefile   (contents, props changed)
  head/devel/p5-Object-Pluggable/Makefile   (contents, props changed)
  head/devel/pure-stllib/Makefile   (contents, props changed)
  head/devel/py-kid/Makefile   (contents, props changed)
  head/devel/py-pymtbl/Makefile   (contents, props changed)
  head/devel/py-pyro/Makefile   (contents, props changed)
  head/devel/py-uvloop/Makefile   (contents, props changed)
  head/devel/pydbus-common/Makefile   (contents, props changed)
  head/devel/quickcheck++/Makefile   (contents, props changed)
  head/devel/rebar/Makefile   (contents, props changed)
  head/devel/rebar3/Makefile   (contents, props changed)
  head/devel/relx/Makefile   (contents, props changed)
  head/dns/ironsides/Makefile   (contents, props changed)
  head/dns/powerdns/Makefile   (contents, props changed)
  head/emulators/dynagen/Makefile   (contents, props changed)
  head/ftp/py-pyftpdlib/Makefile   (contents, props changed)
  head/games/mangband/Makefile   (contents, props changed)
  head/graphics/gimp-gmic-plugin/Makefile   (contents, props changed)
  head/graphics/py-pygooglechart/Makefile   (contents, props changed)
  head/irc/ratbox-respond/Makefile   (contents, props changed)
  head/irc/thales/Makefile   (contents, props changed)
  head/japanese/groff/Makefile   (contents, props changed)
  head/lang/elk/Makefile   (contents, props changed)
  head/mail/muttils/Makefile   (contents, props changed)
  head/mail/pysieved/Makefile   (contents, props changed)
  head/mail/qmail-rblchk/Makefile   (contents, props changed)
  head/mail/sympa/Makefile   (contents, props changed)
  head/math/blocksolve95/Makefile   (contents, props changed)
  head/math/emc2/Makefile   (contents, props changed)
  head/math/lapack95/Makefile   (contents, props changed)
  head/math/pari/Makefile   (contents, props changed)
  head/math/ploticus/Makefile   (contents, props changed)
  head/math/py-gato/Makefile   (contents, props changed)
  head/math/scalapack/Makefile   (contents, props changed)
  head/math/topaz/Makefile   (contents, props changed)
  head/math/xgraph/Makefile   (contents, props changed)
  head/misc/gwhich/Makefile   (contents, props changed)
  head/misc/heyu2/Makefile   (contents, props changed)
  head/multimedia/mpv/Makefile   (contents, props changed)
  head/multimedia/nordlicht/Makefile   (contents, props changed)
  head/multimedia/oscam/Makefile   (contents, props changed)
  head/net-mgmt/argus3/Makefile   (contents, props changed)
  head/net-mgmt/blackbox_exporter/Makefile   (contents, props changed)
  head/net-mgmt/bsnmp-ucd/Makefile   (contents, props changed)
  head/net-mgmt/icinga-classicweb/Makefile   (contents, props changed)
  head/net-mgmt/icinga-core/Makefile   (contents, props changed)
  head/net-mgmt/icingaweb2/Makefile   (contents, props changed)
  head/net-mgmt/nagiosgraph/Makefile   (contents, props changed)
  head/net-mgmt/netmagis-database/Makefile   (contents, props changed)
  head/net-mgmt/netmagis-detecteq/Makefile   (contents, props changed)
  head/net-mgmt/netmagis-metro/Makefile   (contents, props changed)
  head/net-mgmt/netmagis-servers/Makefile   (contents, props changed)
  head/net-mgmt/netmagis-topo/Makefile   (contents, props changed)
  head/net-mgmt/netmagis-www/Makefile   (contents, props changed)
  head/net-mgmt/nsca-ng/Makefile   (contents, props changed)
  head/net-mgmt/p5-RDR-Collector/Makefile   (contents, props changed)
  head/net-mgmt/pdagent-integrations/Makefile   (contents, props changed)
  head/net-mgmt/pmacct/Makefile   (contents, props changed)
  head/net-mgmt/pnp/Makefile   (contents, props changed)
  head/net-mgmt/py-snmp4/Makefile   (contents, props changed)
  head/net-mgmt/smokeping/Makefile   (contents, props changed)
  head/net-p2p/minder/Makefile   (contents, props changed)
  head/net/deviceatlas-enterprise-c/Makefile   (contents, props changed)
  head/net/erlang-ranch/Makefile   (contents, props changed)
  head/net/erlang-xmlrpc/Makefile   (contents, props changed)
  head/net/freeradius3/Makefile   (contents, props changed)
  head/net/freeswitch/Makefile   (contents, props changed)
  head/net/mininet/Makefile   (contents, props changed)
  head/net/pecl-radius/Makefile   (contents, props changed)
  head/net/py-pynmsg/Makefile   (contents, props changed)
  head/net/quagga/Makefile   (contents, props changed)
  head/net/scribe/Makefile   (contents, props changed)
  head/net/sflowtool/Makefile   (contents, props changed)
  head/news/inn/Makefile   (contents, props changed)
  head/science/cdcl/Makefile   (contents, props changed)
  head/security/hashcat-legacy/Makefile   (contents, props changed)
  head/security/logcheck/Makefile   (contents, props changed)
  head/security/openct/Makefile   (contents, props changed)
  head/security/p5-Digest-SHA-PurePerl/Makefile   (contents, props changed)
  head/security/signing-party/Makefile   (contents, props changed)
  head/shells/osh/Makefile   (contents, props changed)
  head/sysutils/cfengine22/Makefile   (contents, props changed)
  head/sysutils/ck4up/Makefile   (contents, props changed)
  head/sysutils/hfm/Makefile   (contents, props changed)
  head/sysutils/immortal/Makefile   (contents, props changed)
  head/sysutils/racktables/Makefile   (contents, props changed)
  head/sysutils/zfsnap2/Makefile   (contents, props changed)
  head/textproc/apache-solr3/Makefile   (contents, props changed)
  head/textproc/metauml/Makefile   (contents, props changed)
  head/textproc/py-xlwriter/Makefile   (contents, props changed)
  head/textproc/ruby-rdtool/Makefile   (contents, props changed)
  head/textproc/tex2im/Makefile   (contents, props changed)
  head/textproc/xerces-j/Makefile   (contents, props changed)
  head/textproc/xom/Makefile   (contents, props changed)
  head/www/axis/Makefile   (contents, props changed)
  head/www/erlang-cowboy/Makefile   (contents, props changed)
  head/www/erlang-mochiweb-basho/Makefile   (contents, props changed)
  head/www/erlang-mochiweb/Makefile   (contents, props changed)
  head/www/mod_auth_pam2/Makefile   (contents, props changed)
  head/www/mod_gzip2/Makefile   (contents, props changed)
  head/www/mod_tsa/Makefile   (contents, props changed)
  head/www/p5-CGI.pm/Makefile   (contents, props changed)
  head/www/py-pyweblib/Makefile   (contents, props changed)
  head/www/pycarddav/Makefile   (contents, props changed)
  head/www/qdecoder/Makefile   (contents, props changed)
  head/www/trac-tweakui/Makefile   (contents, props changed)
  head/www/ufdbguard/Makefile   (contents, props changed)
  head/www/websh/Makefile   (contents, props changed)
  head/www/xombrero/Makefile   (contents, props changed)
  head/x11-toolkits/py-fltk/Makefile   (contents, props changed)
  head/x11-wm/ctwm/Makefile   (contents, props changed)
  head/x11/mrxvt-devel/Makefile   (contents, props changed)

Modified: head/archivers/zip-ada/Makefile
==============================================================================
--- head/archivers/zip-ada/Makefile	Mon Sep 10 13:14:50 2018	(r479406)
+++ head/archivers/zip-ada/Makefile	Mon Sep 10 13:15:47 2018	(r479407)
@@ -45,6 +45,8 @@ DEMOS=		demo_csv_into_zip \
 		test_llhc \
 		test_lz77
 
+OPTIONS_DEFINE=	EXAMPLES
+
 do-build:
 	(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} gnatmake -p -P zipada.gpr)
 

Modified: head/cad/qcad/Makefile
==============================================================================
--- head/cad/qcad/Makefile	Mon Sep 10 13:14:50 2018	(r479406)
+++ head/cad/qcad/Makefile	Mon Sep 10 13:15:47 2018	(r479407)
@@ -47,6 +47,8 @@ SHRDIR=		fonts libraries linetypes patterns plugins sc
 #QSCRIPTS should not be installed to avoid conflicts with texlive-base
 QSCRIPTS=	bbox dwg2bmp dwg2pdf dwg2svg
 
+OPTIONS_DEFINE=	EXAMPLES
+
 pre-configure:
 	${REINPLACE_CMD} -e "s|%%DATADIR%%|${DATADIR}|"	\
 		${WRKSRC}/src/core/RS.cpp

Modified: head/databases/p5-DBD-Excel/Makefile
==============================================================================
--- head/databases/p5-DBD-Excel/Makefile	Mon Sep 10 13:14:50 2018	(r479406)
+++ head/databases/p5-DBD-Excel/Makefile	Mon Sep 10 13:15:47 2018	(r479407)
@@ -21,7 +21,9 @@ EXAMPLESDIR?=	${PREFIX}/share/examples/${PORTNAME}
 USES=		perl5
 USE_PERL5=	configure
 
-post-install:
+OPTIONS_DEFINE=	EXAMPLES
+
+post-install-EXAMPLES-on:
 	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
 	@${INSTALL_DATA} ${WRKSRC}/sample/* ${STAGEDIR}${EXAMPLESDIR}
 

Modified: head/databases/skytools/Makefile
==============================================================================
--- head/databases/skytools/Makefile	Mon Sep 10 13:14:50 2018	(r479406)
+++ head/databases/skytools/Makefile	Mon Sep 10 13:15:47 2018	(r479407)
@@ -26,6 +26,8 @@ CONFIGURE_ARGS=	--with-python=${PYTHON_CMD} \
 		--docdir=${EXAMPLESDIR} \
 		--with-pgconfig=${LOCALBASE}/bin/pg_config
 
+OPTIONS_DEFINE=	EXAMPLES
+
 post-patch:
 	@${REINPLACE_CMD} -e 's=share/doc=share/examples=' ${WRKSRC}/setup_skytools.py
 

Modified: head/databases/tcl-sqlite3/Makefile
==============================================================================
--- head/databases/tcl-sqlite3/Makefile	Mon Sep 10 13:14:50 2018	(r479406)
+++ head/databases/tcl-sqlite3/Makefile	Mon Sep 10 13:15:47 2018	(r479407)
@@ -14,7 +14,7 @@ LICENSE=	PD
 
 LIB_DEPENDS=	libsqlite3.so:databases/sqlite3
 
-OPTIONS_DEFINE=	THREADS
+OPTIONS_DEFINE=	EXAMPLES THREADS
 OPTIONS_DEFAULT=	THREADS
 
 WRKSRC=		${WRKDIR}/${DISTNAME}/tea

Modified: head/deskutils/note/Makefile
==============================================================================
--- head/deskutils/note/Makefile	Mon Sep 10 13:14:50 2018	(r479406)
+++ head/deskutils/note/Makefile	Mon Sep 10 13:15:47 2018	(r479407)
@@ -17,7 +17,7 @@ RUN_DEPENDS=	p5-YAML>=0.1:textproc/p5-YAML \
 USES=		perl5
 USE_PERL5=	configure
 
-OPTIONS_DEFINE=		MYSQL PWSAFE3
+OPTIONS_DEFINE=		EXAMPLES MYSQL PWSAFE3
 OPTIONS_DEFAULT=	BLOWFISH DES IDEA MYSQL PWSAFE3
 
 MYSQL_RUN_DEPENDS=	p5-DBD-mysql>0:databases/p5-DBD-mysql \

Modified: head/devel/allegro-devel/Makefile
==============================================================================
--- head/devel/allegro-devel/Makefile	Mon Sep 10 13:14:50 2018	(r479406)
+++ head/devel/allegro-devel/Makefile	Mon Sep 10 13:15:47 2018	(r479407)
@@ -64,6 +64,7 @@ DOCS_BUILD_DEPENDS=	${LOCALBASE}/bin/pandoc:textproc/h
 ALSA_LIB_DEPENDS=	libasound.so.2:audio/alsa-lib
 ALSA_CMAKE_ON=		-DWANT_ALSA=on
 ALSA_CMAKE_OFF=		-DWANT_ALSA=off
+DEMOS_IMPLIES=	EXAMPLES
 PULSEAUDIO_LIB_DEPENDS=	libpulse.so:audio/pulseaudio
 PULSEAUDIO_CMAKE_ON=	-DWANT_PULSEAUDIO=on
 PULSEAUDIO_CMAKE_OFF=	-DWANT_PULSEAUDIO=off

Modified: head/devel/cvs2svn/Makefile
==============================================================================
--- head/devel/cvs2svn/Makefile	Mon Sep 10 13:14:50 2018	(r479406)
+++ head/devel/cvs2svn/Makefile	Mon Sep 10 13:15:47 2018	(r479407)
@@ -55,7 +55,7 @@ MANPAGES=	cvs2svn.1.gz \
 
 PLIST_FILES+=	${MANPAGES:S|^|man/man1/|}
 
-OPTIONS_DEFINE=	DOCS
+OPTIONS_DEFINE=	DOCS EXAMPLES
 
 post-patch:
 # be consistent with PORTVERSION

Modified: head/devel/cvsweb3/Makefile
==============================================================================
--- head/devel/cvsweb3/Makefile	Mon Sep 10 13:14:50 2018	(r479406)
+++ head/devel/cvsweb3/Makefile	Mon Sep 10 13:15:47 2018	(r479407)
@@ -35,7 +35,7 @@ SHEBANG_FILES=	cvsweb.cgi
 NO_BUILD=	yes
 NO_ARCH=	yes
 
-OPTIONS_DEFINE=	DOCS
+OPTIONS_DEFINE=	DOCS EXAMPLES
 
 .include <bsd.port.pre.mk>
 

Modified: head/devel/eric6/Makefile
==============================================================================
--- head/devel/eric6/Makefile	Mon Sep 10 13:14:50 2018	(r479406)
+++ head/devel/eric6/Makefile	Mon Sep 10 13:15:47 2018	(r479407)
@@ -29,7 +29,7 @@ PORTDATA=	*
 PORTDOCS=	*
 PORTEXAMPLES=	*
 
-OPTIONS_DEFINE=	DOCS
+OPTIONS_DEFINE=	DOCS EXAMPLES
 
 .include "${.CURDIR}/bsd.eric6.mk"
 .include <bsd.port.options.mk>

Modified: head/devel/erlang-gen_leader/Makefile
==============================================================================
--- head/devel/erlang-gen_leader/Makefile	Mon Sep 10 13:14:50 2018	(r479406)
+++ head/devel/erlang-gen_leader/Makefile	Mon Sep 10 13:15:47 2018	(r479407)
@@ -15,9 +15,9 @@ GH_ACCOUNT=	garret-smith
 GH_PROJECT=	gen_leader_revival
 GH_TAGNAME=	a12a4e3
 
-OPTIONS_DEFINE=	DOCS
+OPTIONS_DEFINE=	DOCS EXAMPLES
 
-post-install:
+post-install-EXAMPLES-on:
 	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
 	${INSTALL_DATA} ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR}
 

Modified: head/devel/erlang-jobs/Makefile
==============================================================================
--- head/devel/erlang-jobs/Makefile	Mon Sep 10 13:14:50 2018	(r479406)
+++ head/devel/erlang-jobs/Makefile	Mon Sep 10 13:15:47 2018	(r479407)
@@ -16,9 +16,9 @@ ERL_BUILD_DEPS=	devel/erlang-parse_trans
 ERL_RUN_DEPS:=	${ERL_BUILD_DEPS}
 ERL_DOCS=	doc/*
 
-OPTIONS_DEFINE=	DOCS
+OPTIONS_DEFINE=	DOCS EXAMPLES
 
-post-install:
+post-install-EXAMPLES-on:
 	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
 	${INSTALL_DATA} ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR}
 

Modified: head/devel/erlang-parse_trans/Makefile
==============================================================================
--- head/devel/erlang-parse_trans/Makefile	Mon Sep 10 13:14:50 2018	(r479406)
+++ head/devel/erlang-parse_trans/Makefile	Mon Sep 10 13:15:47 2018	(r479407)
@@ -14,9 +14,9 @@ GH_ACCOUNT=	uwiger
 
 ERL_DOCS=	doc/*
 
-OPTIONS_DEFINE=	DOCS
+OPTIONS_DEFINE=	DOCS EXAMPLES
 
-post-install:
+post-install-EXAMPLES-on:
 	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
 	${INSTALL_DATA} ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR}
 

Modified: head/devel/fistgen/Makefile
==============================================================================
--- head/devel/fistgen/Makefile	Mon Sep 10 13:14:50 2018	(r479406)
+++ head/devel/fistgen/Makefile	Mon Sep 10 13:15:47 2018	(r479407)
@@ -20,7 +20,7 @@ PORTEXAMPLES=	*
 PLIST_FILES=	sbin/fistgen \
 		man/man8/fistgen.8.gz
 
-OPTIONS_DEFINE=	DOCS
+OPTIONS_DEFINE=	DOCS EXAMPLES
 
 post-install:
 	@${MKDIR} ${STAGEDIR}${DATADIR}

Modified: head/devel/gengetopt/Makefile
==============================================================================
--- head/devel/gengetopt/Makefile	Mon Sep 10 13:14:50 2018	(r479406)
+++ head/devel/gengetopt/Makefile	Mon Sep 10 13:15:47 2018	(r479407)
@@ -29,7 +29,7 @@ DOC_EXAMPLES=	README.example cmdline1.c cmdline1.h cmd
 TESTS_EXAMPLES=	test_manual_help.c test_manual_help_cmd.c \
 		test_manual_help_cmd.ggo test_manual_help_cmd.h
 
-OPTIONS_DEFINE=	DOCS
+OPTIONS_DEFINE=	DOCS EXAMPLES
 
 post-install:
 	${INSTALL_MAN} ${WRKSRC}/doc/${PORTNAME}.1 \

Modified: head/devel/lua-sysctl/Makefile
==============================================================================
--- head/devel/lua-sysctl/Makefile	Mon Sep 10 13:14:50 2018	(r479406)
+++ head/devel/lua-sysctl/Makefile	Mon Sep 10 13:15:47 2018	(r479407)
@@ -19,7 +19,7 @@ USE_GITHUB=	yes
 GH_ACCOUNT=	kAworu
 GH_PROJECT=	lua-${PORTNAME}
 
-OPTIONS_DEFINE=	DOCS
+OPTIONS_DEFINE=	DOCS EXAMPLES
 
 post-patch:
 	@${REINPLACE_CMD} -e "s/5.1/${LUA_VER}/g" ${WRKSRC}/Makefile

Modified: head/devel/p5-Object-Pluggable/Makefile
==============================================================================
--- head/devel/p5-Object-Pluggable/Makefile	Mon Sep 10 13:14:50 2018	(r479406)
+++ head/devel/p5-Object-Pluggable/Makefile	Mon Sep 10 13:15:47 2018	(r479407)
@@ -21,7 +21,9 @@ RUN_DEPENDS:=	${BUILD_DEPENDS}
 USES=		perl5
 USE_PERL5=	configure
 
-post-install:
+OPTIONS_DEFINE=	EXAMPLES
+
+post-install-EXAMPLES-on:
 	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/
 	${INSTALL_SCRIPT} ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR}/
 

Modified: head/devel/pure-stllib/Makefile
==============================================================================
--- head/devel/pure-stllib/Makefile	Mon Sep 10 13:14:50 2018	(r479406)
+++ head/devel/pure-stllib/Makefile	Mon Sep 10 13:15:47 2018	(r479407)
@@ -27,7 +27,7 @@ DOC_FILES2=	*.pdf
 
 PORTEXAMPLES=	*
 
-OPTIONS_DEFINE=	DOCS
+OPTIONS_DEFINE=	DOCS EXAMPLES
 
 post-patch:
 	@${REINPLACE_CMD} -e 's|CFLAGS =|CFLAGS ?=|' \

Modified: head/devel/py-kid/Makefile
==============================================================================
--- head/devel/py-kid/Makefile	Mon Sep 10 13:14:50 2018	(r479406)
+++ head/devel/py-kid/Makefile	Mon Sep 10 13:15:47 2018	(r479407)
@@ -16,7 +16,7 @@ USES=		python:2.7 shebangfix
 USE_PYTHON=	distutils autoplist
 SHEBANG_FILES=	misc/upgrade-0.6.py
 
-OPTIONS_DEFINE=	DOCS
+OPTIONS_DEFINE=	DOCS EXAMPLES
 
 NO_ARCH=	yes
 DOCSDIR=	${PREFIX}/share/doc/py-${PORTNAME}

Modified: head/devel/py-pymtbl/Makefile
==============================================================================
--- head/devel/py-pymtbl/Makefile	Mon Sep 10 13:14:50 2018	(r479406)
+++ head/devel/py-pymtbl/Makefile	Mon Sep 10 13:15:47 2018	(r479407)
@@ -24,6 +24,8 @@ PORTEXAMPLES=	*
 
 CPPFLAGS+=	-I${LOCALBASE}/include
 
+OPTIONS_DEFINE=	EXAMPLES
+
 post-install:
 	${STRIP_CMD} ${STAGEDIR}/${PYTHON_SITELIBDIR}/mtbl.so
 	${MKDIR} ${STAGEDIR}${EXAMPLESDIR}

Modified: head/devel/py-pyro/Makefile
==============================================================================
--- head/devel/py-pyro/Makefile	Mon Sep 10 13:14:50 2018	(r479406)
+++ head/devel/py-pyro/Makefile	Mon Sep 10 13:15:47 2018	(r479407)
@@ -23,7 +23,7 @@ USE_PYTHON=	autoplist concurrent distutils
 PORTDOCS=	*
 PORTEXAMPLES=	*
 
-OPTIONS_DEFINE=	DOCS
+OPTIONS_DEFINE=	DOCS EXAMPLES
 
 .include <bsd.port.pre.mk>
 

Modified: head/devel/py-uvloop/Makefile
==============================================================================
--- head/devel/py-uvloop/Makefile	Mon Sep 10 13:14:50 2018	(r479406)
+++ head/devel/py-uvloop/Makefile	Mon Sep 10 13:15:47 2018	(r479407)
@@ -21,6 +21,7 @@ USES=		python:3.5+
 USE_PYTHON=	autoplist concurrent distutils
 
 PORTDOCS=	*
+PORTEXAMPLES=	*
 
 post-install:
 	${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/uvloop/loop.so

Modified: head/devel/pydbus-common/Makefile
==============================================================================
--- head/devel/pydbus-common/Makefile	Mon Sep 10 13:14:50 2018	(r479406)
+++ head/devel/pydbus-common/Makefile	Mon Sep 10 13:15:47 2018	(r479407)
@@ -31,7 +31,7 @@ DOCSDIR=	${PREFIX}/share/doc/py-${PORTNAME}
 EXAMPLESDIR=	${PREFIX}/share/examples/py-${PORTNAME}
 
 OPTIONS_SUB=	yes
-OPTIONS_DEFINE=	HTMLDOCS DOCS
+OPTIONS_DEFINE=	HTMLDOCS DOCS EXAMPLES
 HTMLDOCS_DESC=	build html documentation
 HTMLDOCS_IMPLIES=	DOCS
 HTMLDOCS_CONFIGURE_OFF=	--disable-html-docs

Modified: head/devel/quickcheck++/Makefile
==============================================================================
--- head/devel/quickcheck++/Makefile	Mon Sep 10 13:14:50 2018	(r479406)
+++ head/devel/quickcheck++/Makefile	Mon Sep 10 13:15:47 2018	(r479407)
@@ -20,7 +20,7 @@ NO_BUILD=	yes
 PORTDOCS=	COPYRIGHT README
 PORTEXAMPLES=	examples.cc
 
-OPTIONS_DEFINE=	DOCS DOXYGEN
+OPTIONS_DEFINE=	DOCS DOXYGEN EXAMPLES
 DOXYGEN_DESC=	Build documentation with doxygen
 
 .include <bsd.port.options.mk>

Modified: head/devel/rebar/Makefile
==============================================================================
--- head/devel/rebar/Makefile	Mon Sep 10 13:14:50 2018	(r479406)
+++ head/devel/rebar/Makefile	Mon Sep 10 13:15:47 2018	(r479407)
@@ -14,7 +14,7 @@ LICENSE=	APACHE20
 BUILD_DEPENDS=	${LOCALBASE}/bin/escript:lang/erlang
 RUN_DEPENDS:=	${BUILD_DEPENDS}
 
-OPTIONS_DEFINE=	BASH ZSH
+OPTIONS_DEFINE=	BASH ZSH EXAMPLES
 
 USE_GITHUB=	yes
 NO_ARCH=	yes

Modified: head/devel/rebar3/Makefile
==============================================================================
--- head/devel/rebar3/Makefile	Mon Sep 10 13:14:50 2018	(r479406)
+++ head/devel/rebar3/Makefile	Mon Sep 10 13:15:47 2018	(r479407)
@@ -20,7 +20,7 @@ BUILD_DEPENDS=	${LOCALBASE}/bin/erl:lang/erlang \
 		${LOCALBASE}/bin/git:devel/git
 RUN_DEPENDS=	${LOCALBASE}/bin/erl:lang/erlang
 
-OPTIONS_DEFINE=	BASH ZSH
+OPTIONS_DEFINE=	BASH ZSH EXAMPLES
 
 USE_GITHUB=	yes
 GH_ACCOUNT=	rebar

Modified: head/devel/relx/Makefile
==============================================================================
--- head/devel/relx/Makefile	Mon Sep 10 13:14:50 2018	(r479406)
+++ head/devel/relx/Makefile	Mon Sep 10 13:15:47 2018	(r479407)
@@ -39,7 +39,7 @@ REBAR_DEPS=	bbmustache-1.0.4 \
 DISTFILES+=	${_dep}.tar:hex
 .endfor
 
-OPTIONS_DEFINE=	DOCS
+OPTIONS_DEFINE=	DOCS EXAMPLES
 
 # convenience target to rebuild the relx cache file
 build-cache:
@@ -80,11 +80,12 @@ do-install:
 	${INSTALL_DATA} ${WRKSRC}/_build/default/lib/relx/ebin/* ${STAGEDIR}${PREFIX}/lib/erlang/lib/${PORTNAME}-${PORTVERSION}/ebin
 	cd ${WRKSRC}/priv && ${COPYTREE_SHARE} \* ${STAGEDIR}${PREFIX}/lib/erlang/lib/${PORTNAME}-${PORTVERSION}/priv
 	${INSTALL_SCRIPT} ${WRKSRC}/_build/default/bin/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
-	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
-	${INSTALL_DATA} ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR}
 
 post-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}
+post-install-EXAMPLES-on:
+	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+	${INSTALL_DATA} ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR}
 
 .include <bsd.port.mk>

Modified: head/dns/ironsides/Makefile
==============================================================================
--- head/dns/ironsides/Makefile	Mon Sep 10 13:14:50 2018	(r479406)
+++ head/dns/ironsides/Makefile	Mon Sep 10 13:15:47 2018	(r479407)
@@ -25,6 +25,8 @@ WRKSRC=		${WRKDIR}/${DISTFILES:S/.zip//}
 PLIST_FILES=	sbin/ironsides man/man1/ironsides.1.gz
 PORTEXAMPLES=	dfcs.usafa.edu.zonefile
 
+OPTIONS_DEFINE=	EXAMPLES
+
 post-extract:
 	@${CP} ${FILESDIR}/ironsides.gpr ${FILESDIR}/Makefile ${WRKSRC}/
 

Modified: head/dns/powerdns/Makefile
==============================================================================
--- head/dns/powerdns/Makefile	Mon Sep 10 13:14:50 2018	(r479406)
+++ head/dns/powerdns/Makefile	Mon Sep 10 13:15:47 2018	(r479407)
@@ -38,7 +38,7 @@ SUB_FILES=	pkg-message
 
 USE_RC_SUBR=	pdns
 
-OPTIONS_DEFINE=	DOCS GEOIP LUAJIT MYDNS MYSQL OPENDBX OPENLDAP OPTALGO PGSQL PROTOBUF REMOTE SQLITE3 TINYDNS TOOLS UNIXODBC
+OPTIONS_DEFINE=	DOCS EXAMPLES GEOIP LUAJIT MYDNS MYSQL OPENDBX OPENLDAP OPTALGO PGSQL PROTOBUF REMOTE SQLITE3 TINYDNS TOOLS UNIXODBC
 OPTIONS_GROUP=	EXPERIMENTAL REMOTEOPT
 OPTIONS_GROUP_EXPERIMENTAL=	LUABACKEND
 OPTIONS_GROUP_REMOTEOPT=	ZEROMQ

Modified: head/emulators/dynagen/Makefile
==============================================================================
--- head/emulators/dynagen/Makefile	Mon Sep 10 13:14:50 2018	(r479406)
+++ head/emulators/dynagen/Makefile	Mon Sep 10 13:15:47 2018	(r479407)
@@ -28,7 +28,7 @@ USE_PYTHON=	distutils autoplist
 ALL_TARGET=	# empty
 NO_ARCH=	yes
 
-OPTIONS_DEFINE=	DOCS
+OPTIONS_DEFINE=	DOCS EXAMPLES
 
 .include <bsd.port.pre.mk>
 

Modified: head/ftp/py-pyftpdlib/Makefile
==============================================================================
--- head/ftp/py-pyftpdlib/Makefile	Mon Sep 10 13:14:50 2018	(r479406)
+++ head/ftp/py-pyftpdlib/Makefile	Mon Sep 10 13:15:47 2018	(r479407)
@@ -16,7 +16,7 @@ USE_PYTHON=	autoplist distutils
 SHEBANG_FILES=	demo/*.py
 NO_ARCH=	yes
 
-OPTIONS_DEFINE=		SENDFILE OPENSSL
+OPTIONS_DEFINE=		SENDFILE OPENSSL EXAMPLES
 OPTIONS_DEFAULT=	SENDFILE OPENSSL
 SENDFILE_DESC=		Enable sendfile(2) support
 OPENSSL_DESC=		Enable FTP over SSL/TLS (RFC4217)

Modified: head/games/mangband/Makefile
==============================================================================
--- head/games/mangband/Makefile	Mon Sep 10 13:14:50 2018	(r479406)
+++ head/games/mangband/Makefile	Mon Sep 10 13:15:47 2018	(r479407)
@@ -19,7 +19,7 @@ DOS2UNIXFILES=	${WRKSRC}/client/main-sdl.c
 
 MAKE_ARGS=	"DATADIR=${DATADIR}"
 
-OPTIONS_DEFINE=	GCU X11 SDL
+OPTIONS_DEFINE=	GCU X11 SDL EXAMPLES
 OPTIONS_DEFAULT=	GCU X11 SDL
 GCU_DESC=	Display module GCU (curses)
 X11_DESC=	Display module X11

Modified: head/graphics/gimp-gmic-plugin/Makefile
==============================================================================
--- head/graphics/gimp-gmic-plugin/Makefile	Mon Sep 10 13:14:50 2018	(r479406)
+++ head/graphics/gimp-gmic-plugin/Makefile	Mon Sep 10 13:15:47 2018	(r479407)
@@ -20,7 +20,7 @@ LIB_DEPENDS=	libGraphicsMagick++.so:graphics/GraphicsM
 		libfftw3.so:math/fftw3 \
 		libgimp-2.0.so:graphics/gimp-app
 
-OPTIONS_DEFINE=	BASH
+OPTIONS_DEFINE=	BASH EXAMPLES
 OPTIONS_SUB=	yes
 BASH_RUN_DEPENDS=	bash:shells/bash
 

Modified: head/graphics/py-pygooglechart/Makefile
==============================================================================
--- head/graphics/py-pygooglechart/Makefile	Mon Sep 10 13:14:50 2018	(r479406)
+++ head/graphics/py-pygooglechart/Makefile	Mon Sep 10 13:15:47 2018	(r479407)
@@ -18,6 +18,8 @@ USE_PYTHON=	distutils autoplist
 PORTEXAMPLES=	*
 EXAMPLESDIR=	${PREFIX}/share/examples/${PKGNAMEPREFIX}${PORTNAME}
 
+OPTIONS_DEFINE=	EXAMPLES
+
 post-install:
 	${MKDIR} ${STAGEDIR}${EXAMPLESDIR} && \
 		cd ${WRKSRC}/examples && \

Modified: head/irc/ratbox-respond/Makefile
==============================================================================
--- head/irc/ratbox-respond/Makefile	Mon Sep 10 13:14:50 2018	(r479406)
+++ head/irc/ratbox-respond/Makefile	Mon Sep 10 13:15:47 2018	(r479407)
@@ -22,7 +22,7 @@ PORTDOCS=	challenge.txt
 PORTEXAMPLES=	*
 PLIST_FILES=	bin/ratbox-respond bin/makekeypair
 
-OPTIONS_DEFINE=	DOCS
+OPTIONS_DEFINE=	DOCS EXAMPLES
 
 do-install:
 	${INSTALL_PROGRAM} ${BUILD_WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin

Modified: head/irc/thales/Makefile
==============================================================================
--- head/irc/thales/Makefile	Mon Sep 10 13:14:50 2018	(r479406)
+++ head/irc/thales/Makefile	Mon Sep 10 13:15:47 2018	(r479407)
@@ -19,7 +19,7 @@ SHEBANG_FILES=	examples/MRTG/thalesinfo.pl
 USE_MYSQL=	yes
 USE_RC_SUBR=	thales
 
-OPTIONS_DEFINE=	MODES DOCS
+OPTIONS_DEFINE=	MODES DOCS EXAMPLES
 OPTIONS_RADIO=	IRCD
 OPTIONS_RADIO_IRCD=	HYBRID IRCDRU UNREAL
 OPTIONS_DEFAULT=MODES UNREAL

Modified: head/japanese/groff/Makefile
==============================================================================
--- head/japanese/groff/Makefile	Mon Sep 10 13:14:50 2018	(r479406)
+++ head/japanese/groff/Makefile	Mon Sep 10 13:15:47 2018	(r479407)
@@ -45,7 +45,7 @@ TMACFILES=	tmac.orig_me tmac.vgrind \
 		an-old.tmac doc.tmac e.tmac
 MDOCFILES=	ja.eucJP doc-common doc-syms
 
-OPTIONS_DEFINE=	DOCS
+OPTIONS_DEFINE=	DOCS EXAMPLES
 
 post-patch:
 	${REINPLACE_CMD} -E -e 's|^@setfilename +groff|&.info|g;' \

Modified: head/lang/elk/Makefile
==============================================================================
--- head/lang/elk/Makefile	Mon Sep 10 13:14:50 2018	(r479406)
+++ head/lang/elk/Makefile	Mon Sep 10 13:15:47 2018	(r479407)
@@ -24,6 +24,8 @@ MAKE_JOBS_UNSAFE=	yes
 CPPFLAGS+=	-I${LOCALBASE}/include/libelf -I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib
 
+OPTIONS_DEFINE=	EXAMPLES
+
 .include <bsd.port.pre.mk>
 
 .if ${ARCH} == "amd64"

Modified: head/mail/muttils/Makefile
==============================================================================
--- head/mail/muttils/Makefile	Mon Sep 10 13:14:50 2018	(r479406)
+++ head/mail/muttils/Makefile	Mon Sep 10 13:15:47 2018	(r479407)
@@ -20,6 +20,8 @@ USE_PYTHON=	distutils autoplist
 
 PORTEXAMPLES=	*
 
+OPTIONS_DEFINE=	EXAMPLES
+
 .include <bsd.port.options.mk>
 
 post-install:

Modified: head/mail/pysieved/Makefile
==============================================================================
--- head/mail/pysieved/Makefile	Mon Sep 10 13:14:50 2018	(r479406)
+++ head/mail/pysieved/Makefile	Mon Sep 10 13:15:47 2018	(r479407)
@@ -23,7 +23,7 @@ SUB_LIST=	PORTNAME=${PORTNAME} PYTHON_CMD=${PYTHON_CMD
 
 PORTDOCS=	COPYING README README.Dovecot THANKS
 
-OPTIONS_DEFINE=	DOCS
+OPTIONS_DEFINE=	DOCS EXAMPLES
 
 post-patch:
 	${REINPLACE_CMD} \

Modified: head/mail/qmail-rblchk/Makefile
==============================================================================
--- head/mail/qmail-rblchk/Makefile	Mon Sep 10 13:14:50 2018	(r479406)
+++ head/mail/qmail-rblchk/Makefile	Mon Sep 10 13:15:47 2018	(r479407)
@@ -22,6 +22,8 @@ WRKSRC=		${WRKDIR}/${PORTNAME}
 ALL_TARGET=	default
 INSTALL_TARGET=	setup
 
+OPTIONS_DEFINE=	EXAMPLES
+
 post-patch:
 	@${REINPLACE_CMD} -e '/"cat/d; s|,02755|,0755|' ${WRKSRC}/hier.c
 

Modified: head/mail/sympa/Makefile
==============================================================================
--- head/mail/sympa/Makefile	Mon Sep 10 13:14:50 2018	(r479406)
+++ head/mail/sympa/Makefile	Mon Sep 10 13:15:47 2018	(r479407)
@@ -99,7 +99,7 @@ USE_RC_SUBR=	sympa
 
 CONFLICTS=	sympa-5*
 
-OPTIONS_DEFINE=	FASTCGI APACHE DOCS
+OPTIONS_DEFINE=	FASTCGI APACHE DOCS EXAMPLES
 OPTIONS_DEFAULT=APACHE
 OPTIONS_RADIO=	DATABASE
 OPTIONS_RADIO_DATABASE=	PGSQL SYBASE MYSQL

Modified: head/math/blocksolve95/Makefile
==============================================================================
--- head/math/blocksolve95/Makefile	Mon Sep 10 13:14:50 2018	(r479406)
+++ head/math/blocksolve95/Makefile	Mon Sep 10 13:15:47 2018	(r479407)
@@ -23,7 +23,7 @@ LIB_DEPENDS=	libf2c.so:lang/f2c	\
 
 USES=		fortran gmake tar:Z
 
-OPTIONS_DEFINE=	DOCS
+OPTIONS_DEFINE=	DOCS EXAMPLES
 OPTIONS_RADIO=	BLAS
 OPTIONS_RADIO_BLAS=	REFERENCE ATLAS
 OPTIONS_DEFAULT=	REFERENCE

Modified: head/math/emc2/Makefile
==============================================================================
--- head/math/emc2/Makefile	Mon Sep 10 13:14:50 2018	(r479406)
+++ head/math/emc2/Makefile	Mon Sep 10 13:15:47 2018	(r479407)
@@ -32,7 +32,7 @@ PORTEXAMPLES=	*
 
 PLIST_FILES=	bin/emc2 bin/prf_f3d
 
-OPTIONS_DEFINE=	DOCS
+OPTIONS_DEFINE=	DOCS EXAMPLES
 
 DOCS_DISTFILES=	RTemc2_fr.pdf RTemc2_gb.pdf
 

Modified: head/math/lapack95/Makefile
==============================================================================
--- head/math/lapack95/Makefile	Mon Sep 10 13:14:50 2018	(r479406)
+++ head/math/lapack95/Makefile	Mon Sep 10 13:15:47 2018	(r479407)
@@ -14,6 +14,8 @@ COMMENT=	LAPACK95, Fortran90/95 wrapper for LAPACK
 
 USES=		fortran tar:tgz
 
+OPTIONS_DEFINE=	EXAMPLES
+
 OPTIONS_RADIO=	BLAS
 OPTIONS_RADIO_BLAS=	REFERENCE ATLAS
 OPTIONS_DEFAULT=	REFERENCE

Modified: head/math/pari/Makefile
==============================================================================
--- head/math/pari/Makefile	Mon Sep 10 13:14:50 2018	(r479406)
+++ head/math/pari/Makefile	Mon Sep 10 13:15:47 2018	(r479407)
@@ -29,7 +29,7 @@ CONFIGURE_ARGS=	--mandir=${MANPREFIX}/man/man1 \
 		--with-readline
 ALL_TARGET=	gp
 
-OPTIONS_DEFINE=		DOCS OPTIMIZED_CFLAGS X11
+OPTIONS_DEFINE=		DOCS EXAMPLES OPTIMIZED_CFLAGS X11
 OPTIONS_RADIO=		THREADS
 OPTIONS_RADIO_THREADS=	PTHREADS MPI
 OPTIONS_DEFAULT=	OPTIMIZED_CFLAGS X11 PTHREADS

Modified: head/math/ploticus/Makefile
==============================================================================
--- head/math/ploticus/Makefile	Mon Sep 10 13:14:50 2018	(r479406)
+++ head/math/ploticus/Makefile	Mon Sep 10 13:15:47 2018	(r479407)
@@ -39,6 +39,8 @@ PKGNAMESUFFIX=	-nox11
 USE_XORG=	xpm
 .endif
 
+OPTIONS_DEFINE=	EXAMPLES
+
 post-patch:
 	@${REINPLACE_CMD} -e 's,/usr/X11R6,${LOCALBASE},g' \
 		${BUILD_WRKSRC}/Makefile ${BUILD_WRKSRC}/mkapi

Modified: head/math/py-gato/Makefile
==============================================================================
--- head/math/py-gato/Makefile	Mon Sep 10 13:14:50 2018	(r479406)
+++ head/math/py-gato/Makefile	Mon Sep 10 13:15:47 2018	(r479407)
@@ -22,6 +22,8 @@ PORTEXAMPLES=	*
 USES=		python:2.7
 USE_PYTHON=	autoplist distutils
 
+OPTIONS_DEFINE=	EXAMPLES
+
 post-install:
 	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
 .for sample in *.alg *.pro *.cat

Modified: head/math/scalapack/Makefile
==============================================================================
--- head/math/scalapack/Makefile	Mon Sep 10 13:14:50 2018	(r479406)
+++ head/math/scalapack/Makefile	Mon Sep 10 13:15:47 2018	(r479407)
@@ -32,7 +32,7 @@ EXAMPLESDIR=	${PREFIX}/share/examples/${PORTNAME:tu}
 SUB_FILES=	pkg-message
 PLIST_SUB=	SVERSION=${SVERSION} PORTVERSION=${PORTVERSION}
 
-OPTIONS_DEFINE=	DOCS
+OPTIONS_DEFINE=	DOCS EXAMPLES
 
 .include <bsd.port.pre.mk>
 

Modified: head/math/topaz/Makefile
==============================================================================
--- head/math/topaz/Makefile	Mon Sep 10 13:14:50 2018	(r479406)
+++ head/math/topaz/Makefile	Mon Sep 10 13:15:47 2018	(r479407)
@@ -19,6 +19,8 @@ USES=		ncurses readline
 USE_XORG=	x11
 MAKEFILE=	Makefile.freebsd
 
+OPTIONS_DEFINE=	EXAMPLES
+
 post-install:
 	${LN} -sf ${PREFIX}/lib/topaz/topaz.sh ${STAGEDIR}${PREFIX}/bin/topaz
 	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}

Modified: head/math/xgraph/Makefile
==============================================================================
--- head/math/xgraph/Makefile	Mon Sep 10 13:14:50 2018	(r479406)
+++ head/math/xgraph/Makefile	Mon Sep 10 13:15:47 2018	(r479407)
@@ -20,6 +20,8 @@ USES=		imake tar:Z
 USE_XORG=	x11 xext
 WRKSRC=		${WRKDIR}/${PORTNAME}
 
+OPTIONS_DEFINE=	EXAMPLES
+
 post-extract:
 	@${SED} -ne '2,19 {s|^ \* *||;p;}' < ${WRKSRC}/copyright.h > ${WRKSRC}/COPYING
 

Modified: head/misc/gwhich/Makefile
==============================================================================
--- head/misc/gwhich/Makefile	Mon Sep 10 13:14:50 2018	(r479406)
+++ head/misc/gwhich/Makefile	Mon Sep 10 13:15:47 2018	(r479407)
@@ -17,6 +17,8 @@ INFO=		which
 PORTEXAMPLES=	EXAMPLES
 PLIST_FILES=	bin/gwhich man/man1/gwhich.1.gz
 
+OPTIONS_DEFINE=	EXAMPLES
+
 post-install:
 	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
 	${INSTALL_DATA} ${WRKSRC}/EXAMPLES ${STAGEDIR}${EXAMPLESDIR}

Modified: head/misc/heyu2/Makefile
==============================================================================
--- head/misc/heyu2/Makefile	Mon Sep 10 13:14:50 2018	(r479406)
+++ head/misc/heyu2/Makefile	Mon Sep 10 13:15:47 2018	(r479407)
@@ -19,7 +19,7 @@ HAS_CONFIGURE=	yes
 CONFIGURE_SCRIPT=	Configure
 CONFIGURE_ARGS=	freebsd
 
-OPTIONS_DEFINE=	CM17A EXTENDED RFXSENS RFXMETER DMX OREGON
+OPTIONS_DEFINE=	CM17A EXTENDED RFXSENS RFXMETER DMX OREGON EXAMPLES
 CM17A_DESC=	X10 CM17A "Firecracker" Support
 EXTENDED_DESC=	Extended Type 0 (Shutter/Shade) Support
 RFXSENS_DESC=	RFXSensors (RF) Support

Modified: head/multimedia/mpv/Makefile
==============================================================================
--- head/multimedia/mpv/Makefile	Mon Sep 10 13:14:50 2018	(r479406)
+++ head/multimedia/mpv/Makefile	Mon Sep 10 13:15:47 2018	(r479407)
@@ -42,7 +42,7 @@ CONFIGURE_ARGS=	--docdir="${EXAMPLESDIR}" \
 		--disable-vapoursynth-lazy \
 		--enable-libmpv-shared
 
-OPTIONS_DEFINE=		ARCHIVE ASS DOCS LCMS2 LUAJIT MANPAGES TEST UCHARDET ZSH
+OPTIONS_DEFINE=		ARCHIVE ASS DOCS LCMS2 LUAJIT MANPAGES TEST UCHARDET ZSH EXAMPLES
 OPTIONS_DEFAULT=	ARCHIVE ASS DVDREAD DVDNAV MANPAGES OPENGL UCHARDET \
 			V4L VAAPI VDPAU X11 YTDL
 OPTIONS_GROUP=		IN VO AO

Modified: head/multimedia/nordlicht/Makefile
==============================================================================
--- head/multimedia/nordlicht/Makefile	Mon Sep 10 13:14:50 2018	(r479406)
+++ head/multimedia/nordlicht/Makefile	Mon Sep 10 13:15:47 2018	(r479407)
@@ -30,6 +30,8 @@ BROKEN_powerpc64=	Does not build
 
 SHEBANG_FILES=	utils/mpv-nordlicht
 
+OPTIONS_DEFINE=	EXAMPLES
+
 post-patch:
 	@${REINPLACE_CMD} \
 		-e 's|$${CMAKE_INSTALL_LIBDIR}/pkgconfig|libdata/pkgconfig|' \

Modified: head/multimedia/oscam/Makefile
==============================================================================
--- head/multimedia/oscam/Makefile	Mon Sep 10 13:14:50 2018	(r479406)
+++ head/multimedia/oscam/Makefile	Mon Sep 10 13:15:47 2018	(r479407)
@@ -26,11 +26,15 @@ FETCH_DEPENDS+=	svn:devel/subversion
 SVN_REV=	11062
 SVN_SRC=	http://www.streamboard.tv/svn/oscam/trunk
 
+OPTIONS_DEFINE=	EXAMPLES
+
 do-install:
 	${RM} ${WRKSRC}/Distribution/*.debug
 	${INSTALL_PROGRAM} ${WRKSRC}/Distribution/${PORTNAME}-${PORTVERSION}-* ${STAGEDIR}${PREFIX}/bin/oscam
 	${INSTALL_MAN} ${WRKSRC}/Distribution/doc/man/*.1 ${STAGEDIR}${PREFIX}/man/man1/
 	${INSTALL_MAN} ${WRKSRC}/Distribution/doc/man/*.5 ${STAGEDIR}${PREFIX}/man/man5/
+
+do-install-EXAMPLES-on:
 	${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/
 	${INSTALL_DATA} ${WRKSRC}/Distribution/doc/example/* ${STAGEDIR}${EXAMPLESDIR}/
 

Modified: head/net-mgmt/argus3/Makefile
==============================================================================
--- head/net-mgmt/argus3/Makefile	Mon Sep 10 13:14:50 2018	(r479406)
+++ head/net-mgmt/argus3/Makefile	Mon Sep 10 13:15:47 2018	(r479407)
@@ -15,7 +15,7 @@ LICENSE=	GPLv3
 
 CONFLICTS=	argus-2* argus-sasl-2* argus-clients-2*
 
-OPTIONS_DEFINE=	SASL
+OPTIONS_DEFINE=	SASL EXAMPLES
 OPTIONS_DEFAULT=SASL
 SASL_LIB_DEPENDS=	libsasl2.so:security/cyrus-sasl2
 SASL_CONFIGURE_ON=	--with-sasl=${LOCALBASE}

Modified: head/net-mgmt/blackbox_exporter/Makefile
==============================================================================
--- head/net-mgmt/blackbox_exporter/Makefile	Mon Sep 10 13:14:50 2018	(r479406)
+++ head/net-mgmt/blackbox_exporter/Makefile	Mon Sep 10 13:15:47 2018	(r479407)
@@ -29,6 +29,8 @@ USE_RC_SUBR=	${PORTNAME}
 
 PORTEXAMPLES=	${WRKSRC}/*.yml
 
+OPTIONS_DEFINE=	EXAMPLES
+
 do-install:
 	${INSTALL_PROGRAM} ${WRKDIR}/bin/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
 	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}

Modified: head/net-mgmt/bsnmp-ucd/Makefile
==============================================================================
--- head/net-mgmt/bsnmp-ucd/Makefile	Mon Sep 10 13:14:50 2018	(r479406)
+++ head/net-mgmt/bsnmp-ucd/Makefile	Mon Sep 10 13:15:47 2018	(r479407)
@@ -16,7 +16,9 @@ GH_ACCOUNT=	trociny
 USES=		uidfix
 MAKE_ENV+=	NO_OBJ=yes
 
-post-install:
+OPTIONS_DEFINE=	EXAMPLES
+
+post-install-EXAMPLES-on:
 	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
 	${INSTALL_DATA} ${WRKSRC}/snmpd.config.sample ${STAGEDIR}${EXAMPLESDIR}
 

Modified: head/net-mgmt/icinga-classicweb/Makefile
==============================================================================
--- head/net-mgmt/icinga-classicweb/Makefile	Mon Sep 10 13:14:50 2018	(r479406)
+++ head/net-mgmt/icinga-classicweb/Makefile	Mon Sep 10 13:15:47 2018	(r479407)
@@ -7,6 +7,8 @@ DISTNAME=	icinga-${PORTVERSION}
 MAINTAINER=	lme@FreeBSD.org
 COMMENT=	Classic web interface for Icinga 1 and 2
 
+OPTIONS_DEFINE=	EXAMPLES
+
 .include "${.CURDIR}/../icinga-core/Makefile.common"
 
 LIB_DEPENDS+=	libgd.so:graphics/gd

Modified: head/net-mgmt/icinga-core/Makefile
==============================================================================
--- head/net-mgmt/icinga-core/Makefile	Mon Sep 10 13:14:50 2018	(r479406)
+++ head/net-mgmt/icinga-core/Makefile	Mon Sep 10 13:15:47 2018	(r479407)
@@ -20,7 +20,7 @@ SUB_FILES=	pkg-message
 SUB_LIST=	PREFIX=${PREFIX} \
 		${PLIST_SUB}
 
-OPTIONS_DEFINE=		IDOUTILS
+OPTIONS_DEFINE=		IDOUTILS EXAMPLES
 OPTIONS_RADIO=		PLUGINS
 OPTIONS_RADIO_PLUGINS=	MONPLUGINS NAGPLUGINS
 OPTIONS_DEFAULT=	IDOUTILS MONPLUGINS

Modified: head/net-mgmt/icingaweb2/Makefile
==============================================================================
--- head/net-mgmt/icingaweb2/Makefile	Mon Sep 10 13:14:50 2018	(r479406)
+++ head/net-mgmt/icingaweb2/Makefile	Mon Sep 10 13:15:47 2018	(r479407)
@@ -30,7 +30,7 @@ SUB_LIST=	WWWDIR=${WWWDIR} \
 PLIST_SUB=	WWWOWN=${WWWOWN} \
 		WWWGRP=${WWWGRP}
 
-OPTIONS_DEFINE=		NLS LDAP MYSQL PGSQL PDF
+OPTIONS_DEFINE=		NLS LDAP MYSQL PGSQL PDF EXAMPLES
 OPTIONS_DEFAULT=	LDAP MYSQL PGSQL
 
 PDF_DESC=	Export graphs as PDF

Modified: head/net-mgmt/nagiosgraph/Makefile
==============================================================================
--- head/net-mgmt/nagiosgraph/Makefile	Mon Sep 10 13:14:50 2018	(r479406)
+++ head/net-mgmt/nagiosgraph/Makefile	Mon Sep 10 13:15:47 2018	(r479407)
@@ -15,7 +15,7 @@ LICENSE=	ART20
 RUN_DEPENDS=	rrdtool>=0:databases/rrdtool \
 		p5-CGI>=0:www/p5-CGI
 
-OPTIONS_DEFINE=		DOCS
+OPTIONS_DEFINE=		DOCS EXAMPLES
 OPTIONS_SINGLE=		NAGIOS
 OPTIONS_SINGLE_NAGIOS=	NAGIOS35 NAGIOS4
 OPTIONS_DEFAULT=	NAGIOS35

Modified: head/net-mgmt/netmagis-database/Makefile
==============================================================================
--- head/net-mgmt/netmagis-database/Makefile	Mon Sep 10 13:14:50 2018	(r479406)
+++ head/net-mgmt/netmagis-database/Makefile	Mon Sep 10 13:15:47 2018	(r479407)
@@ -20,4 +20,6 @@ MASTERDIR=	${.CURDIR}/../netmagis-common
 PKGMESSAGE=	${.CURDIR}/pkg-message
 PLIST=		${.CURDIR}/pkg-plist
 
+OPTIONS_DEFINE=	EXAMPLES
+
 .include "${MASTERDIR}/Makefile"

Modified: head/net-mgmt/netmagis-detecteq/Makefile
==============================================================================
--- head/net-mgmt/netmagis-detecteq/Makefile	Mon Sep 10 13:14:50 2018	(r479406)
+++ head/net-mgmt/netmagis-detecteq/Makefile	Mon Sep 10 13:15:47 2018	(r479407)
@@ -15,4 +15,6 @@ MASTERDIR=	${.CURDIR}/../netmagis-common
 PKGMESSAGE=	${.CURDIR}/pkg-message
 PLIST=		${.CURDIR}/pkg-plist
 
+OPTIONS_DEFINE=	EXAMPLES
+
 .include "${MASTERDIR}/Makefile"

Modified: head/net-mgmt/netmagis-metro/Makefile
==============================================================================
--- head/net-mgmt/netmagis-metro/Makefile	Mon Sep 10 13:14:50 2018	(r479406)
+++ head/net-mgmt/netmagis-metro/Makefile	Mon Sep 10 13:15:47 2018	(r479407)
@@ -24,4 +24,6 @@ MASTERDIR=	${.CURDIR}/../netmagis-common
 PKGMESSAGE=	${.CURDIR}/pkg-message
 PLIST=		${.CURDIR}/pkg-plist
 
+OPTIONS_DEFINE=	EXAMPLES
+
 .include "${MASTERDIR}/Makefile"

Modified: head/net-mgmt/netmagis-servers/Makefile
==============================================================================
--- head/net-mgmt/netmagis-servers/Makefile	Mon Sep 10 13:14:50 2018	(r479406)
+++ head/net-mgmt/netmagis-servers/Makefile	Mon Sep 10 13:15:47 2018	(r479407)
@@ -15,4 +15,6 @@ MASTERDIR=	${.CURDIR}/../netmagis-common
 PKGMESSAGE=	${.CURDIR}/pkg-message
 PLIST=		${.CURDIR}/pkg-plist
 
+OPTIONS_DEFINE=	EXAMPLES
+
 .include "${MASTERDIR}/Makefile"

Modified: head/net-mgmt/netmagis-topo/Makefile
==============================================================================
--- head/net-mgmt/netmagis-topo/Makefile	Mon Sep 10 13:14:50 2018	(r479406)
+++ head/net-mgmt/netmagis-topo/Makefile	Mon Sep 10 13:15:47 2018	(r479407)
@@ -24,6 +24,8 @@ PLIST=		${.CURDIR}/pkg-plist
 
 ALL_TARGET=build${PKGNAMESUFFIX?=}
 
+OPTIONS_DEFINE=	EXAMPLES
+
 post-install:
 	@${MKDIR} ${STAGEDIR}/var/netmagis/eqgen ${STAGEDIR}/var/netmagis/eqvirt
 

Modified: head/net-mgmt/netmagis-www/Makefile
==============================================================================
--- head/net-mgmt/netmagis-www/Makefile	Mon Sep 10 13:14:50 2018	(r479406)
+++ head/net-mgmt/netmagis-www/Makefile	Mon Sep 10 13:15:47 2018	(r479407)
@@ -23,6 +23,8 @@ MASTERDIR=	${.CURDIR}/../netmagis-common
 PKGMESSAGE=	${.CURDIR}/pkg-message
 PLIST=		${.CURDIR}/pkg-plist
 
+OPTIONS_DEFINE=	EXAMPLES
+
 post-install:
 	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/htgtcl
 

Modified: head/net-mgmt/nsca-ng/Makefile
==============================================================================
--- head/net-mgmt/nsca-ng/Makefile	Mon Sep 10 13:14:50 2018	(r479406)
+++ head/net-mgmt/nsca-ng/Makefile	Mon Sep 10 13:15:47 2018	(r479407)
@@ -33,7 +33,7 @@ CONFIGURE_ARGS+=	--enable-server
 
 PORTDOCS=	NEWS COPYING README PROTOCOL TODO
 
-OPTIONS_DEFINE=	DOCS
+OPTIONS_DEFINE=	DOCS EXAMPLES
 
 .include <bsd.port.pre.mk>
 

Modified: head/net-mgmt/p5-RDR-Collector/Makefile
==============================================================================
--- head/net-mgmt/p5-RDR-Collector/Makefile	Mon Sep 10 13:14:50 2018	(r479406)
+++ head/net-mgmt/p5-RDR-Collector/Makefile	Mon Sep 10 13:15:47 2018	(r479407)
@@ -17,6 +17,8 @@ USES=		perl5 shebangfix
 USE_PERL5=	configure
 SHEBANG_FILES=	examples/*.pl
 
+OPTIONS_DEFINE=	EXAMPLES
+
 post-install:
 	${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
 	${INSTALL_SCRIPT} ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR}

Modified: head/net-mgmt/pdagent-integrations/Makefile
==============================================================================
--- head/net-mgmt/pdagent-integrations/Makefile	Mon Sep 10 13:14:50 2018	(r479406)
+++ head/net-mgmt/pdagent-integrations/Makefile	Mon Sep 10 13:15:47 2018	(r479407)
@@ -25,6 +25,8 @@ SUB_FILES=	pagerduty-icinga2.conf pkg-message
 NO_ARCH=	yes
 NO_BUILD=	yes
 
+OPTIONS_DEFINE=	EXAMPLES
+
 post-patch:
 	${REINPLACE_CMD} 's|/usr/share/pdagent-integrations/bin|${PREFIX}/bin|g' ${WRKSRC}/pagerduty_nagios.cfg ${WRKSRC}/conf.d/sensu_pagerduty_handler.json
 

Modified: head/net-mgmt/pmacct/Makefile
==============================================================================
--- head/net-mgmt/pmacct/Makefile	Mon Sep 10 13:14:50 2018	(r479406)
+++ head/net-mgmt/pmacct/Makefile	Mon Sep 10 13:15:47 2018	(r479407)
@@ -22,7 +22,7 @@ CPPFLAGS+=	"-I${LOCALBASE}/include"
 LDFLAGS+=	"-L${LOCALBASE}/lib"
 
 OPTIONS_DEFINE=	MYSQL PGSQL SQLITE3 THREADS LAYER2 IPV6 DEBUG \
-		DOCS PLABEL RABBITMQ KAFKA JANSSON AVRO
+		DOCS PLABEL RABBITMQ KAFKA JANSSON AVRO EXAMPLES
 OPTIONS_DEFAULT=MMAP LAYER2 THREADS SHARED
 
 AVRO_DESC=	Enable avro support

Modified: head/net-mgmt/pnp/Makefile
==============================================================================
--- head/net-mgmt/pnp/Makefile	Mon Sep 10 13:14:50 2018	(r479406)
+++ head/net-mgmt/pnp/Makefile	Mon Sep 10 13:15:47 2018	(r479407)
@@ -19,7 +19,7 @@ RUN_DEPENDS?=	${LOCALBASE}/bin/rrdtool:databases/rrdto
 MAKE_JOBS_UNSAFE=	yes
 USES=		dos2unix perl5 php php:web
 
-OPTIONS_DEFINE=	PDF
+OPTIONS_DEFINE=	PDF EXAMPLES
 OPTIONS_DEFAULT=	PDF
 PDF_DESC=	Use built-in fpdf library to produce PDF views
 

Modified: head/net-mgmt/py-snmp4/Makefile
==============================================================================
--- head/net-mgmt/py-snmp4/Makefile	Mon Sep 10 13:14:50 2018	(r479406)
+++ head/net-mgmt/py-snmp4/Makefile	Mon Sep 10 13:15:47 2018	(r479407)
@@ -28,7 +28,7 @@ DOCSDIR=	${PREFIX}/share/doc/${PYTHON_PKGNAMEPREFIX}${
 PORTDOCS=	*
 PORTEXAMPLES=	*
 
-OPTIONS_DEFINE=	DOCS
+OPTIONS_DEFINE=	DOCS EXAMPLES
 
 post-install:
 	${MKDIR} ${STAGEDIR}${DOCSDIR}

Modified: head/net-mgmt/smokeping/Makefile
==============================================================================
--- head/net-mgmt/smokeping/Makefile	Mon Sep 10 13:14:50 2018	(r479406)
+++ head/net-mgmt/smokeping/Makefile	Mon Sep 10 13:15:47 2018	(r479407)
@@ -64,7 +64,7 @@ RADIUS_DESC=	Support for Radius probes
 TELNET_DESC=	Support for TelnetIOSPing probes
 DNS_DESC=	Support for AnotherDNS probes
 
-OPTIONS_DEFINE=	ECHOPING CURL RADIUS TELNET DNS FPING
+OPTIONS_DEFINE=	ECHOPING CURL RADIUS TELNET DNS FPING EXAMPLES
 OPTIONS_DEFAULT=	FPING
 
 FPING_RUN_DEPENDS=	${LOCALBASE}/sbin/fping:net/fping

Modified: head/net-p2p/minder/Makefile
==============================================================================
--- head/net-p2p/minder/Makefile	Mon Sep 10 13:14:50 2018	(r479406)
+++ head/net-p2p/minder/Makefile	Mon Sep 10 13:15:47 2018	(r479407)
@@ -26,6 +26,8 @@ LDFLAGS+=	$$(pkg-config --libs libxml-2.0) \
 PORTEXAMPLES=	minder.cfg
 PLIST_FILES=	bin/minder
 
+OPTIONS_DEFINE=	EXAMPLES
+
 post-patch:
 	@${REINPLACE_CMD} -e \
 		's|^CFLAGS|#CFLAGS| ; \

Modified: head/net/deviceatlas-enterprise-c/Makefile
==============================================================================
--- head/net/deviceatlas-enterprise-c/Makefile	Mon Sep 10 13:14:50 2018	(r479406)
+++ head/net/deviceatlas-enterprise-c/Makefile	Mon Sep 10 13:15:47 2018	(r479407)
@@ -26,7 +26,7 @@ PLIST_SUB=	PORTVERSION=${PORTVERSION}
 
 REGISTRATION_URL=	https://deviceatlas.com/deviceatlas-haproxy-module
 
-OPTIONS_DEFINE=	DOCS
+OPTIONS_DEFINE=	DOCS EXAMPLES
 
 .include <bsd.port.pre.mk>
 

Modified: head/net/erlang-ranch/Makefile
==============================================================================
--- head/net/erlang-ranch/Makefile	Mon Sep 10 13:14:50 2018	(r479406)
+++ head/net/erlang-ranch/Makefile	Mon Sep 10 13:15:47 2018	(r479407)
@@ -15,9 +15,9 @@ USE_GITHUB=	yes
 GH_ACCOUNT=	ninenines
 ERL_DOCS=	doc/src/guide/* doc/src/manual/*
 
-OPTIONS_DEFINE=	DOCS
+OPTIONS_DEFINE=	DOCS EXAMPLES
 
-post-install:
+post-install-EXAMPLES-on:
 	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
 	cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}
 

Modified: head/net/erlang-xmlrpc/Makefile
==============================================================================
--- head/net/erlang-xmlrpc/Makefile	Mon Sep 10 13:14:50 2018	(r479406)
+++ head/net/erlang-xmlrpc/Makefile	Mon Sep 10 13:15:47 2018	(r479407)
@@ -16,7 +16,7 @@ WRKSRC=		${WRKDIR}/xmlrpc-${PORTVERSION}
 
 ERL_DOCS=	doc/xmlrpc.pdf doc/xmlrpc.ps doc/xmlrpc.txt
 
-OPTIONS_DEFINE=	DOCS
+OPTIONS_DEFINE=	DOCS EXAMPLES
 
 do-build:
 	cd ${WRKSRC}/src && ${GMAKE}
@@ -26,8 +26,10 @@ post-patch:
 	@${RM} ${WRKSRC}/src/*.orig
 
 post-install:
+	${INSTALL_MAN} ${WRKSRC}/doc/xmlrpc.3 ${STAGEDIR}${MANPREFIX}/man/man3/erlang_xmlrpc.3
+
+post-install-EXAMPLES-on:
 	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
 	${INSTALL_DATA} ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR}
-	${INSTALL_MAN} ${WRKSRC}/doc/xmlrpc.3 ${STAGEDIR}${MANPREFIX}/man/man3/erlang_xmlrpc.3
 
 .include <bsd.port.mk>

Modified: head/net/freeradius3/Makefile
==============================================================================
--- head/net/freeradius3/Makefile	Mon Sep 10 13:14:50 2018	(r479406)
+++ head/net/freeradius3/Makefile	Mon Sep 10 13:15:47 2018	(r479407)
@@ -51,7 +51,7 @@ OPTIONS_SUB=	yes
 OPTIONS_DEFINE=	USER LDAP MYSQL PGSQL UNIXODBC FIREBIRD REDIS \
 		EXPERIMENTAL UDPFROMTO DEVELOPER EDIR PERL REST \
 		FREETDS IDN DOCS SQLITE3 PYTHON RUBY UNBOUND PCRE \
-		WINBIND
+		WINBIND EXAMPLES
 OPTIONS_DEFAULT=USER PERL HEIMDAL UDPFROMTO
 OPTIONS_SINGLE=	KRB
 OPTIONS_SINGLE_KRB=	NOKRB HEIMDAL HEIMDAL_PORT MITKRB_PORT

Modified: head/net/freeswitch/Makefile
==============================================================================
--- head/net/freeswitch/Makefile	Mon Sep 10 13:14:50 2018	(r479406)
+++ head/net/freeswitch/Makefile	Mon Sep 10 13:15:47 2018	(r479407)
@@ -46,7 +46,7 @@ GROUPS=		${USERS}
 
 SUB_FILES=	pkg-message
 
-OPTIONS_DEFINE=		ALL_MODULES X11
+OPTIONS_DEFINE=		ALL_MODULES X11 EXAMPLES
 OPTIONS_DEFAULT=	8K 16K ENGLISH
 OPTIONS_MULTI=		BITRATE LANGUAGE
 OPTIONS_MULTI_BITRATE=	8K 16K 32K 48K

Modified: head/net/mininet/Makefile
==============================================================================
--- head/net/mininet/Makefile	Mon Sep 10 13:14:50 2018	(r479406)
+++ head/net/mininet/Makefile	Mon Sep 10 13:15:47 2018	(r479407)
@@ -26,7 +26,7 @@ USE_GITHUB=	yes
 GH_ACCOUNT=	akoshibe
 GH_TAGNAME=	b88c58c
 
-OPTIONS_DEFINE=	DOCS
+OPTIONS_DEFINE=	DOCS EXAMPLES
 
 do-build:
 	@${CC} ${WRKSRC}/mnexec.c -o ${BUILD_WRKSRC}/mnexec

Modified: head/net/pecl-radius/Makefile
==============================================================================
--- head/net/pecl-radius/Makefile	Mon Sep 10 13:14:50 2018	(r479406)
+++ head/net/pecl-radius/Makefile	Mon Sep 10 13:15:47 2018	(r479407)
@@ -14,7 +14,9 @@ USES=		php:pecl
 
 CONFIGURE_ARGS=	--enable-radius
 
-post-install:
+OPTIONS_DEFINE=	EXAMPLES
+
+post-install-EXAMPLES-on:
 	${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
 	${INSTALL_DATA} ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR}
 

Modified: head/net/py-pynmsg/Makefile
==============================================================================
--- head/net/py-pynmsg/Makefile	Mon Sep 10 13:14:50 2018	(r479406)
+++ head/net/py-pynmsg/Makefile	Mon Sep 10 13:15:47 2018	(r479407)
@@ -23,6 +23,8 @@ PORTEXAMPLES=	*
 
 CPPFLAGS+=	-I${LOCALBASE}/include
 
+OPTIONS_DEFINE=	EXAMPLES
+
 post-install:
 	${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/_nmsg.so
 	${MKDIR} ${STAGEDIR}${EXAMPLESDIR}

Modified: head/net/quagga/Makefile
==============================================================================
--- head/net/quagga/Makefile	Mon Sep 10 13:14:50 2018	(r479406)
+++ head/net/quagga/Makefile	Mon Sep 10 13:15:47 2018	(r479407)
@@ -27,7 +27,7 @@ USE_PERL5=	build
 INFO=		quagga
 
 OPTIONS_DEFINE=	ISISD PIMD PAM RTADV SNMP TCPSOCKETS DLMALLOC \
-		NO_BGP_ANNOUNCE OSPF_NEXTHOP ISIS_TOPOLOGY
+		NO_BGP_ANNOUNCE OSPF_NEXTHOP ISIS_TOPOLOGY EXAMPLES
 # IRDP needs something freebsd does not seem to have:
 # configure: error: 'IRDP requires in_pktinfo at the moment!'
 OPTIONS_DEFAULT=	ISISD PIMD RTADV

Modified: head/net/scribe/Makefile
==============================================================================
--- head/net/scribe/Makefile	Mon Sep 10 13:14:50 2018	(r479406)
+++ head/net/scribe/Makefile	Mon Sep 10 13:15:47 2018	(r479407)
@@ -36,6 +36,8 @@ CONFIGURE_ARGS=	--with-boost-filesystem=boost_filesyst
 		PY_PREFIX="${PREFIX}"
 USE_RC_SUBR=	${PORTNAME}
 
+OPTIONS_DEFINE=	EXAMPLES
+
 post-patch:
 	@${REINPLACE_CMD} -e 's/^AM_INIT_AUTOMAKE/#/' ${WRKSRC}/configure.ac

*** DIFF OUTPUT TRUNCATED AT 1000 LINES ***



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