Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Jul 2014 03:00:46 +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: r362023 - in head: mail/annoyance-filter mail/archivemail mail/bmf mail/cone mail/ez-pine-gpg mail/maildrop mail/ruby-rfilter mail/ruby-rmail mail/squirrelmail mail/squirrelmail-decode ...
Message-ID:  <201407160300.s6G30kfZ081229@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: adamw
Date: Wed Jul 16 03:00:46 2014
New Revision: 362023
URL: http://svnweb.freebsd.org/changeset/ports/362023
QAT: https://qat.redports.org/buildarchive/r362023/

Log:
  Add DOCS option for ports with PORTDOCS in plist.

Modified:
  head/mail/annoyance-filter/Makefile
  head/mail/archivemail/Makefile
  head/mail/bmf/Makefile
  head/mail/cone/Makefile
  head/mail/ez-pine-gpg/Makefile
  head/mail/maildrop/Makefile
  head/mail/ruby-rfilter/Makefile
  head/mail/ruby-rmail/Makefile
  head/mail/squirrelmail-decode/Makefile
  head/mail/squirrelmail/Makefile
  head/mail/tmda/Makefile
  head/mail/tmda/pkg-plist
  head/math/diehard/Makefile
  head/math/ocamlgsl/Makefile
  head/math/parmgridgen/Makefile
  head/math/pecl-big_int/Makefile
  head/math/pecl-big_int/pkg-plist
  head/math/py-nzmath/Makefile
  head/math/py-scientific/Makefile
  head/math/ruby-fftw3/Makefile
  head/math/ruby-gsl/Makefile
  head/math/ruby-narray/Makefile
  head/misc/getopt/Makefile
  head/misc/linm/Makefile
  head/misc/ruby-progressbar/Makefile
  head/misc/tcb/Makefile
  head/misc/terraform/Makefile
  head/misc/wmScoreBoard/Makefile
  head/misc/xiphos/Makefile
  head/misc/ytree/Makefile
  head/multimedia/arista/Makefile
  head/multimedia/camserv/Makefile
  head/multimedia/ffmpeg0/Makefile
  head/multimedia/gmerlin-avdecoder/Makefile
  head/multimedia/gmerlin/Makefile
  head/multimedia/libdvdcss/Makefile
  head/multimedia/lxdvdrip/Makefile
  head/multimedia/lxdvdrip/pkg-plist
  head/multimedia/subtitleripper/Makefile
  head/multimedia/universal-media-server/Makefile
  head/multimedia/xbmc/Makefile
  head/multimedia/y4mscaler/Makefile
  head/net-im/climm/Makefile
  head/net-im/jabber/Makefile
  head/net-mgmt/argus3-clients/Makefile
  head/net-mgmt/gps/Makefile
  head/net-mgmt/icinga2/Makefile
  head/net-mgmt/nagiosgraph/Makefile
  head/net-mgmt/p5-SNMP_Session/Makefile
  head/net-mgmt/pancho/Makefile
  head/net-mgmt/sx/Makefile
  head/net-p2p/py-py2play/Makefile
  head/net-p2p/transmission-cli/Makefile
  head/net/aslookup/Makefile
  head/net/bmon/Makefile
  head/net/haproxy-devel/Makefile
  head/net/haproxy/Makefile
  head/net/ipsvd/Makefile
  head/net/libnids/Makefile
  head/net/lualdap/Makefile
  head/net/ntp-devel/Makefile.inc
  head/net/ntp/Makefile.inc
  head/net/openradius/Makefile
  head/net/ruby-dict/Makefile
  head/net/ruby-icmp/Makefile
  head/net/ruby-ldap/Makefile
  head/net/ruby-net-geoip/Makefile
  head/net/ruby-tserver/Makefile
  head/net/sniffit/Makefile
  head/net/ssltunnel-client/Makefile
  head/net/ssltunnel-server/Makefile
  head/net/tac_plus4/Makefile
  head/net/tcpsg/Makefile
  head/net/tigervnc/Makefile
  head/news/multisuck/Makefile
  head/news/multisuck/pkg-plist
  head/news/newsgrab/Makefile
  head/news/nget/Makefile
  head/news/noffle/Makefile
  head/news/nzbget/Makefile
  head/news/slrn/Makefile
  head/news/slrnconf/Makefile
  head/news/ubh/Makefile
  head/news/xpn/Makefile
  head/news/xrn/Makefile
  head/print/py-pyscript/Makefile
  head/print/py-trml2pdf/Makefile
  head/print/scribus/Makefile

Modified: head/mail/annoyance-filter/Makefile
==============================================================================
--- head/mail/annoyance-filter/Makefile	Wed Jul 16 02:59:57 2014	(r362022)
+++ head/mail/annoyance-filter/Makefile	Wed Jul 16 03:00:46 2014	(r362023)
@@ -18,6 +18,8 @@ DOCS=		COPYING INSTALL README *.pdf
 
 CFLAGS=		${CPPFLAGS}
 
+OPTIONS_DEFINE=	DOCS
+
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
 	${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}-run ${STAGEDIR}${PREFIX}/bin

Modified: head/mail/archivemail/Makefile
==============================================================================
--- head/mail/archivemail/Makefile	Wed Jul 16 02:59:57 2014	(r362022)
+++ head/mail/archivemail/Makefile	Wed Jul 16 03:00:46 2014	(r362023)
@@ -16,6 +16,8 @@ NO_BUILD=	yes
 DOCS=		CHANGELOG FAQ NEWS README TODO
 EXAMPLES=	test_archivemail examples/archivemail_all
 
+OPTIONS_DEFINE=	DOCS EXAMPLES
+
 do-install:
 	${INSTALL_SCRIPT} ${WRKSRC}/archivemail ${STAGEDIR}${PREFIX}/bin/archivemail
 	${INSTALL_MAN} ${WRKSRC}/archivemail.1 ${STAGEDIR}${MANPREFIX}/man/man1

Modified: head/mail/bmf/Makefile
==============================================================================
--- head/mail/bmf/Makefile	Wed Jul 16 02:59:57 2014	(r362022)
+++ head/mail/bmf/Makefile	Wed Jul 16 03:00:46 2014	(r362023)
@@ -12,8 +12,8 @@ COMMENT=	Fst Bayesian Mail Filter compat
 
 HAS_CONFIGURE=	yes
 
-OPTIONS_DEFINE=		BDB MYSQL DEBUG
-OPTIONS_DEFAULT=	BDB
+OPTIONS_DEFINE=	BDB MYSQL DEBUG DOCS
+OPTIONS_DEFAULT=BDB
 
 BDB_USE=	BDB=40+
 BDB_CONFIGURE_WITH=	libdb

Modified: head/mail/cone/Makefile
==============================================================================
--- head/mail/cone/Makefile	Wed Jul 16 02:59:57 2014	(r362022)
+++ head/mail/cone/Makefile	Wed Jul 16 03:00:46 2014	(r362023)
@@ -35,6 +35,8 @@ CONFIGURE_ENV=	REHASH="${PERL} ${SCRIPTD
 
 INSTALL_TARGET=	install-strip
 
+OPTIONS_DEFINE=	DOCS
+
 post-extract:
 		@${MKDIR} ${WRKDIR}/ncursesw
 		${LN} -s ${LOCALBASE}/include/ncurses/ncurses.h ${WRKDIR}/ncursesw/curses.h

Modified: head/mail/ez-pine-gpg/Makefile
==============================================================================
--- head/mail/ez-pine-gpg/Makefile	Wed Jul 16 02:59:57 2014	(r362022)
+++ head/mail/ez-pine-gpg/Makefile	Wed Jul 16 03:00:46 2014	(r362023)
@@ -17,6 +17,8 @@ RUN_DEPENDS=	gpg:${PORTSDIR}/security/gn
 WRKSRC=	${WRKDIR}/${PORTNAME}
 NO_BUILD=	yes
 
+OPTIONS_DEFINE=	DOCS
+
 do-install:
 	(cd ${WRKSRC} && ./install ${STAGEDIR}${PREFIX}/bin)
 

Modified: head/mail/maildrop/Makefile
==============================================================================
--- head/mail/maildrop/Makefile	Wed Jul 16 02:59:57 2014	(r362022)
+++ head/mail/maildrop/Makefile	Wed Jul 16 03:00:46 2014	(r362023)
@@ -60,7 +60,7 @@ OPTIONS_MULTI=		AUTHLIB
 AUTHLIB_DESC=		Courier Auth Library support
 .endif
 
