aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
Diffstat (limited to 'net')
-rw-r--r--net/deviceatlas-enterprise-c/Makefile2
-rw-r--r--net/erlang-ranch/Makefile4
-rw-r--r--net/erlang-xmlrpc/Makefile6
-rw-r--r--net/freeradius3/Makefile2
-rw-r--r--net/freeswitch/Makefile2
-rw-r--r--net/mininet/Makefile2
-rw-r--r--net/pecl-radius/Makefile4
-rw-r--r--net/py-pynmsg/Makefile2
-rw-r--r--net/quagga/Makefile2
-rw-r--r--net/scribe/Makefile2
-rw-r--r--net/sflowtool/Makefile2
11 files changed, 19 insertions, 11 deletions
diff --git a/net/deviceatlas-enterprise-c/Makefile b/net/deviceatlas-enterprise-c/Makefile
index 9cc4544984cb..42493635b720 100644
--- a/net/deviceatlas-enterprise-c/Makefile
+++ b/net/deviceatlas-enterprise-c/Makefile
@@ -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>
diff --git a/net/erlang-ranch/Makefile b/net/erlang-ranch/Makefile
index f44db88d7084..99b6b67e7448 100644
--- a/net/erlang-ranch/Makefile
+++ b/net/erlang-ranch/Makefile
@@ -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}
diff --git a/net/erlang-xmlrpc/Makefile b/net/erlang-xmlrpc/Makefile
index 4827b865de3c..a2db5e889a16 100644
--- a/net/erlang-xmlrpc/Makefile
+++ b/net/erlang-xmlrpc/Makefile
@@ -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>
diff --git a/net/freeradius3/Makefile b/net/freeradius3/Makefile
index 3c25c4048262..1416927aec9d 100644
--- a/net/freeradius3/Makefile
+++ b/net/freeradius3/Makefile
@@ -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
diff --git a/net/freeswitch/Makefile b/net/freeswitch/Makefile
index fdc1f600eb2a..77cedda221f8 100644
--- a/net/freeswitch/Makefile
+++ b/net/freeswitch/Makefile
@@ -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
diff --git a/net/mininet/Makefile b/net/mininet/Makefile
index ade0fc753cb3..c87e19dfb963 100644
--- a/net/mininet/Makefile
+++ b/net/mininet/Makefile
@@ -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
diff --git a/net/pecl-radius/Makefile b/net/pecl-radius/Makefile
index a8148276cca6..52af9c53b926 100644
--- a/net/pecl-radius/Makefile
+++ b/net/pecl-radius/Makefile
@@ -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}
diff --git a/net/py-pynmsg/Makefile b/net/py-pynmsg/Makefile
index 59b182be9ffb..99982010d240 100644
--- a/net/py-pynmsg/Makefile
+++ b/net/py-pynmsg/Makefile
@@ -23,6 +23,8 @@ PORTEXAMPLES= *
CPPFLAGS+= -I${LOCALBASE}/include
+OPTIONS_DEFINE= EXAMPLES
+
post-install:
${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/_nmsg.so
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
diff --git a/net/quagga/Makefile b/net/quagga/Makefile
index f869f2f040cf..de00c9cd3f02 100644
--- a/net/quagga/Makefile
+++ b/net/quagga/Makefile
@@ -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
diff --git a/net/scribe/Makefile b/net/scribe/Makefile
index f1c876f877ca..e6da415b4564 100644
--- a/net/scribe/Makefile
+++ b/net/scribe/Makefile
@@ -36,6 +36,8 @@ CONFIGURE_ARGS= --with-boost-filesystem=boost_filesystem \
PY_PREFIX="${PREFIX}"
USE_RC_SUBR= ${PORTNAME}
+OPTIONS_DEFINE= EXAMPLES
+
post-patch:
@${REINPLACE_CMD} -e 's/^AM_INIT_AUTOMAKE/#/' ${WRKSRC}/configure.ac
@${REINPLACE_CMD} -e '/boost/! s/shared_ptr/boost::&/g' \
diff --git a/net/sflowtool/Makefile b/net/sflowtool/Makefile
index 0929db2ac670..1407087af4b7 100644
--- a/net/sflowtool/Makefile
+++ b/net/sflowtool/Makefile
@@ -21,7 +21,7 @@ PORTDOCS= README
PORTEXAMPLES= README ipTopTalkers ipTrafficMatrix sflowRRDChart.cgi \
sflowRRDLoad sflowenable
-OPTIONS_DEFINE= DOCS
+OPTIONS_DEFINE= DOCS EXAMPLES
.include <bsd.port.options.mk>