aboutsummaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2018-09-10 13:14:50 +0000
committerMathieu Arnold <mat@FreeBSD.org>2018-09-10 13:14:50 +0000
commite1bfdfbe5665c963621e06f6bbfbbc2c000a804e (patch)
treeeaf052562fa1ad9b232918eb5e617ac1df0dd725 /net
parentf57bc4af665126de839ff734a08e57726e84da84 (diff)
downloadports-e1bfdfbe5665c963621e06f6bbfbbc2c000a804e.tar.gz
ports-e1bfdfbe5665c963621e06f6bbfbbc2c000a804e.zip
Notes
Diffstat (limited to 'net')
-rw-r--r--net/akonadi-calendar/Makefile2
-rw-r--r--net/akonadi-contacts/Makefile2
-rw-r--r--net/akonadi-mime/Makefile2
-rw-r--r--net/akonadi-notes/Makefile2
-rw-r--r--net/akonadi-search/Makefile2
-rw-r--r--net/axa/Makefile3
-rw-r--r--net/bsdproxy/Makefile2
-rw-r--r--net/calendarsupport/Makefile2
-rw-r--r--net/corosync2/Makefile.common2
-rw-r--r--net/delegate/Makefile2
-rw-r--r--net/deviceatlas-enterprise-c/Makefile2
-rw-r--r--net/dhcpd-pools/Makefile2
-rw-r--r--net/elixir-kafka_ex/Makefile2
-rw-r--r--net/elixir-oauth2/Makefile2
-rw-r--r--net/erlang-ranch/Makefile2
-rw-r--r--net/erlang-xmlrpc/Makefile2
-rw-r--r--net/eventviews/Makefile2
-rw-r--r--net/file2pcap/Makefile2
-rw-r--r--net/glusterfs/Makefile2
-rw-r--r--net/gnatsd/Makefile2
-rw-r--r--net/incidenceeditor/Makefile2
-rw-r--r--net/iodine/Makefile2
-rw-r--r--net/kalarmcal/Makefile2
-rw-r--r--net/kblog/Makefile2
-rw-r--r--net/kcalcore/Makefile2
-rw-r--r--net/kcalutils/Makefile2
-rw-r--r--net/kcontacts/Makefile2
-rw-r--r--net/kdav/Makefile2
-rw-r--r--net/kdenetwork-filesharing/Makefile2
-rw-r--r--net/kget/Makefile2
-rw-r--r--net/kidentitymanagement/Makefile2
-rw-r--r--net/kimap/Makefile2
-rw-r--r--net/kitinerary/Makefile2
-rw-r--r--net/kldap/Makefile2
-rw-r--r--net/kmailtransport/Makefile2
-rw-r--r--net/kmbox/Makefile2
-rw-r--r--net/kmime/Makefile2
-rw-r--r--net/kontactinterface/Makefile2
-rw-r--r--net/kpimtextedit/Makefile2
-rw-r--r--net/krdc/Makefile2
-rw-r--r--net/krfb/Makefile2
-rw-r--r--net/ksmtp/Makefile2
-rw-r--r--net/ktnef/Makefile2
-rw-r--r--net/l2tpd/Makefile2
-rw-r--r--net/ldapscripts/Makefile2
-rw-r--r--net/libgravatar/Makefile2
-rw-r--r--net/libkgapi/Makefile2
-rw-r--r--net/libksieve/Makefile2
-rw-r--r--net/libmateweather/Makefile2
-rw-r--r--net/libnss-pgsql/Makefile2
-rw-r--r--net/linknx/Makefile2
-rw-r--r--net/linux-c6-openldap/Makefile2
-rw-r--r--net/linux-c6-tcp_wrappers-libs/Makefile2
-rw-r--r--net/linux-c7-openldap/Makefile2
-rw-r--r--net/linux-c7-tcp_wrappers-libs/Makefile2
-rw-r--r--net/mailcommon/Makefile2
-rw-r--r--net/mailimporter/Makefile2
-rw-r--r--net/megatools/Makefile2
-rw-r--r--net/messagelib/Makefile2
-rw-r--r--net/mininet/Makefile2
-rw-r--r--net/mpd5/Makefile2
-rw-r--r--net/nats-streaming-server/Makefile2
-rw-r--r--net/netsed/Makefile2
-rw-r--r--net/nmsg/Makefile3
-rw-r--r--net/openbsc/Makefile2
-rw-r--r--net/openldap24-server/Makefile4
-rw-r--r--net/pimcommon/Makefile2
-rw-r--r--net/radvd/Makefile2
-rw-r--r--net/sflowtool/Makefile2
-rw-r--r--net/siproxd/Makefile2
-rw-r--r--net/spread/Makefile2
-rw-r--r--net/syncthing/Makefile2
-rw-r--r--net/syndication/Makefile2
-rw-r--r--net/tcpillust/Makefile2
-rw-r--r--net/zeroconf-ioslave/Makefile2
75 files changed, 143 insertions, 11 deletions
diff --git a/net/akonadi-calendar/Makefile b/net/akonadi-calendar/Makefile
index c5959f3c57b2..965599e674b2 100644
--- a/net/akonadi-calendar/Makefile
+++ b/net/akonadi-calendar/Makefile
@@ -22,4 +22,6 @@ USE_LDCONFIG= yes
DESCR= ${.CURDIR:H:H}/deskutils/kdepim/pkg-descr
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
diff --git a/net/akonadi-contacts/Makefile b/net/akonadi-contacts/Makefile
index d7981227a04a..1daacb842012 100644
--- a/net/akonadi-contacts/Makefile
+++ b/net/akonadi-contacts/Makefile
@@ -21,4 +21,6 @@ USE_LDCONFIG= yes
DESCR= ${.CURDIR:H:H}/deskutils/kdepim/pkg-descr
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
diff --git a/net/akonadi-mime/Makefile b/net/akonadi-mime/Makefile
index 15c2e4bd8857..59452931baad 100644
--- a/net/akonadi-mime/Makefile
+++ b/net/akonadi-mime/Makefile
@@ -20,4 +20,6 @@ USE_LDCONFIG= yes
DESCR= ${.CURDIR:H:H}/deskutils/kdepim/pkg-descr
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
diff --git a/net/akonadi-notes/Makefile b/net/akonadi-notes/Makefile
index 2bf251549fbb..168500f359d1 100644
--- a/net/akonadi-notes/Makefile
+++ b/net/akonadi-notes/Makefile
@@ -19,4 +19,6 @@ USE_LDCONFIG= yes
DESCR= ${.CURDIR:H:H}/deskutils/kdepim/pkg-descr
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
diff --git a/net/akonadi-search/Makefile b/net/akonadi-search/Makefile
index 9a1d9b87ee9c..b4c1eefaccec 100644
--- a/net/akonadi-search/Makefile
+++ b/net/akonadi-search/Makefile
@@ -24,4 +24,6 @@ USE_LDCONFIG= yes
DESCR= ${.CURDIR:H:H}/deskutils/kdepim/pkg-descr
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
diff --git a/net/axa/Makefile b/net/axa/Makefile
index 280fbb97371f..007f31d85c01 100644
--- a/net/axa/Makefile
+++ b/net/axa/Makefile
@@ -32,13 +32,14 @@ SHEBANG_FILES= cert_tools/axa_link_certs.in
PORTDOCS= *
-OPTIONS_DEFINE= DOXYGEN
+OPTIONS_DEFINE= DOCS DOXYGEN
OPTIONS_DEFAULT=DOXYGEN
ALL_TARGET= all
INSTALL_TARGET= install-strip
DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen
DOXYGEN_ALL_TARGET= html-local
+DOXYGEN_IMPLIES= DOCS
LDFLAGS+= -lm
diff --git a/net/bsdproxy/Makefile b/net/bsdproxy/Makefile
index b228029f3c84..e8421d944db5 100644
--- a/net/bsdproxy/Makefile
+++ b/net/bsdproxy/Makefile
@@ -16,6 +16,8 @@ USE_GNOME= glib12
PLIST_FILES= bin/${PORTNAME}
PORTDOCS= ChangeLog README
+OPTIONS_DEFINE= DOCS
+
post-install:
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
diff --git a/net/calendarsupport/Makefile b/net/calendarsupport/Makefile
index 782270634769..4ef62e341c45 100644
--- a/net/calendarsupport/Makefile
+++ b/net/calendarsupport/Makefile
@@ -22,4 +22,6 @@ USE_QT= core gui network printsupport testlib uitools widgets xml \
buildtools_build qmake_build
USE_LDCONFIG= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
diff --git a/net/corosync2/Makefile.common b/net/corosync2/Makefile.common
index ddc71a2b0e78..ad516a7dbf7e 100644
--- a/net/corosync2/Makefile.common
+++ b/net/corosync2/Makefile.common
@@ -26,7 +26,7 @@ LDFLAGS+= -B${LOCALBASE}/bin
INSTALL_TARGET= install-strip
TEST_TARGET= check
-OPTIONS_DEFINE= DBUS SNMP
+OPTIONS_DEFINE= DBUS DOCS SNMP
OPTIONS_SUB= yes
DBUS_LIB_DEPENDS+= libdbus-1.so:devel/dbus
diff --git a/net/delegate/Makefile b/net/delegate/Makefile
index d4b9e3e6f696..1a5120b3a537 100644
--- a/net/delegate/Makefile
+++ b/net/delegate/Makefile
@@ -25,6 +25,8 @@ PLIST_FILES= sbin/delegated etc/rc.d/delegated.sh-dist
PORTDOCS= CHANGES COPYRIGHT DG9note.html HowToDG.html IPv6NOTE.txt \
Manual.htm jpconv.htm tutor-en.htm tutor-jp.htm
+OPTIONS_DEFINE= DOCS
+
post-extract:
@${LN} ${WRKSRC}/CHANGES ${WRKSRC}/COPYRIGHT ${WRKSRC}/DG9note.html \
${WRKSRC}/IPv6NOTE.txt ${WRKSRC}/doc
diff --git a/net/deviceatlas-enterprise-c/Makefile b/net/deviceatlas-enterprise-c/Makefile
index 1ab57bee5d3f..9cc4544984cb 100644
--- a/net/deviceatlas-enterprise-c/Makefile
+++ b/net/deviceatlas-enterprise-c/Makefile
@@ -26,6 +26,8 @@ PLIST_SUB= PORTVERSION=${PORTVERSION}
REGISTRATION_URL= https://deviceatlas.com/deviceatlas-haproxy-module
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.pre.mk>
.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX})
diff --git a/net/dhcpd-pools/Makefile b/net/dhcpd-pools/Makefile
index 3ada2766b32f..b6982de3a35f 100644
--- a/net/dhcpd-pools/Makefile
+++ b/net/dhcpd-pools/Makefile
@@ -25,6 +25,8 @@ MAKE_JOBS_UNSAFE= yes
PORTDATA= snmptest.pl
+OPTIONS_DEFINE= DOCS
+
post-patch:
@${REINPLACE_CMD} -e '/features.h/d' ${WRKSRC}/src/getdata.c
diff --git a/net/elixir-kafka_ex/Makefile b/net/elixir-kafka_ex/Makefile
index 3497173f43ba..3e5e61651187 100644
--- a/net/elixir-kafka_ex/Makefile
+++ b/net/elixir-kafka_ex/Makefile
@@ -18,4 +18,6 @@ USE_GITHUB= yes
GH_ACCOUNT= jacklund
NO_ARCH= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
diff --git a/net/elixir-oauth2/Makefile b/net/elixir-oauth2/Makefile
index 0d176655e6e9..b7eceeeb48a9 100644
--- a/net/elixir-oauth2/Makefile
+++ b/net/elixir-oauth2/Makefile
@@ -19,4 +19,6 @@ USE_GITHUB= yes
GH_ACCOUNT= scrogson
NO_ARCH= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
diff --git a/net/erlang-ranch/Makefile b/net/erlang-ranch/Makefile
index 0ca8754280d3..f44db88d7084 100644
--- a/net/erlang-ranch/Makefile
+++ b/net/erlang-ranch/Makefile
@@ -15,6 +15,8 @@ USE_GITHUB= yes
GH_ACCOUNT= ninenines
ERL_DOCS= doc/src/guide/* doc/src/manual/*
+OPTIONS_DEFINE= DOCS
+
post-install:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}
diff --git a/net/erlang-xmlrpc/Makefile b/net/erlang-xmlrpc/Makefile
index b3da3afd244c..4827b865de3c 100644
--- a/net/erlang-xmlrpc/Makefile
+++ b/net/erlang-xmlrpc/Makefile
@@ -16,6 +16,8 @@ WRKSRC= ${WRKDIR}/xmlrpc-${PORTVERSION}
ERL_DOCS= doc/xmlrpc.pdf doc/xmlrpc.ps doc/xmlrpc.txt
+OPTIONS_DEFINE= DOCS
+
do-build:
cd ${WRKSRC}/src && ${GMAKE}
diff --git a/net/eventviews/Makefile b/net/eventviews/Makefile
index 278cd3ac367f..923b79dfb61a 100644
--- a/net/eventviews/Makefile
+++ b/net/eventviews/Makefile
@@ -23,4 +23,6 @@ USE_QT= core gui printsupport testlib uitools widgets xml \
buildtools_build qmake_build
USE_LDCONFIG= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
diff --git a/net/file2pcap/Makefile b/net/file2pcap/Makefile
index 3cda019ec66a..72e975722cdc 100644
--- a/net/file2pcap/Makefile
+++ b/net/file2pcap/Makefile
@@ -21,6 +21,8 @@ ALL_TARGET= file2pcap
PLIST_FILES= bin/file2pcap
PORTDOCS= Changelog README.md TODO
+OPTIONS_DEFINE= DOCS
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/file2pcap ${STAGEDIR}/${PREFIX}/bin
${MKDIR} ${STAGEDIR}/${DOCSDIR}
diff --git a/net/glusterfs/Makefile b/net/glusterfs/Makefile
index e5b1991d047c..50684e57e94f 100644
--- a/net/glusterfs/Makefile
+++ b/net/glusterfs/Makefile
@@ -55,6 +55,8 @@ INSTALL_TARGET= install-strip
PLIST_SUB= GLUSTERLIBDIR="lib/${PORTNAME}/${PORTVERSION}"
KMODDIR?= /boot/modules
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1101001
diff --git a/net/gnatsd/Makefile b/net/gnatsd/Makefile
index 1a88c373d630..dfee6ae31eaf 100644
--- a/net/gnatsd/Makefile
+++ b/net/gnatsd/Makefile
@@ -18,6 +18,8 @@ GH_ACCOUNT= nats-io
USE_RC_SUBR= gnatsd.sh
+OPTIONS_DEFINE= DOCS
+
post-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/etc
${INSTALL_DATA} ${FILESDIR}/gnatsd.conf ${STAGEDIR}${PREFIX}/etc/gnatsd.conf.sample
diff --git a/net/incidenceeditor/Makefile b/net/incidenceeditor/Makefile
index 66e61c5d14b8..7c5ae6b7a3d8 100644
--- a/net/incidenceeditor/Makefile
+++ b/net/incidenceeditor/Makefile
@@ -26,4 +26,6 @@ USE_QT= core dbus gui network printsupport testlib uitools webkit \
USE_LDCONFIG= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
diff --git a/net/iodine/Makefile b/net/iodine/Makefile
index 4f975471c817..fd967e152fdd 100644
--- a/net/iodine/Makefile
+++ b/net/iodine/Makefile
@@ -20,6 +20,8 @@ USE_RC_SUBR= iodined
USERS= _iodined
GROUPS= _iodined
+OPTIONS_DEFINE= DOCS
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/bin/iodine ${STAGEDIR}${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/bin/iodined ${STAGEDIR}${PREFIX}/sbin
diff --git a/net/kalarmcal/Makefile b/net/kalarmcal/Makefile
index 4baec6589da9..53b83a704cf8 100644
--- a/net/kalarmcal/Makefile
+++ b/net/kalarmcal/Makefile
@@ -24,4 +24,6 @@ USE_LDCONFIG= yes
DESCR= ${.CURDIR:H:H}/deskutils/kdepim/pkg-descr
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
diff --git a/net/kblog/Makefile b/net/kblog/Makefile
index 8c42ff33e043..e42b45a031c2 100644
--- a/net/kblog/Makefile
+++ b/net/kblog/Makefile
@@ -20,4 +20,6 @@ USE_LDCONFIG= yes
DESCR= ${.CURDIR:H:H}/deskutils/kdepim/pkg-descr
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
diff --git a/net/kcalcore/Makefile b/net/kcalcore/Makefile
index 47ea33983bc3..1c94e74a4f2f 100644
--- a/net/kcalcore/Makefile
+++ b/net/kcalcore/Makefile
@@ -20,4 +20,6 @@ USE_LDCONFIG= yes
DESCR= ${.CURDIR:H:H}/deskutils/kdepim/pkg-descr
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
diff --git a/net/kcalutils/Makefile b/net/kcalutils/Makefile
index ac4db8f1b859..beb779582333 100644
--- a/net/kcalutils/Makefile
+++ b/net/kcalutils/Makefile
@@ -21,4 +21,6 @@ USE_LDCONFIG= yes
DESCR= ${.CURDIR:H:H}/deskutils/kdepim/pkg-descr
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
diff --git a/net/kcontacts/Makefile b/net/kcontacts/Makefile
index 40ef792b28f7..133a54f186e8 100644
--- a/net/kcontacts/Makefile
+++ b/net/kcontacts/Makefile
@@ -17,4 +17,6 @@ USE_LDCONFIG= yes
DESCR= ${.CURDIR:H:H}/deskutils/kdepim/pkg-descr
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
diff --git a/net/kdav/Makefile b/net/kdav/Makefile
index 3219e9781773..5b4a3aa198d9 100644
--- a/net/kdav/Makefile
+++ b/net/kdav/Makefile
@@ -16,4 +16,6 @@ USE_LDCONFIG= yes
DESCR= ${.CURDIR:H:H}/deskutils/kdepim/pkg-descr
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
diff --git a/net/kdenetwork-filesharing/Makefile b/net/kdenetwork-filesharing/Makefile
index 6e1d6dd2bf95..8e63de7a4416 100644
--- a/net/kdenetwork-filesharing/Makefile
+++ b/net/kdenetwork-filesharing/Makefile
@@ -13,4 +13,6 @@ USE_KDE= completion config coreaddons doctools ecm i18n jobwidgets kio \
USE_QT= core gui network widgets \
buildtools_build qmake_build
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
diff --git a/net/kget/Makefile b/net/kget/Makefile
index d379d99d66d4..15efc1071f2f 100644
--- a/net/kget/Makefile
+++ b/net/kget/Makefile
@@ -35,4 +35,6 @@ SHEBANG_FILES= conf/*.pl
MAKE_ENV= XDG_CONFIG_HOME=/dev/null
CONFIGURE_ENV= XDG_CONFIG_HOME=/dev/null
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
diff --git a/net/kidentitymanagement/Makefile b/net/kidentitymanagement/Makefile
index e7d97d4217fb..8f54678cb73c 100644
--- a/net/kidentitymanagement/Makefile
+++ b/net/kidentitymanagement/Makefile
@@ -22,4 +22,6 @@ USE_LDCONFIG= yes
DESCR= ${.CURDIR:H:H}/deskutils/kdepim/pkg-descr
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
diff --git a/net/kimap/Makefile b/net/kimap/Makefile
index ec3b9090d30b..2541846dc0cf 100644
--- a/net/kimap/Makefile
+++ b/net/kimap/Makefile
@@ -22,4 +22,6 @@ USE_LDCONFIG= yes
DESCR= ${.CURDIR:H:H}/deskutils/kdepim/pkg-descr
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
diff --git a/net/kitinerary/Makefile b/net/kitinerary/Makefile
index 59fd07000980..b8f57c348d5e 100644
--- a/net/kitinerary/Makefile
+++ b/net/kitinerary/Makefile
@@ -23,4 +23,6 @@ USE_LDCONFIG= yes
DESCR= ${.CURDIR:H:H}/deskutils/kdepim/pkg-descr
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
diff --git a/net/kldap/Makefile b/net/kldap/Makefile
index 26d5242fe334..f0d21636f7b9 100644
--- a/net/kldap/Makefile
+++ b/net/kldap/Makefile
@@ -23,4 +23,6 @@ USE_LDCONFIG= yes
DESCR= ${.CURDIR:H:H}/deskutils/kdepim/pkg-descr
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
diff --git a/net/kmailtransport/Makefile b/net/kmailtransport/Makefile
index 26460770e707..43e48b1cbad2 100644
--- a/net/kmailtransport/Makefile
+++ b/net/kmailtransport/Makefile
@@ -22,4 +22,6 @@ USE_LDCONFIG= yes
DESCR= ${.CURDIR:H:H}/deskutils/kdepim/pkg-descr
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
diff --git a/net/kmbox/Makefile b/net/kmbox/Makefile
index 2fe8ce7f3fef..0418ff55dc4f 100644
--- a/net/kmbox/Makefile
+++ b/net/kmbox/Makefile
@@ -19,4 +19,6 @@ USE_LDCONFIG= yes
DESCR= ${.CURDIR:H:H}/deskutils/kdepim/pkg-descr
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
diff --git a/net/kmime/Makefile b/net/kmime/Makefile
index 351e8c4f004a..ea787364a220 100644
--- a/net/kmime/Makefile
+++ b/net/kmime/Makefile
@@ -20,4 +20,6 @@ USE_LDCONFIG= yes
DESCR= ${.CURDIR:H:H}/deskutils/kdepim/pkg-descr
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
diff --git a/net/kontactinterface/Makefile b/net/kontactinterface/Makefile
index 2e15775e1102..2d76b916fc39 100644
--- a/net/kontactinterface/Makefile
+++ b/net/kontactinterface/Makefile
@@ -21,4 +21,6 @@ USE_LDCONFIG= yes
DESCR= ${.CURDIR:H:H}/deskutils/kdepim/pkg-descr
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
diff --git a/net/kpimtextedit/Makefile b/net/kpimtextedit/Makefile
index a2ff974c973b..fa61c0ec3245 100644
--- a/net/kpimtextedit/Makefile
+++ b/net/kpimtextedit/Makefile
@@ -21,4 +21,6 @@ USE_LDCONFIG= yes
DESCR= ${.CURDIR:H:H}/deskutils/kdepim/pkg-descr
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
diff --git a/net/krdc/Makefile b/net/krdc/Makefile
index c541f55d3e52..29d1e84185a8 100644
--- a/net/krdc/Makefile
+++ b/net/krdc/Makefile
@@ -18,7 +18,7 @@ USE_QT= core dbus gui network widgets xml \
buildtools_build qmake_build
USE_LDCONFIG= yes
-OPTIONS_DEFINE= FREERDP
+OPTIONS_DEFINE= FREERDP DOCS
OPTIONS_SUB= yes
FREERDP_CMAKE_BOOL= WITH_FREERDP
FREERDP_DESC= Remote Desktop support via FreeRDP
diff --git a/net/krfb/Makefile b/net/krfb/Makefile
index e1d641254ace..06f65bd3ed12 100644
--- a/net/krfb/Makefile
+++ b/net/krfb/Makefile
@@ -19,7 +19,7 @@ USE_QT= core dbus gui network widgets x11extras xml \
buildtools_build qmake_build
USE_XORG= x11 xcb xdamage xext xtst
-OPTIONS_DEFINE= TELEPATHY
+OPTIONS_DEFINE= TELEPATHY DOCS
OPTIONS_SUB= yes
TELEPATHY_DESC= Support for Telepathy Tubes
TELEPATHY_LIB_DEPENDS= libtelepathy-qt5.so:net-im/telepathy-qt5
diff --git a/net/ksmtp/Makefile b/net/ksmtp/Makefile
index 55f670c93dd3..5e5541b4d4d5 100644
--- a/net/ksmtp/Makefile
+++ b/net/ksmtp/Makefile
@@ -19,4 +19,6 @@ USE_QT= core network \
USE_LDCONFIG= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
diff --git a/net/ktnef/Makefile b/net/ktnef/Makefile
index 1d5b25301160..f36c4a323b58 100644
--- a/net/ktnef/Makefile
+++ b/net/ktnef/Makefile
@@ -20,4 +20,6 @@ USE_LDCONFIG= yes
DESCR= ${.CURDIR:H:H}/deskutils/kdepim/pkg-descr
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
diff --git a/net/l2tpd/Makefile b/net/l2tpd/Makefile
index 9d3a02207609..2daa9a333a89 100644
--- a/net/l2tpd/Makefile
+++ b/net/l2tpd/Makefile
@@ -18,6 +18,8 @@ USES= compiler:nestedfct
PORTDOCS= README
ETCDIR= ${PREFIX}/etc/l2tp
+OPTIONS_DEFINE= DOCS
+
do-configure:
${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/doc/l2tpd.8 \
${WRKSRC}/doc/l2tpd.conf.sample ${WRKSRC}/doc/l2tp-secrets.5 \
diff --git a/net/ldapscripts/Makefile b/net/ldapscripts/Makefile
index 60d4442a8b62..3dd0279943f9 100644
--- a/net/ldapscripts/Makefile
+++ b/net/ldapscripts/Makefile
@@ -21,7 +21,7 @@ RUN_DEPENDS= ldapadd:net/openldap${OPENLDAP_VER}${OPENLDAP_FLAVOUR}-client \
NO_ARCH= yes
-OPTIONS_DEFINE= SASL
+OPTIONS_DEFINE= SASL DOCS
SASL_VARS= OPENLDAP_FLAVOUR=-sasl WANT_OPENLDAP_SASL=yes
USES= iconv tar:tgz
diff --git a/net/libgravatar/Makefile b/net/libgravatar/Makefile
index b6a6fa6c99ae..bb98c75e0ab8 100644
--- a/net/libgravatar/Makefile
+++ b/net/libgravatar/Makefile
@@ -18,4 +18,6 @@ USE_QT= core gui network testlib widgets xml \
buildtools_build qmake_build
USE_LDCONFIG= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
diff --git a/net/libkgapi/Makefile b/net/libkgapi/Makefile
index badca50c116d..6aabb8c7948f 100644
--- a/net/libkgapi/Makefile
+++ b/net/libkgapi/Makefile
@@ -29,4 +29,6 @@ USE_QT= core dbus gui location qml network printsupport quick webchannel \
USE_LDCONFIG= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
diff --git a/net/libksieve/Makefile b/net/libksieve/Makefile
index 970b43860c3d..bb6bdbd0b1be 100644
--- a/net/libksieve/Makefile
+++ b/net/libksieve/Makefile
@@ -27,4 +27,6 @@ USE_LDCONFIG= yes
DESCR= ${.CURDIR:H:H}/deskutils/kdepim/pkg-descr
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
diff --git a/net/libmateweather/Makefile b/net/libmateweather/Makefile
index e1ad62dea537..3267c6dcf927 100644
--- a/net/libmateweather/Makefile
+++ b/net/libmateweather/Makefile
@@ -26,4 +26,6 @@ INSTALL_TARGET= install-strip
GLIB_SCHEMAS= org.mate.weather.gschema.xml
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
diff --git a/net/libnss-pgsql/Makefile b/net/libnss-pgsql/Makefile
index f6726bcda31e..3bfb6dfd0308 100644
--- a/net/libnss-pgsql/Makefile
+++ b/net/libnss-pgsql/Makefile
@@ -19,6 +19,8 @@ CONFIGURE_ARGS= --sysconfdir=${PREFIX}/etc --includedir=${PREFIX}/include --libd
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
+OPTIONS_DEFINE= DOCS
+
post-install:
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${WRKSRC}/conf/* ${STAGEDIR}${DOCSDIR}
diff --git a/net/linknx/Makefile b/net/linknx/Makefile
index a2a13425d3d3..911e33f97194 100644
--- a/net/linknx/Makefile
+++ b/net/linknx/Makefile
@@ -27,7 +27,7 @@ CONFIGURE_ARGS+=CFLAGS="-I${LOCALBASE}/include" \
CXXFLAGS+= ${CXXFLAGS_${CHOSEN_COMPILER_TYPE}}
CXXFLAGS_clang= -Wno-c++11-narrowing
-OPTIONS_DEFINE= LIBESMTP LIBCURL LIBLUA MYSQL
+OPTIONS_DEFINE= LIBESMTP LIBCURL LIBLUA MYSQL DOCS
OPTIONS_DEFAULT= LIBESMTP
OPTIONS_SUB=
LIBESMTP_DESC= Install libesmtp for SMTP support
diff --git a/net/linux-c6-openldap/Makefile b/net/linux-c6-openldap/Makefile
index ee24b991e14b..385cb139a78c 100644
--- a/net/linux-c6-openldap/Makefile
+++ b/net/linux-c6-openldap/Makefile
@@ -16,6 +16,8 @@ USE_LDCONFIG= yes
USE_LINUX= cyrus-sasl2 nss nspr
USE_LINUX_RPM= yes
+OPTIONS_DEFINE= DOCS
+
# do not install any openldap configuration directories/files
post-patch:
@${RM} -r ${WRKSRC}/etc
diff --git a/net/linux-c6-tcp_wrappers-libs/Makefile b/net/linux-c6-tcp_wrappers-libs/Makefile
index 670d083c5e7a..5a37cf71b414 100644
--- a/net/linux-c6-tcp_wrappers-libs/Makefile
+++ b/net/linux-c6-tcp_wrappers-libs/Makefile
@@ -19,4 +19,6 @@ USE_LDCONFIG= yes
USE_LINUX= xorglibs
USE_LINUX_RPM= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
diff --git a/net/linux-c7-openldap/Makefile b/net/linux-c7-openldap/Makefile
index 0d7a99551d2c..11c4b8799196 100644
--- a/net/linux-c7-openldap/Makefile
+++ b/net/linux-c7-openldap/Makefile
@@ -17,6 +17,8 @@ USE_LDCONFIG= yes
USE_LINUX= cyrus-sasl2 nspr nss
USE_LINUX_RPM= yes
+OPTIONS_DEFINE= DOCS
+
# do not install any openldap configuration directories/files
post-patch:
@${RM} -r ${WRKSRC}/etc
diff --git a/net/linux-c7-tcp_wrappers-libs/Makefile b/net/linux-c7-tcp_wrappers-libs/Makefile
index f8b05929caa4..517f953e801b 100644
--- a/net/linux-c7-tcp_wrappers-libs/Makefile
+++ b/net/linux-c7-tcp_wrappers-libs/Makefile
@@ -21,4 +21,6 @@ USE_LDCONFIG= yes
USE_LINUX= xorglibs
USE_LINUX_RPM= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
diff --git a/net/mailcommon/Makefile b/net/mailcommon/Makefile
index 9473261343c3..1b60ccdb47b7 100644
--- a/net/mailcommon/Makefile
+++ b/net/mailcommon/Makefile
@@ -29,4 +29,6 @@ USE_QT= core dbus network xml designer gui phonon4 testlib uiplugin \
buildtools_build qmake_build
USE_LDCONFIG= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
diff --git a/net/mailimporter/Makefile b/net/mailimporter/Makefile
index 7fbd5b7985ae..c630f535acb0 100644
--- a/net/mailimporter/Makefile
+++ b/net/mailimporter/Makefile
@@ -22,4 +22,6 @@ USE_LDCONFIG= yes
DESCR= ${.CURDIR:H:H}/deskutils/kdepim/pkg-descr
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
diff --git a/net/megatools/Makefile b/net/megatools/Makefile
index b2dfcccd2c22..1988e997d7b5 100644
--- a/net/megatools/Makefile
+++ b/net/megatools/Makefile
@@ -23,6 +23,8 @@ USE_GNOME= glib20
INSTALL_TARGET= install-strip
+OPTIONS_DEFINE= DOCS
+
post-patch:
# Unsilence build
${REINPLACE_CMD} -e '/^export\ MAKEFLAGS/s|^|#|' ${WRKSRC}/Makefile.in
diff --git a/net/messagelib/Makefile b/net/messagelib/Makefile
index 10cae53f9900..02860b2e9e1b 100644
--- a/net/messagelib/Makefile
+++ b/net/messagelib/Makefile
@@ -32,7 +32,7 @@ USE_QT= core dbus gui location network printsupport qml quick testlib \
USE_LDCONFIG= yes
-OPTIONS_DEFINE= INOTIFY
+OPTIONS_DEFINE= INOTIFY DOCS
OPTIONS_DEFAULT= INOTIFY
OPTIONS_SUB= yes
diff --git a/net/mininet/Makefile b/net/mininet/Makefile
index 7807cd138d27..ade0fc753cb3 100644
--- a/net/mininet/Makefile
+++ b/net/mininet/Makefile
@@ -26,6 +26,8 @@ USE_GITHUB= yes
GH_ACCOUNT= akoshibe
GH_TAGNAME= b88c58c
+OPTIONS_DEFINE= DOCS
+
do-build:
@${CC} ${WRKSRC}/mnexec.c -o ${BUILD_WRKSRC}/mnexec
@help2man -N -n "create a Mininet network." --no-discard-stderr \
diff --git a/net/mpd5/Makefile b/net/mpd5/Makefile
index 4874394a7224..86f04a3b1645 100644
--- a/net/mpd5/Makefile
+++ b/net/mpd5/Makefile
@@ -16,7 +16,7 @@ LICENSE= BSD3CLAUSE
BROKEN_SSL= openssl-devel
-OPTIONS_DEFINE= NG_IPACCT
+OPTIONS_DEFINE= DOCS NG_IPACCT
NG_IPACCT_DESC= Use ng_ipacct kernel module from port
HAS_CONFIGURE= YES
diff --git a/net/nats-streaming-server/Makefile b/net/nats-streaming-server/Makefile
index b7156e79541c..364f04c2c49b 100644
--- a/net/nats-streaming-server/Makefile
+++ b/net/nats-streaming-server/Makefile
@@ -18,6 +18,8 @@ GH_ACCOUNT= nats-io
USE_RC_SUBR= nats_streaming.sh
+OPTIONS_DEFINE= DOCS
+
post-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/etc
${INSTALL_SCRIPT} ${FILESDIR}/nats_streaming.conf ${STAGEDIR}${PREFIX}/etc/nats_streaming.conf.sample
diff --git a/net/netsed/Makefile b/net/netsed/Makefile
index c4863c8fc684..a4594e7bfa7b 100644
--- a/net/netsed/Makefile
+++ b/net/netsed/Makefile
@@ -15,6 +15,8 @@ MAKE_ARGS= CFLAGS="${CFLAGS}"
PLIST_FILES= bin/${PORTNAME}
PORTDOCS= README
+OPTIONS_DEFINE= DOCS
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
@${MKDIR} ${STAGEDIR}${DOCSDIR}
diff --git a/net/nmsg/Makefile b/net/nmsg/Makefile
index 8567e5cfed36..764caeadcb44 100644
--- a/net/nmsg/Makefile
+++ b/net/nmsg/Makefile
@@ -27,13 +27,14 @@ PORTDOCS= *
# The DOXYGEN option is best effort.
# If doxygen is installed, it will get used if the option is set to NO.
-OPTIONS_DEFINE= DOXYGEN EXAMPLES MANPAGES
+OPTIONS_DEFINE= DOXYGEN EXAMPLES MANPAGES DOCS
OPTIONS_DEFAULT= DOXYGEN MANPAGES
OPTIONS_SUB= yes
CPPFLAGS+= -I${LOCALBASE}/include/yajl
ALL_TARGET= all
+DOXYGEN_IMPLIES= DOCS
DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen
DOXYGEN_ALL_TARGET= html-local
DOCBOOK_XML= ${LOCALBASE}/share/xml/docbook/4.2
diff --git a/net/openbsc/Makefile b/net/openbsc/Makefile
index 94ea1c955348..21f3fef11bd4 100644
--- a/net/openbsc/Makefile
+++ b/net/openbsc/Makefile
@@ -24,7 +24,7 @@ USES= autoreconf compiler:c11 gmake pathfix pkgconfig ssl
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= CFLAGS="-I${LOCALBASE}/include"
-OPTIONS_DEFINE= BSC NAT SQLITE
+OPTIONS_DEFINE= BSC NAT SQLITE DOCS
OPTIONS_DEFAULT= BSC NAT
BSC_DESC= Enable OSMO BSC
diff --git a/net/openldap24-server/Makefile b/net/openldap24-server/Makefile
index 9b09dce560c9..972d37c17f68 100644
--- a/net/openldap24-server/Makefile
+++ b/net/openldap24-server/Makefile
@@ -75,7 +75,9 @@ OPTIONS_DEFINE= DEBUG FETCH GSSAPI
FETCH_DESC= Enable fetch(3) support
GSSAPI_DESC= With GSSAPI support (implies SASL support)
-.if !defined(CLIENT_ONLY)
+.if defined(CLIENT_ONLY)
+OPTIONS_DEFINE+= DOCS
+.else
OPTIONS_DEFINE+= DYNACL ACI BDB MDB DNSSRV PASSWD PERL RELAY SHELL
OPTIONS_DEFINE+= SOCK ODBC RLOOKUPS SLP SLAPI TCP_WRAPPERS
OPTIONS_DEFINE+= ACCESSLOG AUDITLOG COLLECT CONSTRAINT DDS
diff --git a/net/pimcommon/Makefile b/net/pimcommon/Makefile
index 227ddf722d0f..0b2b32dc482b 100644
--- a/net/pimcommon/Makefile
+++ b/net/pimcommon/Makefile
@@ -27,4 +27,6 @@ USE_LDCONFIG= yes
DESCR= ${.CURDIR:H:H}/deskutils/kdepim/pkg-descr
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
diff --git a/net/radvd/Makefile b/net/radvd/Makefile
index 2b8b077f108c..ba532e3dd2a0 100644
--- a/net/radvd/Makefile
+++ b/net/radvd/Makefile
@@ -23,6 +23,8 @@ USE_RC_SUBR= radvd
PORTDOCS= CHANGES COPYRIGHT INTRO.html README TODO
+OPTIONS_DEFINE= DOCS
+
post-install:
${INSTALL_DATA} ${WRKSRC}/radvd.conf.example ${STAGEDIR}${PREFIX}/etc/radvd.conf.sample
${INSTALL} -d ${STAGEDIR}${DOCSDIR}
diff --git a/net/sflowtool/Makefile b/net/sflowtool/Makefile
index 0f187aac9730..0929db2ac670 100644
--- a/net/sflowtool/Makefile
+++ b/net/sflowtool/Makefile
@@ -21,6 +21,8 @@ PORTDOCS= README
PORTEXAMPLES= README ipTopTalkers ipTrafficMatrix sflowRRDChart.cgi \
sflowRRDLoad sflowenable
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-install:
diff --git a/net/siproxd/Makefile b/net/siproxd/Makefile
index 9135da13ff22..1f39159a8e02 100644
--- a/net/siproxd/Makefile
+++ b/net/siproxd/Makefile
@@ -25,6 +25,8 @@ PORTDOCS2= FAQ KNOWN_BUGS RFC3261_compliance.txt \
sample_cfg_budgetone.txt sample_cfg_x-lite.txt
PORTDOCS= ${PORTDOCS1} ${PORTDOCS2}
+OPTIONS_DEFINE= DOCS
+
post-extract:
.for docs in ${PORTDOCS2}
${CP} ${WRKSRC}/doc/${docs} ${WRKSRC}
diff --git a/net/spread/Makefile b/net/spread/Makefile
index 71da121ba08f..30d3fb331cc6 100644
--- a/net/spread/Makefile
+++ b/net/spread/Makefile
@@ -32,6 +32,8 @@ PKGMESSAGE= ${WRKSRC}/license.txt
PORTDOCS= Readme.txt LICENSE
HEADERFILES= sp_func.h sp_func.h sp_events.h
+OPTIONS_DEFINE= DOCS
+
# The configure script fails to find nroff in LOCALBASE, but works fine if
# 'groff' is used directly
diff --git a/net/syncthing/Makefile b/net/syncthing/Makefile
index a19cbedea7a8..266ab789d8ab 100644
--- a/net/syncthing/Makefile
+++ b/net/syncthing/Makefile
@@ -26,6 +26,8 @@ PORTDOCS= *
USERS= syncthing
GROUPS= syncthing
+OPTIONS_DEFINE= DOCS
+
do-build:
@cd ${WRKSRC}/src/github.com/${PORTNAME}/${PORTNAME} ; \
${SETENV} ${MAKE_ENV} CGO_ENABLED=0 go run build.go -no-upgrade=true -version v${PORTVERSION}
diff --git a/net/syndication/Makefile b/net/syndication/Makefile
index 10ae4832ee73..bbcc27607667 100644
--- a/net/syndication/Makefile
+++ b/net/syndication/Makefile
@@ -18,4 +18,6 @@ USE_LDCONFIG= yes
DESCR= ${.CURDIR:H:H}/deskutils/kdepim/pkg-descr
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
diff --git a/net/tcpillust/Makefile b/net/tcpillust/Makefile
index bd5ddea8829f..184d97e8dfb0 100644
--- a/net/tcpillust/Makefile
+++ b/net/tcpillust/Makefile
@@ -25,6 +25,8 @@ PLIST_FILES= bin/tcpillust \
WRKSRC= ${WRKDIR}/${PORTNAME}
+OPTIONS_DEFINE= DOCS
+
do-build:
.for file in binread.c button.c draw.c parser.c tcpillust.c tcpdump/print-tcp.c
${CC} ${CFLAGS} -DHAVE_BPF_DUMP -I/usr/include -I/usr/include/pcap -I${LOCALBASE}/include/ -I${TCL_INCLUDEDIR} -I${TK_INCLUDEDIR} \
diff --git a/net/zeroconf-ioslave/Makefile b/net/zeroconf-ioslave/Makefile
index 783c7c07a867..3173d2f02dca 100644
--- a/net/zeroconf-ioslave/Makefile
+++ b/net/zeroconf-ioslave/Makefile
@@ -12,4 +12,6 @@ USE_KDE= config coreaddons dbusaddons dnssd i18n kio service
USE_QT= core dbus network \
buildtools_build qmake_build
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>