-OPTIONS_DEFINE+=	DOVECOTAUTH FAM GDBM IDN MAILWRAPPER
+OPTIONS_DEFINE+=	DOVECOTAUTH FAM GDBM IDN MAILWRAPPER DOCS
 
 DOVECOTAUTH_DESC=	Dovecot Authentication support
 MAILWRAPPER_DESC=	Let configure guess which sendmail binary to use

Modified: head/mail/ruby-rfilter/Makefile
==============================================================================
--- head/mail/ruby-rfilter/Makefile	Wed Jul 16 02:59:57 2014	(r362022)
+++ head/mail/ruby-rfilter/Makefile	Wed Jul 16 03:00:46 2014	(r362023)
@@ -20,6 +20,8 @@ RUBY_SETUP=	install.rb
 
 DOCS=		NEWS README THANKS TODO doc
 
+OPTIONS_DEFINE=	DOCS
+
 post-extract:
 	${FIND} ${WRKSRC} -name '*~' -delete
 

Modified: head/mail/ruby-rmail/Makefile
==============================================================================
--- head/mail/ruby-rmail/Makefile	Wed Jul 16 02:59:57 2014	(r362022)
+++ head/mail/ruby-rmail/Makefile	Wed Jul 16 03:00:46 2014	(r362023)
@@ -18,6 +18,8 @@ RUBY_SETUP=	install.rb
 
 DOCS=		NEWS NOTES README THANKS TODO doc
 
+OPTIONS_DEFINE=	DOCS
+
 post-extract:
 	${FIND} ${WRKSRC} -name '*~' -delete
 

Modified: head/mail/squirrelmail-decode/Makefile
==============================================================================
--- head/mail/squirrelmail-decode/Makefile	Wed Jul 16 02:59:57 2014	(r362022)
+++ head/mail/squirrelmail-decode/Makefile	Wed Jul 16 03:00:46 2014	(r362023)
@@ -1,27 +1,29 @@
 # Created by: Adam Weinberger <adamw@FreeBSD.org>
 # $FreeBSD$
 
-PORTNAME=		squirrelmail-decode
+PORTNAME=	squirrelmail-decode
 PORTVERSION=	1.2
-CATEGORIES=		mail www
+CATEGORIES=	mail www
 MASTER_SITES=	SF/squirrelmail/decode/${PORTVERSION}
 DIST_SUBDIR=	squirrelmail
 
-MAINTAINER=		adamw@FreeBSD.org
-COMMENT=		Decoders to display extra character sets in SquirrelMail
+MAINTAINER=	adamw@FreeBSD.org
+COMMENT=	Decoders to display extra character sets in SquirrelMail
 
-LICENSE=		GPLv2
+LICENSE=	GPLv2
 
 RUN_DEPENDS=	${SQUIRRELDIR}/index.php:${PORTSDIR}/mail/squirrelmail
 
-USES=			tar:bzip2
-NO_BUILD=		yes
+USES=		tar:bzip2
+NO_BUILD=	yes
 
-DOCSDIR=		${PREFIX}/share/doc/squirrelmail/decode
+DOCSDIR=	${PREFIX}/share/doc/squirrelmail/decode
 
 # if you were using WITHOUT_WWWDIR, use SQUIRRELDIR=${PREFIX}/squirrelmail
 SQUIRRELDIR?=	${PREFIX}/www/squirrelmail
-PLIST_SUB=		SQUIRRELDIR="${SQUIRRELDIR:S,^${PREFIX}/,,}"
+PLIST_SUB=	SQUIRRELDIR="${SQUIRRELDIR:S,^${PREFIX}/,,}"
+
+OPTIONS_DEFINE=	DOCS
 
 do-install:
 	@${MKDIR} ${STAGEDIR}${SQUIRRELDIR}/functions/decode

Modified: head/mail/squirrelmail/Makefile
==============================================================================
--- head/mail/squirrelmail/Makefile	Wed Jul 16 02:59:57 2014	(r362022)
+++ head/mail/squirrelmail/Makefile	Wed Jul 16 03:00:46 2014	(r362023)
@@ -25,7 +25,7 @@ USES=		gettext tar:bzip2
 
 WRKSRC=		${WRKDIR}/${PORTNAME}.stable/${PORTNAME}
 
-OPTIONS_DEFINE=	DATABASE LDAP
+OPTIONS_DEFINE=	DATABASE LDAP DOCS
 DATABASE_DESC=	PEAR database support (must also install a driver)
 
 # if you were using WITHOUT_WWWDIR, use SQUIRRELDIR=${PREFIX}/squirrelmail
@@ -37,9 +37,9 @@ USERS=		${SMUSER}
 GROUPS=		${SMGROUP}
 
 PLIST_SUB=	PORTVERSION=${PORTVERSION} \
-			SQUIRRELDIR="${SQUIRRELDIR:S,^${PREFIX}/,,}" \
-			SMUSER=${SMUSER} \
-			SMGROUP=${SMGROUP}
+		SQUIRRELDIR="${SQUIRRELDIR:S,^${PREFIX}/,,}" \
+		SMUSER=${SMUSER} \
+		SMGROUP=${SMGROUP}
 
 SUB_FILES=	pkg-message
 SUB_LIST=	SQUIRRELDIR=${SQUIRRELDIR} SMUSER=${SMUSER} SMGROUP=${SMGROUP}

Modified: head/mail/tmda/Makefile
==============================================================================
--- head/mail/tmda/Makefile	Wed Jul 16 02:59:57 2014	(r362022)
+++ head/mail/tmda/Makefile	Wed Jul 16 03:00:46 2014	(r362023)
@@ -13,9 +13,8 @@ EXTRACT_SUFX=	.tgz
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Python-based SPAM reduction system
 
-.if defined(WITH_CDB)
-RUN_DEPENDS=	${PYTHON_SITELIBDIR}/cdbmodule.so:${PORTSDIR}/databases/py-cdb
-.endif
+OPTIONS_DEFINE=	CDB DOCS EXAMPLES
+CDB_RUN_DEPENDS=${PYTHON_SITELIBDIR}/cdbmodule.so:${PORTSDIR}/databases/py-cdb
 
 USE_PYTHON=	yes
 

Modified: head/mail/tmda/pkg-plist
==============================================================================
--- head/mail/tmda/pkg-plist	Wed Jul 16 02:59:57 2014	(r362022)
+++ head/mail/tmda/pkg-plist	Wed Jul 16 03:00:46 2014	(r362023)
@@ -100,33 +100,33 @@ bin/tmda-sendmail
 @dirrm %%PYTHON_SITELIBDIR%%/TMDA/pythonlib
 @dirrm %%PYTHON_SITELIBDIR%%/TMDA/Queue
 @dirrm %%PYTHON_SITELIBDIR%%/TMDA
-%%EXAMPLESDIR%%/collectaddys
-%%EXAMPLESDIR%%/def2html
-%%EXAMPLESDIR%%/dot-tmda/README
-%%EXAMPLESDIR%%/dot-tmda/config
-%%EXAMPLESDIR%%/dot-tmda/crypt_key
-%%EXAMPLESDIR%%/dot-tmda/filters/incoming
-%%EXAMPLESDIR%%/dot-tmda/filters/outgoing
-%%EXAMPLESDIR%%/dot-tmda/lists/blacklist
-%%EXAMPLESDIR%%/dot-tmda/lists/confirmed
-%%EXAMPLESDIR%%/dot-tmda/lists/whitelist
-%%EXAMPLESDIR%%/printcdb
-%%EXAMPLESDIR%%/printdbm
-%%EXAMPLESDIR%%/sendit.sh
-%%EXAMPLESDIR%%/smtp-check-sender
-%%EXAMPLESDIR%%/tmda.el
-%%EXAMPLESDIR%%/tofmipd.init
-%%EXAMPLESDIR%%/tofmipd.sysconfig
-%%EXAMPLESDIR%%/update-internaldomains
-%%EXAMPLESDIR%%/vadduser-tmda
-%%EXAMPLESDIR%%/vmailmgr-vdir.sh
-%%EXAMPLESDIR%%/vpopmail-vdir.sh
-%%EXAMPLESDIR%%/vtmdarc
-%%EXAMPLESDIR%%/wrapfd3.sh
-@dirrm %%EXAMPLESDIR%%/dot-tmda/lists
-@dirrm %%EXAMPLESDIR%%/dot-tmda/filters
-@dirrm %%EXAMPLESDIR%%/dot-tmda
-@dirrm %%EXAMPLESDIR%%
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/collectaddys
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/def2html
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/dot-tmda/README
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/dot-tmda/config
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/dot-tmda/crypt_key
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/dot-tmda/filters/incoming
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/dot-tmda/filters/outgoing
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/dot-tmda/lists/blacklist
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/dot-tmda/lists/confirmed
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/dot-tmda/lists/whitelist
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/printcdb
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/printdbm
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/sendit.sh
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/smtp-check-sender
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tmda.el
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tofmipd.init
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tofmipd.sysconfig
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/update-internaldomains
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/vadduser-tmda
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/vmailmgr-vdir.sh
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/vpopmail-vdir.sh
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/vtmdarc
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/wrapfd3.sh
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/dot-tmda/lists
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/dot-tmda/filters
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/dot-tmda
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
 %%DATADIR%%/bounce_expired_dated.txt
 %%DATADIR%%/bounce_fail_dated.txt
 %%DATADIR%%/bounce_fail_keyword.txt

Modified: head/math/diehard/Makefile
==============================================================================
--- head/math/diehard/Makefile	Wed Jul 16 02:59:57 2014	(r362022)
+++ head/math/diehard/Makefile	Wed Jul 16 03:00:46 2014	(r362023)
@@ -17,6 +17,8 @@ PLIST_SUB=	DOCSDIR="share/doc/${PORTNAME
 
 DOCSLIST=	NOTES readme
 
+OPTIONS_DEFINE=	DOCS
+
 post-patch:
 	@${REINPLACE_CMD} -e 's|operm5\.cov|${DATADIR}/operm5.cov|g;' \
 		${WRKSRC}/cdoperm5.c

Modified: head/math/ocamlgsl/Makefile
==============================================================================
--- head/math/ocamlgsl/Makefile	Wed Jul 16 02:59:57 2014	(r362022)
+++ head/math/ocamlgsl/Makefile	Wed Jul 16 03:00:46 2014	(r362023)
@@ -25,6 +25,8 @@ HAS_CONFIGURE=		YES
 MAKE_JOBS_UNSAFE=	yes
 WRKSRC=			${WRKDIR}/gsl-ocaml-${PORTVERSION}
 
+OPTIONS_DEFINE=	DOCS
+
 post-configure:
 	@${ECHO_CMD} 'stagedir="${STAGEDIR}"' >> ${WRKSRC}/setup.data
 	@${ECHO_CMD} 'docdir="$$datarootdir/doc/ocaml/$$pkg_name"' >> ${WRKSRC}/setup.data

Modified: head/math/parmgridgen/Makefile
==============================================================================
--- head/math/parmgridgen/Makefile	Wed Jul 16 02:59:57 2014	(r362022)
+++ head/math/parmgridgen/Makefile	Wed Jul 16 03:00:46 2014	(r362023)
@@ -19,6 +19,8 @@ LIB_DEPENDS+=	libmpi.so:${PORTSDIR}/net/
 USES=		gmake
 MAKE_JOBS_UNSAFE=	yes
 
+OPTIONS_DEFINE=	DOCS
+
 post-patch:
 	@${REINPLACE_CMD} 's|make|$$(MAKE)|g' ${WRKSRC}/Makefile
 #respect CFLAGS

Modified: head/math/pecl-big_int/Makefile
==============================================================================
--- head/math/pecl-big_int/Makefile	Wed Jul 16 02:59:57 2014	(r362022)
+++ head/math/pecl-big_int/Makefile	Wed Jul 16 03:00:46 2014	(r362023)
@@ -21,6 +21,8 @@ EXAMPLES=	bitset.php example.php rand.ph
 
 CONFIGURE_ARGS=	--enable-big-int=shared
 
+OPTIONS_DEFINE=	DOCS EXAMPLES
+
 post-install:
 	${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${MKDIR} ${STAGEDIR}${EXAMPLESDIR}

Modified: head/math/pecl-big_int/pkg-plist
==============================================================================
--- head/math/pecl-big_int/pkg-plist	Wed Jul 16 02:59:57 2014	(r362022)
+++ head/math/pecl-big_int/pkg-plist	Wed Jul 16 03:00:46 2014	(r362023)
@@ -3,10 +3,10 @@
 %%PORTDOCS%%%%DOCSDIR%%/LICENSE
 %%PORTDOCS%%%%DOCSDIR%%/README
 %%PORTDOCS%%%%DOCSDIR%%/index.html
-%%PORTDOCS%%%%EXAMPLESDIR%%/RSA.php
-%%PORTDOCS%%%%EXAMPLESDIR%%/bitset.php
-%%PORTDOCS%%%%EXAMPLESDIR%%/example.php
-%%PORTDOCS%%%%EXAMPLESDIR%%/rand.php
-%%PORTDOCS%%%%EXAMPLESDIR%%/std_header.php
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/RSA.php
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/bitset.php
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example.php
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/rand.php
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/std_header.php
 %%PORTDOCS%%@dirrm %%DOCSDIR%%
-%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%

Modified: head/math/py-nzmath/Makefile
==============================================================================
--- head/math/py-nzmath/Makefile	Wed Jul 16 02:59:57 2014	(r362022)
+++ head/math/py-nzmath/Makefile	Wed Jul 16 03:00:46 2014	(r362023)
@@ -15,6 +15,8 @@ USE_PYTHON=		yes
 USE_PYDISTUTILS=	yes
 PYDISTUTILS_PKGNAME=	NZMATH
 
+OPTIONS_DEFINE=	DOCS
+
 post-install:
 	@${MKDIR} ${STAGEDIR}${DATADIR}
 	${INSTALL_DATA} ${WRKSRC}/data/discriminant.csv ${STAGEDIR}${DATADIR}

Modified: head/math/py-scientific/Makefile
==============================================================================
--- head/math/py-scientific/Makefile	Wed Jul 16 02:59:57 2014	(r362022)
+++ head/math/py-scientific/Makefile	Wed Jul 16 03:00:46 2014	(r362023)
@@ -23,6 +23,8 @@ PYDISTUTILS_AUTOPLIST=	yes
 DOCSDIR=	${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
 EXAMPLESDIR=	${PREFIX}/share/examples/${PKGNAMEPREFIX}${PORTNAME}
 
+OPTIONS_DEFINE=	DOCS EXAMPLES
+
 post-install:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${WRKSRC}/LICENSE ${STAGEDIR}${DOCSDIR}

Modified: head/math/ruby-fftw3/Makefile
==============================================================================
--- head/math/ruby-fftw3/Makefile	Wed Jul 16 02:59:57 2014	(r362022)
+++ head/math/ruby-fftw3/Makefile	Wed Jul 16 03:00:46 2014	(r362023)
@@ -29,6 +29,8 @@ CONFIGURE_ARGS+=	--with-narray-include=$
 
 DOCS=		LICENSE.txt doc/*
 
+OPTIONS_DEFINE=	DOCS
+
 post-install:
 	${MKDIR} ${STAGEDIR}${RUBY_MODDOCDIR}
 .for f in ${DOCS}

Modified: head/math/ruby-gsl/Makefile
==============================================================================
--- head/math/ruby-gsl/Makefile	Wed Jul 16 02:59:57 2014	(r362022)
+++ head/math/ruby-gsl/Makefile	Wed Jul 16 03:00:46 2014	(r362023)
@@ -24,6 +24,8 @@ CONFIGURE_ARGS=	-- --with-opt-dir="${LOC
 
 DOCS=		AUTHORS ChangeLog THANKS rdoc
 
+OPTIONS_DEFINE=	DOCS
+
 post-extract:
 	${FIND} ${WRKSRC} '(' -name '.DS_Store' -o -name '*~' ')' -delete
 

Modified: head/math/ruby-narray/Makefile
==============================================================================
--- head/math/ruby-narray/Makefile	Wed Jul 16 02:59:57 2014	(r362022)
+++ head/math/ruby-narray/Makefile	Wed Jul 16 03:00:46 2014	(r362023)
@@ -24,6 +24,8 @@ MAKE_ARGS=	INSTALL_PROG="${INSTALL_PROGR
 DOC_EN=		ChangeLog	README.en	SPEC.en
 DOC_JA=		README.ja	SPEC.ja
 
+OPTIONS_DEFINE=	DOCS
+
 post-install:
 	${MKDIR} ${STAGEDIR}${RUBY_MODDOCDIR}/ja
 .for f in ${DOC_EN}

Modified: head/misc/getopt/Makefile
==============================================================================
--- head/misc/getopt/Makefile	Wed Jul 16 02:59:57 2014	(r362022)
+++ head/misc/getopt/Makefile	Wed Jul 16 03:00:46 2014	(r362023)
@@ -17,6 +17,8 @@ MAKE_ENV+=	LIBCGETOPT=0
 
 DOCS=		Changelog README
 
+OPTIONS_DEFINE=	DOCS
+
 post-patch:
 	${REINPLACE_CMD} -e 's|CC=gcc|CC=${CC}|' ${WRKSRC}/Makefile
 

Modified: head/misc/linm/Makefile
==============================================================================
--- head/misc/linm/Makefile	Wed Jul 16 02:59:57 2014	(r362022)
+++ head/misc/linm/Makefile	Wed Jul 16 03:00:46 2014	(r362023)
@@ -26,7 +26,7 @@ INSTALL_TARGET=	install-strip
 CPPFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib
 
-OPTIONS_DEFINE=	SMB
+OPTIONS_DEFINE=	SMB DOCS
 
 .include <bsd.port.options.mk>
 

Modified: head/misc/ruby-progressbar/Makefile
==============================================================================
--- head/misc/ruby-progressbar/Makefile	Wed Jul 16 02:59:57 2014	(r362022)
+++ head/misc/ruby-progressbar/Makefile	Wed Jul 16 03:00:46 2014	(r362023)
@@ -18,6 +18,8 @@ NO_BUILD=	yes
 RUBY_RD_FILES=	progressbar.en.rd progressbar.ja.rd
 DOCS=	ChangeLog ${RUBY_RD_FILES}
 
+OPTIONS_DEFINE=	DOCS
+
 do-install:
 	${MKDIR} ${STAGEDIR}${RUBY_SITELIBDIR}
 	${INSTALL_DATA} ${INSTALL_WRKSRC}/${PORTNAME}.rb ${STAGEDIR}${RUBY_SITELIBDIR}

Modified: head/misc/tcb/Makefile
==============================================================================
--- head/misc/tcb/Makefile	Wed Jul 16 02:59:57 2014	(r362022)
+++ head/misc/tcb/Makefile	Wed Jul 16 03:00:46 2014	(r362023)
@@ -13,6 +13,8 @@ COMMENT=	File viewer for terminal
 
 USES=		gmake
 
+OPTIONS_DEFINE=	DOCS
+
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/src/tcb ${STAGEDIR}${PREFIX}/bin
 	@${MKDIR} ${STAGEDIR}${PREFIX}/share/tcb

Modified: head/misc/terraform/Makefile
==============================================================================
--- head/misc/terraform/Makefile	Wed Jul 16 02:59:57 2014	(r362022)
+++ head/misc/terraform/Makefile	Wed Jul 16 03:00:46 2014	(r362023)
@@ -28,7 +28,7 @@ GNU_CONFIGURE=	yes
 CPPFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib
 
-OPTIONS_DOCS=	DOCS
+OPTIONS_DEFINE=	DOCS
 
 post-patch:
 	@${REINPLACE_CMD} -e '/^SUBDIRS/s| desktop-links docs | |' \

Modified: head/misc/wmScoreBoard/Makefile
==============================================================================
--- head/misc/wmScoreBoard/Makefile	Wed Jul 16 02:59:57 2014	(r362022)
+++ head/misc/wmScoreBoard/Makefile	Wed Jul 16 03:00:46 2014	(r362023)
@@ -20,6 +20,8 @@ USE_XORG=	xpm
 USES=		gmake shebangfix
 SHEBANG_FILES=	GrabScores.excite
 
+OPTIONS_DEFINE=	DOCS
+
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/wmScoreBoard ${STAGEDIR}${PREFIX}/bin
 	${INSTALL_SCRIPT} ${WRKSRC}/GrabScores.excite ${STAGEDIR}${PREFIX}/bin

Modified: head/misc/xiphos/Makefile
==============================================================================
--- head/misc/xiphos/Makefile	Wed Jul 16 02:59:57 2014	(r362022)
+++ head/misc/xiphos/Makefile	Wed Jul 16 03:00:46 2014	(r362023)
@@ -24,6 +24,8 @@ INSTALLS_OMF=	yes
 INSTALLS_ICONS=	yes
 USE_GNOME=	gnomehack gnomeprefix gtkhtml3 intlhack libgsf
 
+OPTIONS_DEFINE=	DOCS
+
 do-configure:
 	@cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ./waf configure \
 		--prefix=${STAGEDIR}${PREFIX} --destdir=${STAGEDIR}${PREFIX} \

Modified: head/misc/ytree/Makefile
==============================================================================
--- head/misc/ytree/Makefile	Wed Jul 16 02:59:57 2014	(r362022)
+++ head/misc/ytree/Makefile	Wed Jul 16 03:00:46 2014	(r362023)
@@ -11,6 +11,8 @@ COMMENT=	DOS-XTREE(tm) look-a-like file 
 
 ALL_TARGET=	ytree
 
+OPTIONS_DEFINE=	DOCS
+
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/ytree ${STAGEDIR}${PREFIX}/bin
 	${INSTALL_DATA} ${WRKSRC}/ytree.conf ${STAGEDIR}${PREFIX}/etc/ytree.conf.sample

Modified: head/multimedia/arista/Makefile
==============================================================================
--- head/multimedia/arista/Makefile	Wed Jul 16 02:59:57 2014	(r362022)
+++ head/multimedia/arista/Makefile	Wed Jul 16 03:00:46 2014	(r362023)
@@ -16,6 +16,8 @@ USE_GNOME=	pygnomedesktop
 USE_PYTHON=	yes
 USE_PYDISTUTILS=	yes
 
+OPTIONS_DEFINE=	DOCS
+
 post-patch:
 	@${REINPLACE_CMD} -e 's|Icon=.*|Icon=arista.svg|g' \
 		${WRKSRC}/arista.desktop

Modified: head/multimedia/camserv/Makefile
==============================================================================
--- head/multimedia/camserv/Makefile	Wed Jul 16 02:59:57 2014	(r362022)
+++ head/multimedia/camserv/Makefile	Wed Jul 16 03:00:46 2014	(r362023)
@@ -23,7 +23,7 @@ INSTALL_TARGET=	install-strip
 CPPFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib
 
-OPTIONS_DEFINE=	IMLIB2 PIXBUF V4L
+OPTIONS_DEFINE=	IMLIB2 PIXBUF V4L DOCS
 OPTIONS_DEFAULT=IMLIB2
 OPTIONS_SUB=	yes
 

Modified: head/multimedia/ffmpeg0/Makefile
==============================================================================
--- head/multimedia/ffmpeg0/Makefile	Wed Jul 16 02:59:57 2014	(r362022)
+++ head/multimedia/ffmpeg0/Makefile	Wed Jul 16 03:00:46 2014	(r362023)
@@ -43,7 +43,7 @@ DOCSDIR=	${PREFIX}/share/doc/${PORTNAME}
 OPTIONS_DEFINE=	AACPLUS ALSA AMR_NB AMR_WB CELT DEBUG DIRAC FAAC \
 		FFSERVER FREETYPE FREI0R GSM LAME OPENCV OPENJPEG \
 		OPTIMIZED_CFLAGS RTMP SCHROEDINGER SDL SPEEX THEORA VAAPI \
-		VDPAU VO_AACENC VO_AMRWBENC VORBIS VPX X11GRAB X264 XVID
+		VDPAU VO_AACENC VO_AMRWBENC VORBIS VPX X11GRAB X264 XVID DOCS
 
 OPTIONS_DEFAULT=	FFSERVER FREETYPE FREI0R OPENCV SCHROEDINGER THEORA \
 			VORBIS VPX X264 XVID

Modified: head/multimedia/gmerlin-avdecoder/Makefile
==============================================================================
--- head/multimedia/gmerlin-avdecoder/Makefile	Wed Jul 16 02:59:57 2014	(r362022)
+++ head/multimedia/gmerlin-avdecoder/Makefile	Wed Jul 16 03:00:46 2014	(r362023)
@@ -17,7 +17,7 @@ LIB_DEPENDS=	libgavl.so:${PORTSDIR}/mult
 
 OPTIONS_DEFINE=	A52 CDIO DCA DVDREAD FAAD FFMPEG FLAC GMERLIN MAD \
 		MJPEGTOOLS MPEG2 MUSEPACK OPENJPEG OPTIMIZED_CFLAGS PNG \
-		SAMBA SCHROEDINGER SPEEX THEORA TIFF VDPAU VORBIS
+		SAMBA SCHROEDINGER SPEEX THEORA TIFF VDPAU VORBIS DOCS
 OPTIONS_DEFAULT=	A52 CDIO DCA DVDREAD FAAD FFMPEG FLAC GMERLIN MAD \
 		MJPEGTOOLS MPEG2 MUSEPACK OPENJPEG OPTIMIZED_CFLAGS PNG \
 		SAMBA SCHROEDINGER SPEEX THEORA TIFF VDPAU VORBIS

Modified: head/multimedia/gmerlin/Makefile
==============================================================================
--- head/multimedia/gmerlin/Makefile	Wed Jul 16 02:59:57 2014	(r362022)
+++ head/multimedia/gmerlin/Makefile	Wed Jul 16 03:00:46 2014	(r362023)
@@ -34,7 +34,7 @@ LDFLAGS+=	-L${LOCALBASE}/lib `pkg-config
 INFO=		gmerlin
 
 OPTIONS_DEFINE= 	ALSA CDDB CDIO ESOUND JACK JPEG LIBVISUAL \
-			OPTIMIZED_CFLAGS PNG PULSEAUDIO QUICKTIME TIFF
+			OPTIMIZED_CFLAGS PNG PULSEAUDIO QUICKTIME TIFF DOCS
 OPTIONS_DEFAULT=	CDDB CDIO JACK JPEG LIBVISUAL \
 			OPTIMIZED_CFLAGS PNG PULSEAUDIO QUICKTIME TIFF
 OPTIONS_SUB=		yes

Modified: head/multimedia/libdvdcss/Makefile
==============================================================================
--- head/multimedia/libdvdcss/Makefile	Wed Jul 16 02:59:57 2014	(r362022)
+++ head/multimedia/libdvdcss/Makefile	Wed Jul 16 03:00:46 2014	(r362023)
@@ -17,7 +17,7 @@ INSTALL_TARGET=	install-strip
 USES=		gmake libtool pathfix tar:bzip2
 USE_LDCONFIG=	yes
 
-OPTIONS_DEFINE=	DOXYGEN
+OPTIONS_DEFINE=	DOXYGEN DOCS
 
 .include <bsd.port.options.mk>
 

Modified: head/multimedia/lxdvdrip/Makefile
==============================================================================
--- head/multimedia/lxdvdrip/Makefile	Wed Jul 16 02:59:57 2014	(r362022)
+++ head/multimedia/lxdvdrip/Makefile	Wed Jul 16 03:00:46 2014	(r362023)
@@ -46,6 +46,8 @@ DOCS=	Changelog.de Changelog.en Changelo
 		README.dvdwizard.DE README.dvdwizard.EN README.dvdwizard.FR \
 		TODO freebsd.doc
 
+OPTIONS_DEFINE=	DOCS EXAMPLES
+
 post-patch:
 	@${REINPLACE_CMD} -E \
 		-e 's|playwave[[:space:]]+-r[[:space:]]+|wavplay -s|' \

Modified: head/multimedia/lxdvdrip/pkg-plist
==============================================================================
--- head/multimedia/lxdvdrip/pkg-plist	Wed Jul 16 02:59:57 2014	(r362022)
+++ head/multimedia/lxdvdrip/pkg-plist	Wed Jul 16 03:00:46 2014	(r362023)
@@ -7,9 +7,9 @@ bin/vamps_lxdvdrip
 etc/lxdvdrip.conf.sample
 @exec [ -f %B/lxdvdrip.conf ] || cp %B/%f %B/lxdvdrip.conf
 %%DATADIR%%/lxdvdrip.wav
-%%EXAMPLESDIR%%/lxdvdrip.conf.DE
-%%EXAMPLESDIR%%/lxdvdrip.conf.EN
-%%EXAMPLESDIR%%/lxdvdrip.conf.FR
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lxdvdrip.conf.DE
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lxdvdrip.conf.EN
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lxdvdrip.conf.FR
 man/man1/lxdvdrip.1.gz
 %%PORTDOCS%%%%DOCSDIR%%/Changelog.de
 %%PORTDOCS%%%%DOCSDIR%%/Changelog.en
@@ -24,4 +24,4 @@ man/man1/lxdvdrip.1.gz
 %%PORTDOCS%%%%DOCSDIR%%/freebsd.doc
 %%PORTDOCS%%@dirrm %%DOCSDIR%%
 @dirrm %%DATADIR%%
-@dirrm %%EXAMPLESDIR%%
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%

Modified: head/multimedia/subtitleripper/Makefile
==============================================================================
--- head/multimedia/subtitleripper/Makefile	Wed Jul 16 02:59:57 2014	(r362022)
+++ head/multimedia/subtitleripper/Makefile	Wed Jul 16 03:00:46 2014	(r362023)
@@ -41,6 +41,8 @@ PROGRAM_FILES=	\
 SCRIPT_FILES=	\
 		pgm2txt
 
+OPTIONS_DEFINE=	DOCS EXAMPLES
+
 post-patch:
 	@${REINPLACE_CMD} -E \
 		-e 's|^(CC[[:space:]]*=).*$$|\1${CC}|' \

Modified: head/multimedia/universal-media-server/Makefile
==============================================================================
--- head/multimedia/universal-media-server/Makefile	Wed Jul 16 02:59:57 2014	(r362022)
+++ head/multimedia/universal-media-server/Makefile	Wed Jul 16 03:00:46 2014	(r362023)
@@ -17,7 +17,7 @@ JAVA_VERSION=	1.7+
 JAVA_VENDOR=	openjdk
 JAVA_RUN=	true
 
-OPTIONS_DEFINE=		MEDIAINFO FLAC DCRAW TSMUXER FFMPEG MPLAYER VLC MENCODER
+OPTIONS_DEFINE=		MEDIAINFO FLAC DCRAW TSMUXER FFMPEG MPLAYER VLC MENCODER DOCS
 OPTIONS_DEFAULT=	MEDIAINFO FLAC DCRAW
 
 MEDIAINFO_DESC=		Metadata information about video & audio files

Modified: head/multimedia/xbmc/Makefile
==============================================================================
--- head/multimedia/xbmc/Makefile	Wed Jul 16 02:59:57 2014	(r362022)
+++ head/multimedia/xbmc/Makefile	Wed Jul 16 03:00:46 2014	(r362023)
@@ -76,7 +76,7 @@ DESKTOP_ENTRIES="XBMC" \
 WRKSRC=	${WRKDIR}/${PORTNAME}-${DISTVERSION}-Gotham
 
 OPTIONS_SUB=	yes
-OPTIONS_DEFINE=	AIRPLAY AIRTUNES AVAHI CEC LAME \
+OPTIONS_DEFINE=	AIRPLAY AIRTUNES AVAHI CEC DOCS LAME \
 		LIBBLURAY HAL LIRC MYSQL NONFREE PULSEAUDIO RTMP SFTP \
 		SMB VAAPI VDPAU VORBIS WEBSERVER XRANDR
 AIRPLAY_DESC=	AirPlay support via libplist

Modified: head/multimedia/y4mscaler/Makefile
==============================================================================
--- head/multimedia/y4mscaler/Makefile	Wed Jul 16 02:59:57 2014	(r362022)
+++ head/multimedia/y4mscaler/Makefile	Wed Jul 16 03:00:46 2014	(r362023)
@@ -21,6 +21,8 @@ USES=		gmake
 WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
 DOCS=		COPYING ChangeLog INSTALL README TODO
 
+OPTIONS_DEFINE=	DOCS
+
 post-patch:
 	@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' \
 		${WRKSRC}/Makefile

Modified: head/net-im/climm/Makefile
==============================================================================
--- head/net-im/climm/Makefile	Wed Jul 16 02:59:57 2014	(r362022)
+++ head/net-im/climm/Makefile	Wed Jul 16 03:00:46 2014	(r362023)
@@ -16,7 +16,7 @@ USES=		gmake pkgconfig
 GNU_CONFIGURE=	yes
 LDFLAGS+=	-L${LOCALBASE}/lib
 
-OPTIONS_DEFINE=	ICONV P2P TCL OTR REMOTE XMPP
+OPTIONS_DEFINE=	ICONV P2P TCL OTR REMOTE XMPP DOCS
 OPTIONS_DEFAULT=ICONV P2P TCL OTR REMOTE
 P2P_DESC=	Enable Peer2peer connection support
 OTR_DESC=	Enable OTR encryption support

Modified: head/net-im/jabber/Makefile
==============================================================================
--- head/net-im/jabber/Makefile	Wed Jul 16 02:59:57 2014	(r362022)
+++ head/net-im/jabber/Makefile	Wed Jul 16 03:00:46 2014	(r362023)
@@ -22,7 +22,7 @@ LIB_DEPENDS=	libpopt.so:${PORTSDIR}/deve
 		libgnutls.so:${PORTSDIR}/security/gnutls \
 		libexpat.so:${PORTSDIR}/textproc/expat2
 
-OPTIONS_DEFINE= IPV6 MYSQL PGSQL
+OPTIONS_DEFINE= IPV6 MYSQL PGSQL DOCS
 
 GNU_CONFIGURE=	yes
 INSTALL_TARGET=	install-strip

Modified: head/net-mgmt/argus3-clients/Makefile
==============================================================================
--- head/net-mgmt/argus3-clients/Makefile	Wed Jul 16 02:59:57 2014	(r362022)
+++ head/net-mgmt/argus3-clients/Makefile	Wed Jul 16 03:00:46 2014	(r362023)
@@ -15,7 +15,7 @@ LICENSE=	GPLv3
 
 CONFLICTS=	argus-clients-2* argus-clients-sasl-2*
 
-OPTIONS_DEFINE=	GEOIP MYSQL SASL
+OPTIONS_DEFINE=	GEOIP MYSQL SASL DOCS
 OPTIONS_DEFAULT=MYSQL SASL
 
 USES=		bison ncurses perl5

Modified: head/net-mgmt/gps/Makefile
==============================================================================
--- head/net-mgmt/gps/Makefile	Wed Jul 16 02:59:57 2014	(r362022)
+++ head/net-mgmt/gps/Makefile	Wed Jul 16 03:00:46 2014	(r362023)
@@ -20,6 +20,8 @@ USES=		gmake
 
 LIBNET_CONFIG?=	${LOCALBASE}/bin/libnet10-config
 
+OPTIONS_DEFINE=	DOCS
+
 post-patch:
 	@${REINPLACE_CMD} -e \
 		's|-Wall -O3|${CFLAGS}|; \

Modified: head/net-mgmt/icinga2/Makefile
==============================================================================
--- head/net-mgmt/icinga2/Makefile	Wed Jul 16 02:59:57 2014	(r362022)
+++ head/net-mgmt/icinga2/Makefile	Wed Jul 16 03:00:46 2014	(r362023)
@@ -20,6 +20,7 @@ USE_LDCONFIG=	yes
 
 USE_RC_SUBR=	${PORTNAME}
 
+OPTIONS_DEFINE=		DOCS
 OPTIONS_SINGLE=		BACKEND
 OPTIONS_SINGLE_BACKEND=	MYSQL PGSQL
 

Modified: head/net-mgmt/nagiosgraph/Makefile
==============================================================================
--- head/net-mgmt/nagiosgraph/Makefile	Wed Jul 16 02:59:57 2014	(r362022)
+++ head/net-mgmt/nagiosgraph/Makefile	Wed Jul 16 03:00:46 2014	(r362023)
@@ -12,6 +12,7 @@ COMMENT=	Generate rrdtool graphs using p
 
 RUN_DEPENDS=	rrdtool>=0:${PORTSDIR}/databases/rrdtool
 
+OPTIONS_DEFINE=		DOCS
 OPTIONS_SINGLE=		NAGIOS
 OPTIONS_SINGLE_NAGIOS=	NAGIOS35 NAGIOS4
 OPTIONS_DEFAULT=	NAGIOS35

Modified: head/net-mgmt/p5-SNMP_Session/Makefile
==============================================================================
--- head/net-mgmt/p5-SNMP_Session/Makefile	Wed Jul 16 02:59:57 2014	(r362022)
+++ head/net-mgmt/p5-SNMP_Session/Makefile	Wed Jul 16 03:00:46 2014	(r362023)
@@ -17,7 +17,7 @@ USE_PERL5=	configure
 
 DOCSDIR=	${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
 
-.include <bsd.port.options.mk>
+OPTIONS_DEFINE=	DOCS
 
 post-patch:
 	${RM} ${WRKSRC}/lib/SNMP_Session.pm.orig

Modified: head/net-mgmt/pancho/Makefile
==============================================================================
--- head/net-mgmt/pancho/Makefile	Wed Jul 16 02:59:57 2014	(r362022)
+++ head/net-mgmt/pancho/Makefile	Wed Jul 16 03:00:46 2014	(r362023)
@@ -20,6 +20,8 @@ USE_PERL5=	configure
 
 DOCS=		README README.plugins Plugin.sample
 
+OPTIONS_DEFINE=	DOCS
+
 post-patch:
 	@${MV} ${WRKSRC}/lib/Pancho/Plugins/README ${WRKSRC}/README.plugins
 	@${MV} ${WRKSRC}/lib/Pancho/Plugins/Plugin.sample ${WRKSRC}/

Modified: head/net-mgmt/sx/Makefile
==============================================================================
--- head/net-mgmt/sx/Makefile	Wed Jul 16 02:59:57 2014	(r362022)
+++ head/net-mgmt/sx/Makefile	Wed Jul 16 03:00:46 2014	(r362023)
@@ -21,7 +21,7 @@ CONFIGURE_ARGS=	CPPFLAGS="-I${LOCALBASE}
 		LDFLAGS="-L${LOCALBASE}/lib" --prefix="${STAGE}${PREFIX}" \
 		--sysconfdir="${ETCDIR}"
 
-OPTIONS_DEFINE=	SXSERVER
+OPTIONS_DEFINE=	SXSERVER DOCS
 SXSERVER_DESC=	Enable sxhttpd server
 OPTIONS_DEFAULT=SXSERVER
 

Modified: head/net-p2p/py-py2play/Makefile
==============================================================================
--- head/net-p2p/py-py2play/Makefile	Wed Jul 16 02:59:57 2014	(r362022)
+++ head/net-p2p/py-py2play/Makefile	Wed Jul 16 03:00:46 2014	(r362023)
@@ -20,6 +20,8 @@ USE_PYDISTUTILS=	yes
 PYDISTUTILS_PKGNAME=	Py2Play
 EXAMPLESDIR=	${PREFIX}/share/examples/py-py2play
 
+OPTIONS_DEFINE=	DOCS EXAMPLES
+
 post-install:
 	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
 	${INSTALL_DATA} ${WRKSRC}/startdemo ${STAGEDIR}${EXAMPLESDIR}

Modified: head/net-p2p/transmission-cli/Makefile
==============================================================================
--- head/net-p2p/transmission-cli/Makefile	Wed Jul 16 02:59:57 2014	(r362022)
+++ head/net-p2p/transmission-cli/Makefile	Wed Jul 16 03:00:46 2014	(r362023)
@@ -23,7 +23,7 @@ LICENSE_FILE=	${WRKSRC}/COPYING
 
 CONFLICTS_INSTALL=	${PORTNAME}${PKGNAMESUFFIX}-2.5*
 
-OPTIONS_DEFINE=	LITE
+OPTIONS_DEFINE=	LITE DOCS
 
 .include <bsd.port.options.mk>
 

Modified: head/net/aslookup/Makefile
==============================================================================
--- head/net/aslookup/Makefile	Wed Jul 16 02:59:57 2014	(r362022)
+++ head/net/aslookup/Makefile	Wed Jul 16 03:00:46 2014	(r362023)
@@ -11,6 +11,8 @@ DISTNAME=	${PORTNAME}-alpha${PORTVERSION
 MAINTAINER=	jmohacsi@bsd.hu
 COMMENT=	Tool that searches the sequence of AS numbers
 
+OPTIONS_DEFINE=	DOCS
+
 post-patch:
 	@${REINPLACE_CMD} -E -e "s|CFLAGS.*=|CFLAGS +=|" \
 		-e "s|CC.*=|CC ?=|" ${WRKSRC}/Makefile

Modified: head/net/bmon/Makefile
==============================================================================
--- head/net/bmon/Makefile	Wed Jul 16 02:59:57 2014	(r362022)
+++ head/net/bmon/Makefile	Wed Jul 16 03:00:46 2014	(r362023)
@@ -24,4 +24,6 @@ USE_AUTOTOOLS=	libtoolize autoheader aut
 AUTOMAKE_ARGS+=	--add-missing
 GNU_CONFIGURE=	yes
 
+OPTIONS_DEFINE=	DOCS
+
 .include <bsd.port.mk>

Modified: head/net/haproxy-devel/Makefile
==============================================================================
--- head/net/haproxy-devel/Makefile	Wed Jul 16 02:59:57 2014	(r362022)
+++ head/net/haproxy-devel/Makefile	Wed Jul 16 03:00:46 2014	(r362023)
@@ -20,7 +20,7 @@ CONFLICTS=	haproxy-[1234567890]\*
 USE_RC_SUBR=	haproxy
 SUB_FILES=	pkg-message
 
-OPTIONS_DEFINE=		PCRE OPENSSL
+OPTIONS_DEFINE=		PCRE OPENSSL DOCS
 OPTIONS_SINGLE=		PCRE
 OPTIONS_SINGLE_PCRE=	DPCRE SPCRE
 DPCRE_DESC=		Link dynamically

Modified: head/net/haproxy/Makefile
==============================================================================
--- head/net/haproxy/Makefile	Wed Jul 16 02:59:57 2014	(r362022)
+++ head/net/haproxy/Makefile	Wed Jul 16 03:00:46 2014	(r362023)
@@ -18,7 +18,7 @@ USES=		gmake
 USE_RC_SUBR=	haproxy
 SUB_FILES=	pkg-message
 
-OPTIONS_DEFINE=		OPENSSL
+OPTIONS_DEFINE=		OPENSSL DOCS
 OPTIONS_RADIO=		PCRE
 OPTIONS_RADIO_PCRE=	DPCRE SPCRE
 DPCRE_DESC=		Link dynamically

Modified: head/net/ipsvd/Makefile
==============================================================================
--- head/net/ipsvd/Makefile	Wed Jul 16 02:59:57 2014	(r362022)
+++ head/net/ipsvd/Makefile	Wed Jul 16 03:00:46 2014	(r362023)
@@ -14,6 +14,8 @@ ALL_TARGET=	default
 
 DOCS=		package/CHANGES package/COPYING package/README doc/*.html
 
+OPTIONS_DEFINE=	DOCS
+
 do-configure:
 	@${ECHO_CMD} "${CC} ${CFLAGS}" > ${WRKSRC}/src/conf-cc
 	@${ECHO_CMD} "${CC} ${LDFLAGS}" > ${WRKSRC}/src/conf-ld
@@ -30,6 +32,6 @@ do-install:
 	${INSTALL_MAN} ${WRKSRC}/man/*.${n} ${STAGEDIR}${MANPREFIX}/man/man${n}
 .endfor
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
-	cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR}
+	(cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR})
 
 .include <bsd.port.mk>

Modified: head/net/libnids/Makefile
==============================================================================
--- head/net/libnids/Makefile	Wed Jul 16 02:59:57 2014	(r362022)
+++ head/net/libnids/Makefile	Wed Jul 16 03:00:46 2014	(r362023)
@@ -16,7 +16,7 @@ LICENSE=	GPLv2
 
 CONFLICTS?=	libnids-libnet11-[0-9]*
 
-OPTIONS_DEFINE=	GLIB2
+OPTIONS_DEFINE=	GLIB2 DOCS
 OPTIONS_DEFAULT=GLIB2
 GLIB2_DESC=	Use GLIB2 for multiprocessing support
 OPTIONS_SUB=	yes

Modified: head/net/lualdap/Makefile
==============================================================================
--- head/net/lualdap/Makefile	Wed Jul 16 02:59:57 2014	(r362022)
+++ head/net/lualdap/Makefile	Wed Jul 16 03:00:46 2014	(r362023)
@@ -24,6 +24,8 @@ MAKE_ARGS+=	LUA_LIBDIR="${LUA_LIBDIR}" \
 
 ALL_TARGET=
 
+OPTIONS_DEFINE=	DOCS
+
 do-install:
 	@${MKDIR} ${STAGEDIR}${LUA_MODLIBDIR}
 	${INSTALL_PROGRAM} ${WRKSRC}/src/lualdap.so.${PORTVERSION} ${STAGEDIR}${LUA_MODLIBDIR}/${PORTNAME}.so

Modified: head/net/ntp-devel/Makefile.inc
==============================================================================
--- head/net/ntp-devel/Makefile.inc	Wed Jul 16 02:59:57 2014	(r362022)
+++ head/net/ntp-devel/Makefile.inc	Wed Jul 16 03:00:46 2014	(r362023)
@@ -52,7 +52,9 @@ OPTIONS_DEFINE=	NTPSNMPD \
   		TRIMTAIP \
   		TRIMTSIP \
   		WHARTON	 \
-  		VARITEXT
+  		VARITEXT \
+  		DOCS \
+  		EXAMPLES
 
 OPTIONS_DEFAULT=	SSL \
 		NTP_SIGND \

Modified: head/net/ntp/Makefile.inc
==============================================================================
--- head/net/ntp/Makefile.inc	Wed Jul 16 02:59:57 2014	(r362022)
+++ head/net/ntp/Makefile.inc	Wed Jul 16 03:00:46 2014	(r362023)
@@ -50,7 +50,9 @@ OPTIONS_DEFINE=	NTPSNMPD \
   		TRIMTAIP \
   		TRIMTSIP \
   		WHARTON	 \
-  		VARITEXT
+  		VARITEXT \
+  		DOCS \
+  		EXAMPLES
 
 OPTIONS_DEFAULT=	SSL \
 		NTP_SIGND \

Modified: head/net/openradius/Makefile
==============================================================================
--- head/net/openradius/Makefile	Wed Jul 16 02:59:57 2014	(r362022)
+++ head/net/openradius/Makefile	Wed Jul 16 03:00:46 2014	(r362023)
@@ -27,7 +27,7 @@ USES=		gmake
 USE_RC_SUBR=	openradius
 SUB_LIST=	LOGFILE="${LOGFILE}"
 
-OPTIONS_DEFINE=	LDAP
+OPTIONS_DEFINE=	LDAP DOCS EXAMPLES
 
 .include <bsd.port.options.mk>
 

Modified: head/net/ruby-dict/Makefile
==============================================================================
--- head/net/ruby-dict/Makefile	Wed Jul 16 02:59:57 2014	(r362022)
+++ head/net/ruby-dict/Makefile	Wed Jul 16 03:00:46 2014	(r362023)
@@ -20,6 +20,8 @@ RUBY_SHEBANG_FILES=	${WRKSRC}/rdict
 
 DOCS=		Changelog README doc/dict.html doc/rdict.html
 
+OPTIONS_DEFINE=	DOCS
+
 post-install:
 	${INSTALL_SCRIPT} ${WRKSRC}/rdict ${STAGEDIR}${PREFIX}/bin/
 	${MKDIR} ${STAGEDIR}${RUBY_MODDOCDIR}

Modified: head/net/ruby-icmp/Makefile
==============================================================================
--- head/net/ruby-icmp/Makefile	Wed Jul 16 02:59:57 2014	(r362022)
+++ head/net/ruby-icmp/Makefile	Wed Jul 16 03:00:46 2014	(r362023)
@@ -19,6 +19,8 @@ INSTALL_TARGET=	site-install
 
 EXAMPLES=	sample/*
 
+OPTIONS_DEFINE=	DOCS
+
 post-install:
 	${MKDIR} ${STAGEDIR}${RUBY_MODEXAMPLESDIR}
 .for f in ${EXAMPLES}

Modified: head/net/ruby-ldap/Makefile
==============================================================================
--- head/net/ruby-ldap/Makefile	Wed Jul 16 02:59:57 2014	(r362022)
+++ head/net/ruby-ldap/Makefile	Wed Jul 16 03:00:46 2014	(r362023)
@@ -14,6 +14,8 @@ DIST_SUBDIR=	ruby
 MAINTAINER=	ruby@FreeBSD.org
 COMMENT=	Ruby interface to LDAP API based on RFC1823
 
+OPTIONS_DEFINE=	DOCS
+
 WITH_LDAP_BACKEND?=	openldap2
 
 .if ${WITH_LDAP_BACKEND} == ldapsdk

Modified: head/net/ruby-net-geoip/Makefile
==============================================================================
--- head/net/ruby-net-geoip/Makefile	Wed Jul 16 02:59:57 2014	(r362022)
+++ head/net/ruby-net-geoip/Makefile	Wed Jul 16 03:00:46 2014	(r362023)
@@ -21,6 +21,8 @@ INSTALL_TARGET=	site-install
 
 DOCS=	README
 
+OPTIONS_DEFINE=	DOCS
+
 post-install:
 	@${MKDIR} ${STAGEDIR}${RUBY_MODDOCDIR}
 .for f in ${DOCS}

Modified: head/net/ruby-tserver/Makefile
==============================================================================
--- head/net/ruby-tserver/Makefile	Wed Jul 16 02:59:57 2014	(r362022)
+++ head/net/ruby-tserver/Makefile	Wed Jul 16 03:00:46 2014	(r362023)
@@ -17,6 +17,8 @@ RUBY_SHEBANG_FILES=	${WRKSRC}/sample/*
 
 NO_BUILD=	yes
 
+OPTIONS_DEFINE=	DOCS
+
 do-install:
 	${MKDIR} ${STAGEDIR}${RUBY_SITELIBDIR}
 	${INSTALL_DATA} ${WRKSRC}/tserver.rb ${STAGEDIR}${RUBY_SITELIBDIR}/

Modified: head/net/sniffit/Makefile
==============================================================================
--- head/net/sniffit/Makefile	Wed Jul 16 02:59:57 2014	(r362022)
+++ head/net/sniffit/Makefile	Wed Jul 16 03:00:46 2014	(r362023)
@@ -19,6 +19,8 @@ COMMENT=	Packet sniffer program. For edu
 GNU_CONFIGURE=	yes
 ALL_TARGET=
 
+OPTIONS_DEFINE=	DOCS
+
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/sniffit ${STAGEDIR}${PREFIX}/sbin
 	${INSTALL_MAN} ${WRKSRC}/sniffit.5 ${STAGEDIR}${MANPREFIX}/man/man5

Modified: head/net/ssltunnel-client/Makefile
==============================================================================
--- head/net/ssltunnel-client/Makefile	Wed Jul 16 02:59:57 2014	(r362022)
+++ head/net/ssltunnel-client/Makefile	Wed Jul 16 03:00:46 2014	(r362023)
@@ -13,7 +13,7 @@ COMMENT=	PPP over SSL virtual private ne
 
 LICENSE=	BSD3CLAUSE
 
-OPTIONS_DEFINE=	GUI
+OPTIONS_DEFINE=	GUI DOCS
 GUI_DESC=	GTK 1.2 graphical interface
 
 CONFIGURE_ARGS=	--disable-server --with-iconv=${ICONV_PREFIX}

Modified: head/net/ssltunnel-server/Makefile
==============================================================================
--- head/net/ssltunnel-server/Makefile	Wed Jul 16 02:59:57 2014	(r362022)
+++ head/net/ssltunnel-server/Makefile	Wed Jul 16 03:00:46 2014	(r362023)
@@ -14,7 +14,7 @@ COMMENT=	PPP over SSL virtual private ne
 LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-OPTIONS_DEFINE=	TCPWRAPPERS
+OPTIONS_DEFINE=	TCPWRAPPERS DOCS
 TCPWRAPPERS_DESC=	libwrap support
 
 USE_RC_SUBR=	${PORTNAME}

Modified: head/net/tac_plus4/Makefile
==============================================================================
--- head/net/tac_plus4/Makefile	Wed Jul 16 02:59:57 2014	(r362022)
+++ head/net/tac_plus4/Makefile	Wed Jul 16 03:00:46 2014	(r362023)
@@ -24,6 +24,8 @@ GROUPS=		tacacs
 CONFLICTS=	ru-tac+ia-[0-9]* tac_plus-libradius-[0-9]*
 MAKE_JOBS_UNSAFE=	yes
 
+OPTIONS_DEFINE=	DOCS
+
 # check expiration dates against 'expire' field of master.passwd file
 .if defined(TAC_EXPIRE_MASTER_PASSWD)
 EXTRA_PATCHES+=	${PATCHDIR}/extra-patch-bb

Modified: head/net/tcpsg/Makefile
==============================================================================
--- head/net/tcpsg/Makefile	Wed Jul 16 02:59:57 2014	(r362022)
+++ head/net/tcpsg/Makefile	Wed Jul 16 03:00:46 2014	(r362023)
@@ -9,6 +9,8 @@ MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}
 MAINTAINER=	mich@FreeBSD.org
 COMMENT=	Simple TCP port forwarder
 
+OPTIONS_DEFINE=	DOCS
+
 post-patch:
 	@${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|" ${WRKSRC}/tcpsg.c
 

Modified: head/net/tigervnc/Makefile
==============================================================================
--- head/net/tigervnc/Makefile	Wed Jul 16 02:59:57 2014	(r362022)
+++ head/net/tigervnc/Makefile	Wed Jul 16 03:00:46 2014	(r362023)
@@ -40,7 +40,7 @@ USE_XORG+=	bigreqsproto compositeproto d
 
 CFLAGS+=	-fPIC
 
-OPTIONS_DEFINE=		GNUTLS NLS PAM VIEWER HPJPG
+OPTIONS_DEFINE=		GNUTLS NLS PAM VIEWER HPJPG DOCS
 OPTIONS_DEFAULT=	GNUTLS NLS PAM VIEWER
 VIEWER_DESC=		Build vncviewer
 HPJPG_DESC=		Build with High-Performance JPEG support

Modified: head/news/multisuck/Makefile
==============================================================================
--- head/news/multisuck/Makefile	Wed Jul 16 02:59:57 2014	(r362022)
+++ head/news/multisuck/Makefile	Wed Jul 16 03:00:46 2014	(r362023)
@@ -11,6 +11,8 @@ COMMENT=	Multi-server/conn news suck
 
 GNU_CONFIGURE=	yes
 
+OPTIONS_DEFINE=	EXAMPLES
+
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/msuck ${STAGEDIR}${PREFIX}/bin
 	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}

Modified: head/news/multisuck/pkg-plist
==============================================================================
--- head/news/multisuck/pkg-plist	Wed Jul 16 02:59:57 2014	(r362022)
+++ head/news/multisuck/pkg-plist	Wed Jul 16 03:00:46 2014	(r362023)
@@ -1,5 +1,5 @@
 bin/msuck
-%%PORTDOCS%%%%EXAMPLESDIR%%/filters.sample
-%%PORTDOCS%%%%EXAMPLESDIR%%/newsrc.sample
-%%PORTDOCS%%%%EXAMPLESDIR%%/suck.cfg.sample
-%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/filters.sample
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/newsrc.sample
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/suck.cfg.sample
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%

Modified: head/news/newsgrab/Makefile
==============================================================================
--- head/news/newsgrab/Makefile	Wed Jul 16 02:59:57 2014	(r362022)
+++ head/news/newsgrab/Makefile	Wed Jul 16 03:00:46 2014	(r362023)
@@ -20,6 +20,8 @@ NO_BUILD=	yes
 USES=		perl5 shebangfix
 SHEBANG_FILES=	newsgrab.pl
 
+OPTIONS_DEFINE=	DOCS
+
 do-install:
 	${INSTALL_SCRIPT} ${WRKSRC}/newsgrab.pl ${STAGEDIR}${PREFIX}/bin/newsgrab
 	@${MKDIR} ${STAGEDIR}${PREFIX}/share/doc/newsgrab

Modified: head/news/nget/Makefile
==============================================================================
--- head/news/nget/Makefile	Wed Jul 16 02:59:57 2014	(r362022)
+++ head/news/nget/Makefile	Wed Jul 16 03:00:46 2014	(r362023)
@@ -15,6 +15,8 @@ USES=		gmake
 USE_GCC=	any
 GNU_CONFIGURE=	yes
 
+OPTIONS_DEFINE=	DOCS
+
 post-extract:
 	${LN} -s nget-${PORTVERSION} ${WRKDIR}/${DISTNAME}
 

Modified: head/news/noffle/Makefile
==============================================================================
--- head/news/noffle/Makefile	Wed Jul 16 02:59:57 2014	(r362022)
+++ head/news/noffle/Makefile	Wed Jul 16 03:00:46 2014	(r362023)
@@ -25,6 +25,8 @@ PLIST_SUB+=	SPOOL_DIR=${SPOOL_DIR}
 DOCS=		ChangeLog docs/FAQ INSTALL docs/INTERNALS README \
 		docs/testing.txt docs/noffle.lsm
 
+OPTIONS_DEFINE=	DOCS
+
 post-patch:
 	@${REINPLACE_CMD} -e \
 	's|/etc/noffle.conf|${PREFIX}/etc/noffle.conf|g' \

Modified: head/news/nzbget/Makefile
==============================================================================
--- head/news/nzbget/Makefile	Wed Jul 16 02:59:57 2014	(r362022)
+++ head/news/nzbget/Makefile	Wed Jul 16 03:00:46 2014	(r362023)
@@ -24,7 +24,7 @@ CPPFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	${PTHREAD_LIBS}

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



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