diff options
author | Mathieu Arnold <mat@FreeBSD.org> | 2018-09-10 13:14:50 +0000 |
---|---|---|
committer | Mathieu Arnold <mat@FreeBSD.org> | 2018-09-10 13:14:50 +0000 |
commit | e1bfdfbe5665c963621e06f6bbfbbc2c000a804e (patch) | |
tree | eaf052562fa1ad9b232918eb5e617ac1df0dd725 /devel | |
parent | f57bc4af665126de839ff734a08e57726e84da84 (diff) | |
download | ports-e1bfdfbe5665c963621e06f6bbfbbc2c000a804e.tar.gz ports-e1bfdfbe5665c963621e06f6bbfbbc2c000a804e.zip |
Notes
Diffstat (limited to 'devel')
172 files changed, 344 insertions, 18 deletions
diff --git a/devel/automake/Makefile b/devel/automake/Makefile index a5c2ecd0abf2..97b2e4e6cfc1 100644 --- a/devel/automake/Makefile +++ b/devel/automake/Makefile @@ -25,4 +25,6 @@ MAKE_ENV+= MAKEINFOFLAGS=--no-split INFO= automake automake-history CPE_VENDOR= gnu +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/devel/babeltrace/Makefile b/devel/babeltrace/Makefile index fea08abc5173..88f0a07b4067 100644 --- a/devel/babeltrace/Makefile +++ b/devel/babeltrace/Makefile @@ -32,6 +32,8 @@ USE_LDCONFIG= yes PORTDOCS= ChangeLog std-ext-lib.txt API.txt lttng-live.txt +OPTIONS_DEFINE= DOCS + post-patch: @${REINPLACE_CMD} -e 's|LICENSE mit-license.txt gpl-2.0.txt||' \ ${WRKSRC}/Makefile.am diff --git a/devel/bbfreeze/Makefile b/devel/bbfreeze/Makefile index edb0f9875c23..9bb5e97e4591 100644 --- a/devel/bbfreeze/Makefile +++ b/devel/bbfreeze/Makefile @@ -22,6 +22,8 @@ USE_PYTHON= autoplist distutils DOCSDIR= ${PREFIX}/share/doc/${PYTHON_PKGNAMEPREFIX}${PORTNAME} PORTDOCS= * +OPTIONS_DEFINE= DOCS + post-patch: @${REINPLACE_CMD} -e '/altgraph/s,==,>=,' ${WRKSRC}/${PYSETUP} @${REINPLACE_CMD} -e '/from altgraph\.compat import/d' \ diff --git a/devel/boost-docs/Makefile b/devel/boost-docs/Makefile index b7de9bd34075..714197f7ae13 100644 --- a/devel/boost-docs/Makefile +++ b/devel/boost-docs/Makefile @@ -9,6 +9,8 @@ UNIQ= /usr/bin/uniq NO_BUILD= yes +OPTIONS_DEFINE= DOCS + .include "${.CURDIR}/..//boost-all/common.mk" do-install: diff --git a/devel/breakpad/Makefile b/devel/breakpad/Makefile index 1395b3ed3e61..3e34c061f7ec 100644 --- a/devel/breakpad/Makefile +++ b/devel/breakpad/Makefile @@ -19,6 +19,8 @@ USE_GITHUB= yes GH_ACCOUNT= google GH_TAGNAME= 38cbbfed71efcb28931b5e4a83e3c0d4661f1548 +OPTIONS_DEFINE= DOCS + post-extract: @${MKDIR} ${WRKSRC}/src/third_party/lss @${CP} ${FILESDIR}/linux_syscall_support.h ${WRKSRC}/src/third_party/lss diff --git a/devel/catch/Makefile b/devel/catch/Makefile index 85c3b1413c7e..c806fb1e5750 100644 --- a/devel/catch/Makefile +++ b/devel/catch/Makefile @@ -22,6 +22,8 @@ GH_PROJECT= Catch2 CMAKE_ARGS= -DCMAKE_INSTALL_DOCDIR=${DOCSDIR} PORTDOCS= * +OPTIONS_DEFINE= DOCS + do-test: ${BUILD_WRKSRC}/projects/SelfTest diff --git a/devel/cctz/Makefile b/devel/cctz/Makefile index 34242a814044..55454c52a54a 100644 --- a/devel/cctz/Makefile +++ b/devel/cctz/Makefile @@ -29,6 +29,8 @@ PLIST_FILES= include/cctz/civil_time.h \ PORTDOCS= README.md +OPTIONS_DEFINE= DOCS + post-install: ${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR} diff --git a/devel/cervisia/Makefile b/devel/cervisia/Makefile index 5691a815de28..fb5c7a077d44 100644 --- a/devel/cervisia/Makefile +++ b/devel/cervisia/Makefile @@ -13,4 +13,6 @@ USE_KDE= dbusaddons doctools ecm iconthemes init itemviews kdesu \ USE_QT= core dbus gui widgets \ buildtools_build qmake_build +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/devel/commit-patch/Makefile b/devel/commit-patch/Makefile index cf9c75923f29..c695aaa7e784 100644 --- a/devel/commit-patch/Makefile +++ b/devel/commit-patch/Makefile @@ -26,6 +26,8 @@ PLIST_FILES= bin/commit-partial bin/commit-patch \ man/man1/commit-partial.1.gz man/man1/commit-patch.1.gz PORTDOCS= * +OPTIONS_DEFINE= DOCS + post-patch: ${REINPLACE_CMD} -e 's/share[/]man/man/' \ -e 's/PREFIX=/PREFIX?=/' \ diff --git a/devel/critcl/Makefile b/devel/critcl/Makefile index 67e67fce157c..0aacf943890a 100644 --- a/devel/critcl/Makefile +++ b/devel/critcl/Makefile @@ -29,6 +29,8 @@ PORTDOCS= * NO_BUILD= yes +OPTIONS_DEFINE= DOCS + .include <bsd.port.options.mk> post-patch: diff --git a/devel/cvs2svn/Makefile b/devel/cvs2svn/Makefile index 449150b1cd4b..7a66d46de600 100644 --- a/devel/cvs2svn/Makefile +++ b/devel/cvs2svn/Makefile @@ -55,6 +55,8 @@ MANPAGES= cvs2svn.1.gz \ PLIST_FILES+= ${MANPAGES:S|^|man/man1/|} +OPTIONS_DEFINE= DOCS + post-patch: # be consistent with PORTVERSION @${REINPLACE_CMD} -e 's|2.5.0-dev|2.4.0|' \ diff --git a/devel/cvschangelogbuilder/Makefile b/devel/cvschangelogbuilder/Makefile index c226e688cb4d..c832b7134011 100644 --- a/devel/cvschangelogbuilder/Makefile +++ b/devel/cvschangelogbuilder/Makefile @@ -22,6 +22,8 @@ NO_ARCH= yes PLIST_FILES= bin/cvschangelogbuilder PORTDOCS= * +OPTIONS_DEFINE= DOCS + .include <bsd.port.pre.mk> .if ${OPSYS} == FreeBSD && ${OSVERSION} < 1100077 diff --git a/devel/cvsweb3/Makefile b/devel/cvsweb3/Makefile index 1266e7e02a8a..7190081edb3e 100644 --- a/devel/cvsweb3/Makefile +++ b/devel/cvsweb3/Makefile @@ -35,6 +35,8 @@ SHEBANG_FILES= cvsweb.cgi NO_BUILD= yes NO_ARCH= yes +OPTIONS_DEFINE= DOCS + .include <bsd.port.pre.mk> # Specify where your repository belongs. diff --git a/devel/dissy/Makefile b/devel/dissy/Makefile index a25c1a5c916b..63b7cfead85b 100644 --- a/devel/dissy/Makefile +++ b/devel/dissy/Makefile @@ -24,6 +24,8 @@ GH_TAGNAME= 2f1005e PORTDOCS= COPYING ChangeLog README UPGRADE +OPTIONS_DEFINE= DOCS + post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} diff --git a/devel/distel/Makefile b/devel/distel/Makefile index 7c0131362ddf..d72d4a8639ab 100644 --- a/devel/distel/Makefile +++ b/devel/distel/Makefile @@ -24,6 +24,8 @@ NO_ARCH= yes DISTEL_DOCS= AUTHORS ChangeLog INSTALL INSTALL.WIN32 NEWS README README.ie-session DISTEL_ROOT= ${PREFIX}/lib/erlang/lib/${PORTNAME}-${PORTVERSION} +OPTIONS_DEFINE= DOCS + do-build: @${MKDIR} ${WRKSRC}/ebin @cd ${WRKSRC} && erlc -W0 -o ebin/ +debug_info src/*.erl diff --git a/devel/dolphin-plugins/Makefile b/devel/dolphin-plugins/Makefile index 420c57209111..91e56506188f 100644 --- a/devel/dolphin-plugins/Makefile +++ b/devel/dolphin-plugins/Makefile @@ -19,4 +19,6 @@ USE_KDE= auth bookmarks codecs completion config configwidgets \ USE_QT= core dbus gui network printsupport widgets xml \ buildtools_build qmake_build +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/devel/editline/Makefile b/devel/editline/Makefile index 5c8312e2af6e..f56d2c1b48fe 100644 --- a/devel/editline/Makefile +++ b/devel/editline/Makefile @@ -20,6 +20,8 @@ PORTDOCS= * GH_ACCOUNT= troglobit USE_GITHUB= yes +OPTIONS_DEFINE= DOCS + # Rename to libeditline.3 to avoid conflict with libedit post-patch: @${REINPLACE_CMD} 's|editline.3|lib&|' ${WRKSRC}/man/Makefile.am diff --git a/devel/elixir-apex/Makefile b/devel/elixir-apex/Makefile index 12d6ac996239..2c6df682c1aa 100644 --- a/devel/elixir-apex/Makefile +++ b/devel/elixir-apex/Makefile @@ -18,4 +18,6 @@ GH_ACCOUNT= BjRo MIX_REWRITE= yes MIX_BUILD_NAME= shared +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/devel/elixir-bson/Makefile b/devel/elixir-bson/Makefile index 8b0237bc20b3..a05d4ed32305 100644 --- a/devel/elixir-bson/Makefile +++ b/devel/elixir-bson/Makefile @@ -17,4 +17,6 @@ GH_ACCOUNT= checkiz ELIXIR_APP_NAME=bson +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/devel/elixir-cachex/Makefile b/devel/elixir-cachex/Makefile index c546ebe2e818..e0e4e77c098b 100644 --- a/devel/elixir-cachex/Makefile +++ b/devel/elixir-cachex/Makefile @@ -20,4 +20,6 @@ MIX_BUILD_DEPS= devel/elixir-eternal \ MIX_RUN_DEPS:= ${MIX_BUILD_DEPS} MIX_REWRITE= yes +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/devel/elixir-calendar/Makefile b/devel/elixir-calendar/Makefile index 13af08bbfa87..9b7b9f500467 100644 --- a/devel/elixir-calendar/Makefile +++ b/devel/elixir-calendar/Makefile @@ -19,4 +19,6 @@ MIX_BUILD_DEPS= devel/elixir-tzdata MIX_RUN_DEPS:= ${MIX_BUILD_DEPS} MIX_REWRITE= yes +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/devel/elixir-combine/Makefile b/devel/elixir-combine/Makefile index c4b27c176a0d..a66ac00e119c 100644 --- a/devel/elixir-combine/Makefile +++ b/devel/elixir-combine/Makefile @@ -16,4 +16,6 @@ GH_ACCOUNT= bitwalker MIX_REWRITE= yes +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/devel/elixir-conform/Makefile b/devel/elixir-conform/Makefile index 3733de300aa1..81e56c91ded0 100644 --- a/devel/elixir-conform/Makefile +++ b/devel/elixir-conform/Makefile @@ -18,4 +18,6 @@ GH_ACCOUNT= bitwalker MIX_BUILD_DEPS= devel/erlang-neotoma MIX_RUN_DEPS:= ${MIX_BUILD_DEPS} +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/devel/elixir-connection/Makefile b/devel/elixir-connection/Makefile index e1e3e86e9b3f..3bf5b5a498a9 100644 --- a/devel/elixir-connection/Makefile +++ b/devel/elixir-connection/Makefile @@ -17,4 +17,6 @@ GH_ACCOUNT= fishcakez MIX_REWRITE= yes +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/devel/elixir-coverex/Makefile b/devel/elixir-coverex/Makefile index 7add0e712818..499d223d2a03 100644 --- a/devel/elixir-coverex/Makefile +++ b/devel/elixir-coverex/Makefile @@ -18,4 +18,6 @@ USES= elixir USE_GITHUB= yes GH_ACCOUNT= alfert +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/devel/elixir-crontab/Makefile b/devel/elixir-crontab/Makefile index e36087a387b2..b0554f53b82b 100644 --- a/devel/elixir-crontab/Makefile +++ b/devel/elixir-crontab/Makefile @@ -19,4 +19,6 @@ MIX_BUILD_DEPS= devel/elixir-timex MIX_RUN_DEPS:= ${MIX_BUILD_DEPS} MIX_REWRITE= yes +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/devel/elixir-csv/Makefile b/devel/elixir-csv/Makefile index d7c34cf835a6..08030069e8d5 100644 --- a/devel/elixir-csv/Makefile +++ b/devel/elixir-csv/Makefile @@ -15,4 +15,6 @@ USES= elixir USE_GITHUB= yes GH_ACCOUNT= beatrichartz +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/devel/elixir-decimal/Makefile b/devel/elixir-decimal/Makefile index eb5d4ea536b2..325029cc590c 100644 --- a/devel/elixir-decimal/Makefile +++ b/devel/elixir-decimal/Makefile @@ -15,4 +15,6 @@ USES= elixir USE_GITHUB= yes GH_ACCOUNT= ericmj +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/devel/elixir-deppie/Makefile b/devel/elixir-deppie/Makefile index af56fa132a9f..a627344f7cca 100644 --- a/devel/elixir-deppie/Makefile +++ b/devel/elixir-deppie/Makefile @@ -17,4 +17,6 @@ GH_ACCOUNT= whitfin MIX_REWRITE= yes +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/devel/elixir-dialyze/Makefile b/devel/elixir-dialyze/Makefile index ac1e6e90be73..60502453ce44 100644 --- a/devel/elixir-dialyze/Makefile +++ b/devel/elixir-dialyze/Makefile @@ -15,4 +15,6 @@ USES= elixir USE_GITHUB= yes GH_ACCOUNT= fishcakez +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/devel/elixir-distillery/Makefile b/devel/elixir-distillery/Makefile index 389a20b9140a..815bcd1083bd 100644 --- a/devel/elixir-distillery/Makefile +++ b/devel/elixir-distillery/Makefile @@ -14,4 +14,6 @@ USES= elixir USE_GITHUB= yes GH_ACCOUNT= bitwalker +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/devel/elixir-estree/Makefile b/devel/elixir-estree/Makefile index d5fdc09bb5b7..db1ca60c2756 100644 --- a/devel/elixir-estree/Makefile +++ b/devel/elixir-estree/Makefile @@ -16,4 +16,6 @@ GH_ACCOUNT= bryanjos ELIXIR_APP_NAME=estree +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/devel/elixir-eternal/Makefile b/devel/elixir-eternal/Makefile index 68709db234d7..fb783a00b55f 100644 --- a/devel/elixir-eternal/Makefile +++ b/devel/elixir-eternal/Makefile @@ -19,4 +19,6 @@ MIX_BUILD_DEPS= devel/elixir-deppie MIX_RUN_DEPS:= ${MIX_BUILD_DEPS} MIX_REWRITE= yes +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/devel/elixir-exactor/Makefile b/devel/elixir-exactor/Makefile index 1a09f02bc44d..3a7f7929bce3 100644 --- a/devel/elixir-exactor/Makefile +++ b/devel/elixir-exactor/Makefile @@ -16,4 +16,6 @@ GH_ACCOUNT= sasa1977 MIX_REWRITE= yes +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/devel/elixir-excoveralls/Makefile b/devel/elixir-excoveralls/Makefile index 80d97915906b..12d53b6bf15f 100644 --- a/devel/elixir-excoveralls/Makefile +++ b/devel/elixir-excoveralls/Makefile @@ -18,4 +18,6 @@ USES= elixir USE_GITHUB= yes GH_ACCOUNT= parroty +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/devel/elixir-exjsx/Makefile b/devel/elixir-exjsx/Makefile index edbe5b7567ec..87f8ccc5ae23 100644 --- a/devel/elixir-exjsx/Makefile +++ b/devel/elixir-exjsx/Makefile @@ -17,4 +17,6 @@ GH_ACCOUNT= talentdeficit MIX_BUILD_DEPS= devel/erlang-jsx MIX_RUN_DEPS:= ${MIX_BUILD_DEPS} +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/devel/elixir-exprotobuf/Makefile b/devel/elixir-exprotobuf/Makefile index 1b7c0f78a1d0..9a2282e9cb71 100644 --- a/devel/elixir-exprotobuf/Makefile +++ b/devel/elixir-exprotobuf/Makefile @@ -17,6 +17,8 @@ GH_ACCOUNT= bitwalker MIX_BUILD_DEPS= devel/erlang-gpb MIX_RUN_DEPS:= ${MIX_BUILD_DEPS} +OPTIONS_DEFINE= DOCS + pre-build: @${MKDIR} ${WRKSRC}/deps ${LN} -s -f ${LOCALBASE}/lib/erlang/lib/gpb-* ${WRKSRC}/deps/gpb diff --git a/devel/elixir-gen_stage/Makefile b/devel/elixir-gen_stage/Makefile index 4a97fad4f4e1..91bb9f3529d7 100644 --- a/devel/elixir-gen_stage/Makefile +++ b/devel/elixir-gen_stage/Makefile @@ -18,4 +18,6 @@ GH_ACCOUNT= elixir-lang ELIXIR_APP_NAME=gen_stage MIX_REWRITE= yes +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/devel/elixir-gen_state_machine/Makefile b/devel/elixir-gen_state_machine/Makefile index fdc5ccaaefe2..a94fdc94e6c4 100644 --- a/devel/elixir-gen_state_machine/Makefile +++ b/devel/elixir-gen_state_machine/Makefile @@ -17,4 +17,6 @@ GH_ACCOUNT= antipax MIX_REWRITE= yes +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/devel/elixir-gettext/Makefile b/devel/elixir-gettext/Makefile index 9dd804186b3f..e79c76be9097 100644 --- a/devel/elixir-gettext/Makefile +++ b/devel/elixir-gettext/Makefile @@ -17,4 +17,6 @@ GH_ACCOUNT= elixir-lang MIX_REWRITE= yes +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/devel/elixir-hex/Makefile b/devel/elixir-hex/Makefile index ffedca329cdd..5574ccac2894 100644 --- a/devel/elixir-hex/Makefile +++ b/devel/elixir-hex/Makefile @@ -15,4 +15,6 @@ USES= elixir USE_GITHUB= yes GH_ACCOUNT= hexpm +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/devel/elixir-inflex/Makefile b/devel/elixir-inflex/Makefile index 46c6d501f7cf..b5ebf72f86ea 100644 --- a/devel/elixir-inflex/Makefile +++ b/devel/elixir-inflex/Makefile @@ -15,4 +15,6 @@ USES= elixir USE_GITHUB= yes GH_ACCOUNT= nurugger07 +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/devel/elixir-lager_logger/Makefile b/devel/elixir-lager_logger/Makefile index 358ca0357ac0..b4d9f5ca60c0 100644 --- a/devel/elixir-lager_logger/Makefile +++ b/devel/elixir-lager_logger/Makefile @@ -17,4 +17,6 @@ USES= elixir USE_GITHUB= yes GH_ACCOUNT= PSPDFKit-labs +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/devel/elixir-libring/Makefile b/devel/elixir-libring/Makefile index 3ed849fb9363..c026cd3c73cc 100644 --- a/devel/elixir-libring/Makefile +++ b/devel/elixir-libring/Makefile @@ -16,4 +16,6 @@ GH_ACCOUNT= bitwalker MIX_REWRITE= yes +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/devel/elixir-make/Makefile b/devel/elixir-make/Makefile index 8f409b08b58f..854c684ddef5 100644 --- a/devel/elixir-make/Makefile +++ b/devel/elixir-make/Makefile @@ -18,4 +18,6 @@ GH_PROJECT= elixir_make ELIXIR_APP_NAME=elixir_make +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/devel/elixir-math/Makefile b/devel/elixir-math/Makefile index e841fe2093f9..1477c0c2e814 100644 --- a/devel/elixir-math/Makefile +++ b/devel/elixir-math/Makefile @@ -17,4 +17,6 @@ GH_ACCOUNT= folz MIX_REWRITE= yes +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/devel/elixir-msgpax/Makefile b/devel/elixir-msgpax/Makefile index 684a60ad366b..173c9b65f923 100644 --- a/devel/elixir-msgpax/Makefile +++ b/devel/elixir-msgpax/Makefile @@ -17,4 +17,6 @@ GH_ACCOUNT= lexmag MIX_REWRITE= yes +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/devel/elixir-nadia/Makefile b/devel/elixir-nadia/Makefile index b50ed06eb9ee..395746a09b11 100644 --- a/devel/elixir-nadia/Makefile +++ b/devel/elixir-nadia/Makefile @@ -20,4 +20,6 @@ MIX_BUILD_DEPS= devel/elixir-poison \ MIX_RUN_DEPS:= ${MIX_BUILD_DEPS} MIX_REWRITE= yes +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/devel/elixir-nats/Makefile b/devel/elixir-nats/Makefile index 1d383283ca17..ae40dba2578f 100644 --- a/devel/elixir-nats/Makefile +++ b/devel/elixir-nats/Makefile @@ -16,4 +16,6 @@ GH_ACCOUNT= nats-io MIX_REWRITE= yes ELIXIR_APP_NAME=nats +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/devel/elixir-nimble_csv/Makefile b/devel/elixir-nimble_csv/Makefile index fea904a4f7b2..1de9a5f24561 100644 --- a/devel/elixir-nimble_csv/Makefile +++ b/devel/elixir-nimble_csv/Makefile @@ -17,4 +17,6 @@ GH_ACCOUNT= plataformatec MIX_REWRITE= yes +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/devel/elixir-paratize/Makefile b/devel/elixir-paratize/Makefile index 08572f3d5f9f..e7060f075578 100644 --- a/devel/elixir-paratize/Makefile +++ b/devel/elixir-paratize/Makefile @@ -17,4 +17,6 @@ GH_ACCOUNT= seantanly ELIXIR_APP_NAME=paratize MIX_REWRITE= yes +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/devel/elixir-plug/Makefile b/devel/elixir-plug/Makefile index abe1d4bfa93c..9e0959b99a16 100644 --- a/devel/elixir-plug/Makefile +++ b/devel/elixir-plug/Makefile @@ -19,4 +19,6 @@ MIX_BUILD_DEPS= misc/elixir-mime MIX_RUN_DEPS:= ${MIX_BUILD_DEPS} MIX_REWRITE= yes +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/devel/elixir-poison/Makefile b/devel/elixir-poison/Makefile index 6304880df1d4..8ba24c4eddab 100644 --- a/devel/elixir-poison/Makefile +++ b/devel/elixir-poison/Makefile @@ -16,4 +16,6 @@ GH_ACCOUNT= devinus MIX_REWRITE= yes +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/devel/elixir-quantum/Makefile b/devel/elixir-quantum/Makefile index f64a16ecf254..1f10460e4c87 100644 --- a/devel/elixir-quantum/Makefile +++ b/devel/elixir-quantum/Makefile @@ -25,4 +25,6 @@ MIX_BUILD_DEPS= devel/elixir-calendar \ MIX_RUN_DEPS:= ${MIX_BUILD_DEPS} MIX_REWRITE= yes +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/devel/elixir-smppex/Makefile b/devel/elixir-smppex/Makefile index 84eb4262349d..e19f9beae853 100644 --- a/devel/elixir-smppex/Makefile +++ b/devel/elixir-smppex/Makefile @@ -19,4 +19,6 @@ MIX_BUILD_DEPS= net/erlang-ranch MIX_RUN_DEPS:= ${MIX_BUILD_DEPS} MIX_REWRITE= yes +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/devel/elixir-swarm/Makefile b/devel/elixir-swarm/Makefile index 91401d090a1a..fe377f78db98 100644 --- a/devel/elixir-swarm/Makefile +++ b/devel/elixir-swarm/Makefile @@ -20,4 +20,6 @@ MIX_BUILD_DEPS= devel/elixir-gen_state_machine \ MIX_RUN_DEPS:= ${MIX_BUILD_DEPS} MIX_REWRITE= yes +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/devel/elixir-timex/Makefile b/devel/elixir-timex/Makefile index b3ec1dbc522c..40fdb6acee96 100644 --- a/devel/elixir-timex/Makefile +++ b/devel/elixir-timex/Makefile @@ -21,4 +21,6 @@ MIX_BUILD_DEPS= devel/elixir-combine \ MIX_RUN_DEPS:= ${MIX_BUILD_DEPS} MIX_REWRITE= yes +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/devel/elixir-tirexs/Makefile b/devel/elixir-tirexs/Makefile index 9b9828ca39ee..f5bde378013c 100644 --- a/devel/elixir-tirexs/Makefile +++ b/devel/elixir-tirexs/Makefile @@ -20,4 +20,6 @@ GH_ACCOUNT= Zatvobor MIX_BUILD_DEPS= devel/elixir-exjsx MIX_RUN_DEPS:= ${MIX_BUILD_DEPS} +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/devel/elixir-trailing_format_plug/Makefile b/devel/elixir-trailing_format_plug/Makefile index b057814d6b5e..5eb592a2a15c 100644 --- a/devel/elixir-trailing_format_plug/Makefile +++ b/devel/elixir-trailing_format_plug/Makefile @@ -19,4 +19,6 @@ MIX_BUILD_DEPS= devel/elixir-plug MIX_RUN_DEPS:= ${MIX_BUILD_DEPS} MIX_REWRITE= yes +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/devel/elixir-tzdata/Makefile b/devel/elixir-tzdata/Makefile index e3b0ab20eb32..860409fd2ddd 100644 --- a/devel/elixir-tzdata/Makefile +++ b/devel/elixir-tzdata/Makefile @@ -19,6 +19,8 @@ MIX_BUILD_DEPS= www/elixir-httpoison \ www/erlang-hackney MIX_REWRITE= yes +OPTIONS_DEFINE= DOCS + post-extract: @${RM} ${WRKSRC}/priv/release_ets/.gitkeep diff --git a/devel/elixir-unsafe/Makefile b/devel/elixir-unsafe/Makefile index 7d63d41a9c6a..20f29ebea7ce 100644 --- a/devel/elixir-unsafe/Makefile +++ b/devel/elixir-unsafe/Makefile @@ -17,4 +17,6 @@ GH_ACCOUNT= whitfin MIX_REWRITE= yes +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/devel/eric6/Makefile b/devel/eric6/Makefile index 9dda49c0ed33..930c72db4333 100644 --- a/devel/eric6/Makefile +++ b/devel/eric6/Makefile @@ -29,6 +29,8 @@ PORTDATA= * PORTDOCS= * PORTEXAMPLES= * +OPTIONS_DEFINE= DOCS + .include "${.CURDIR}/bsd.eric6.mk" .include <bsd.port.options.mk> diff --git a/devel/erlang-backoff/Makefile b/devel/erlang-backoff/Makefile index 0905c5fa9246..93776e7c2777 100644 --- a/devel/erlang-backoff/Makefile +++ b/devel/erlang-backoff/Makefile @@ -14,4 +14,6 @@ USES= erlang:rebar3 USE_GITHUB= yes GH_ACCOUNT= ferd +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/devel/erlang-bbmustache/Makefile b/devel/erlang-bbmustache/Makefile index 0158cfa20018..3521ea14cf22 100644 --- a/devel/erlang-bbmustache/Makefile +++ b/devel/erlang-bbmustache/Makefile @@ -15,4 +15,6 @@ USES= erlang:rebar3 USE_GITHUB= yes GH_ACCOUNT= soranoba +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/devel/erlang-bear/Makefile b/devel/erlang-bear/Makefile index bdfa01ce6696..bab30ba46a76 100644 --- a/devel/erlang-bear/Makefile +++ b/devel/erlang-bear/Makefile @@ -14,4 +14,6 @@ USES= erlang:rebar USE_GITHUB= yes GH_ACCOUNT= puzza007 +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/devel/erlang-certifi/Makefile b/devel/erlang-certifi/Makefile index 3ac05ca70c4a..b30af044a122 100644 --- a/devel/erlang-certifi/Makefile +++ b/devel/erlang-certifi/Makefile @@ -17,4 +17,6 @@ GH_ACCOUNT= certifi ERL_APP_NAME= certifi +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/devel/erlang-cf/Makefile b/devel/erlang-cf/Makefile index 3c5838894f17..816f64b982f3 100644 --- a/devel/erlang-cf/Makefile +++ b/devel/erlang-cf/Makefile @@ -15,4 +15,6 @@ USES= erlang:rebar3 USE_GITHUB= yes GH_ACCOUNT= project-fifo +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/devel/erlang-clique/Makefile b/devel/erlang-clique/Makefile index 6f68514a5dce..cd940711e8d6 100644 --- a/devel/erlang-clique/Makefile +++ b/devel/erlang-clique/Makefile @@ -17,4 +17,6 @@ GH_ACCOUNT= basho ERL_BUILD_DEPS= devel/erlang-cuttlefish ERL_RUN_DEPS:= ${ERL_BUILD_DEPS} +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/devel/erlang-cuttlefish/Makefile b/devel/erlang-cuttlefish/Makefile index 76e38f241d6e..0e983d27b507 100644 --- a/devel/erlang-cuttlefish/Makefile +++ b/devel/erlang-cuttlefish/Makefile @@ -21,4 +21,6 @@ ERL_BUILD_DEPS= devel/erlang-getopt \ devel/erlang-neotoma ERL_RUN_DEPS:= ${ERL_BUILD_DEPS} +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/devel/erlang-erlware_commons/Makefile b/devel/erlang-erlware_commons/Makefile index 0cba28d5bcc7..4d3ad6f99bca 100644 --- a/devel/erlang-erlware_commons/Makefile +++ b/devel/erlang-erlware_commons/Makefile @@ -17,4 +17,6 @@ GH_ACCOUNT= erlware ERL_BUILD_DEPS= devel/erlang-cf ERL_RUN_DEPS:= ${ERL_BUILD_DEPS} +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/devel/erlang-exmpp/Makefile b/devel/erlang-exmpp/Makefile index 78d6dddcc94a..f40e4be8a488 100644 --- a/devel/erlang-exmpp/Makefile +++ b/devel/erlang-exmpp/Makefile @@ -36,6 +36,8 @@ PLIST_SUB= VERSION=${PORTVERSION} USES= autoreconf cpe libtool pkgconfig ssl CPE_VENDOR= process-one +OPTIONS_DEFINE= DOCS + DOCS_CONFIGURE_ENABLE= documentation MAKE_JOBS_UNSAFE= yes diff --git a/devel/erlang-folsom/Makefile b/devel/erlang-folsom/Makefile index e54c6e54ed8d..33de8dcc36db 100644 --- a/devel/erlang-folsom/Makefile +++ b/devel/erlang-folsom/Makefile @@ -17,4 +17,6 @@ GH_ACCOUNT= puzza007 ERL_BUILD_DEPS= devel/erlang-bear ERL_RUN_DEPS:= ${ERL_BUILD_DEPS} +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/devel/erlang-gen_leader/Makefile b/devel/erlang-gen_leader/Makefile index 781371dc5d8a..19d8be07a4ad 100644 --- a/devel/erlang-gen_leader/Makefile +++ b/devel/erlang-gen_leader/Makefile @@ -15,6 +15,8 @@ GH_ACCOUNT= garret-smith GH_PROJECT= gen_leader_revival GH_TAGNAME= a12a4e3 +OPTIONS_DEFINE= DOCS + post-install: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR} diff --git a/devel/erlang-gen_rpc/Makefile b/devel/erlang-gen_rpc/Makefile index ac260e4e7786..9afe5c1d5a89 100644 --- a/devel/erlang-gen_rpc/Makefile +++ b/devel/erlang-gen_rpc/Makefile @@ -18,4 +18,6 @@ ERL_BUILD_DEPS= devel/erlang-hut \ devel/erlang-ssl_verify_fun ERL_RUN_DEPS:= ${ERL_BUILD_DEPS} +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/devel/erlang-gen_smtp/Makefile b/devel/erlang-gen_smtp/Makefile index 43362c24d724..0738ababe8b4 100644 --- a/devel/erlang-gen_smtp/Makefile +++ b/devel/erlang-gen_smtp/Makefile @@ -14,4 +14,6 @@ USES= erlang:rebar USE_GITHUB= yes GH_ACCOUNT= Vagabond +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/devel/erlang-getopt/Makefile b/devel/erlang-getopt/Makefile index 457254879529..9f16b73301f2 100644 --- a/devel/erlang-getopt/Makefile +++ b/devel/erlang-getopt/Makefile @@ -15,4 +15,6 @@ USES= erlang:rebar3 USE_GITHUB= yes GH_ACCOUNT= jcomellas +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/devel/erlang-goldrush/Makefile b/devel/erlang-goldrush/Makefile index 224368701d54..51f362701d14 100644 --- a/devel/erlang-goldrush/Makefile +++ b/devel/erlang-goldrush/Makefile @@ -14,6 +14,8 @@ USES= erlang:rebar USE_GITHUB= yes GH_ACCOUNT= DeadZen +OPTIONS_DEFINE= DOCS + post-build: @${RM} -r ${WRKSRC}/priv diff --git a/devel/erlang-gpb/Makefile b/devel/erlang-gpb/Makefile index 28713bd1b38c..03b43929e81a 100644 --- a/devel/erlang-gpb/Makefile +++ b/devel/erlang-gpb/Makefile @@ -18,6 +18,8 @@ USES= erlang:rebar USE_GITHUB= yes GH_ACCOUNT= tomas-abrahamsson +OPTIONS_DEFINE= DOCS + post-install: @${MKDIR} ${STAGEDIR}${ERL_APP_ROOT}/bin ${INSTALL_SCRIPT} ${WRKSRC}/bin/protoc-erl ${STAGEDIR}${ERL_APP_ROOT}/bin diff --git a/devel/erlang-gproc/Makefile b/devel/erlang-gproc/Makefile index 75538ad5ece5..d2fa56686439 100644 --- a/devel/erlang-gproc/Makefile +++ b/devel/erlang-gproc/Makefile @@ -19,4 +19,6 @@ GH_ACCOUNT= uwiger ERL_DOCS= doc/* +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/devel/erlang-hut/Makefile b/devel/erlang-hut/Makefile index 98ec727cc46e..0e25a33509a7 100644 --- a/devel/erlang-hut/Makefile +++ b/devel/erlang-hut/Makefile @@ -15,4 +15,6 @@ USES= erlang:rebar USE_GITHUB= yes GH_ACCOUNT= tolbrino +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/devel/erlang-jobs/Makefile b/devel/erlang-jobs/Makefile index 3cb233fbb77a..f26dc89f4173 100644 --- a/devel/erlang-jobs/Makefile +++ b/devel/erlang-jobs/Makefile @@ -16,6 +16,8 @@ ERL_BUILD_DEPS= devel/erlang-parse_trans ERL_RUN_DEPS:= ${ERL_BUILD_DEPS} ERL_DOCS= doc/* +OPTIONS_DEFINE= DOCS + post-install: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR} diff --git a/devel/erlang-jsx/Makefile b/devel/erlang-jsx/Makefile index 75c278af66c4..62686af48f75 100644 --- a/devel/erlang-jsx/Makefile +++ b/devel/erlang-jsx/Makefile @@ -14,4 +14,6 @@ USES= erlang:rebar USE_GITHUB= yes GH_ACCOUNT= talentdeficit +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/devel/erlang-jsxd/Makefile b/devel/erlang-jsxd/Makefile index 66dd3625e6ee..273a0adbe2ce 100644 --- a/devel/erlang-jsxd/Makefile +++ b/devel/erlang-jsxd/Makefile @@ -14,4 +14,6 @@ USES= erlang:rebar USE_GITHUB= yes GH_ACCOUNT= Licenser +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/devel/erlang-katana/Makefile b/devel/erlang-katana/Makefile index c15d9d4e18de..f2c29700331c 100644 --- a/devel/erlang-katana/Makefile +++ b/devel/erlang-katana/Makefile @@ -13,4 +13,6 @@ USES= erlang:rebar USE_GITHUB= yes GH_ACCOUNT= inaka +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/devel/erlang-lager/Makefile b/devel/erlang-lager/Makefile index c05614b5df35..9e9fa551b609 100644 --- a/devel/erlang-lager/Makefile +++ b/devel/erlang-lager/Makefile @@ -16,6 +16,8 @@ GH_ACCOUNT= basho ERL_RUN_DEPS= devel/erlang-goldrush +OPTIONS_DEFINE= DOCS + post-build: @${RM} -r ${WRKSRC}/priv diff --git a/devel/erlang-lager_syslog/Makefile b/devel/erlang-lager_syslog/Makefile index cf50ed4ed7d6..7e4068eb5e17 100644 --- a/devel/erlang-lager_syslog/Makefile +++ b/devel/erlang-lager_syslog/Makefile @@ -18,4 +18,6 @@ ERL_BUILD_DEPS= devel/erlang-lager \ devel/erlang-syslog RUN_DEPENDS:= ${BUILD_DEPENDS} +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/devel/erlang-meck/Makefile b/devel/erlang-meck/Makefile index 6b18c3a3103a..1f481da9dfd1 100644 --- a/devel/erlang-meck/Makefile +++ b/devel/erlang-meck/Makefile @@ -14,4 +14,6 @@ USES= erlang:rebar USE_GITHUB= yes GH_ACCOUNT= eproxus +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/devel/erlang-metrics/Makefile b/devel/erlang-metrics/Makefile index a11618e8fbfe..539b0884e17e 100644 --- a/devel/erlang-metrics/Makefile +++ b/devel/erlang-metrics/Makefile @@ -16,4 +16,6 @@ GH_ACCOUNT= benoitc ERL_APP_NAME= metrics +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/devel/erlang-msgpack/Makefile b/devel/erlang-msgpack/Makefile index c72b247dd6b6..e29ade4db207 100644 --- a/devel/erlang-msgpack/Makefile +++ b/devel/erlang-msgpack/Makefile @@ -16,4 +16,6 @@ USE_GITHUB= yes GH_ACCOUNT= msgpack GH_PROJECT= msgpack-erlang +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/devel/erlang-neotoma/Makefile b/devel/erlang-neotoma/Makefile index 34bb5894b80a..a49865b08baa 100644 --- a/devel/erlang-neotoma/Makefile +++ b/devel/erlang-neotoma/Makefile @@ -20,6 +20,8 @@ GH_ACCOUNT= seancribbs REBAR_TARGETS= compile escriptize +OPTIONS_DEFINE= DOCS + post-install: ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${ERL_APP_ROOT} ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin diff --git a/devel/erlang-parse_trans/Makefile b/devel/erlang-parse_trans/Makefile index 8835d59f728a..c317581d2b19 100644 --- a/devel/erlang-parse_trans/Makefile +++ b/devel/erlang-parse_trans/Makefile @@ -14,6 +14,8 @@ GH_ACCOUNT= uwiger ERL_DOCS= doc/* +OPTIONS_DEFINE= DOCS + post-install: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR} diff --git a/devel/erlang-poolboy/Makefile b/devel/erlang-poolboy/Makefile index a61b25a446b3..2e05899107c9 100644 --- a/devel/erlang-poolboy/Makefile +++ b/devel/erlang-poolboy/Makefile @@ -14,4 +14,6 @@ USES= erlang:rebar USE_GITHUB= yes GH_ACCOUNT= devinus +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/devel/erlang-pooler/Makefile b/devel/erlang-pooler/Makefile index 5c9c9bfdd096..7bde05bfca6a 100644 --- a/devel/erlang-pooler/Makefile +++ b/devel/erlang-pooler/Makefile @@ -14,4 +14,6 @@ USES= erlang:rebar USE_GITHUB= yes GH_ACCOUNT= seth +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/devel/erlang-protobuffs/Makefile b/devel/erlang-protobuffs/Makefile index 7f9119b63f62..bff25ae8d94d 100644 --- a/devel/erlang-protobuffs/Makefile +++ b/devel/erlang-protobuffs/Makefile @@ -18,4 +18,6 @@ USE_GITHUB= yes GH_ACCOUNT= basho GH_PROJECT= erlang_protobuffs +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/devel/erlang-providers/Makefile b/devel/erlang-providers/Makefile index 2f3cef84ccd2..8780e2d6efd1 100644 --- a/devel/erlang-providers/Makefile +++ b/devel/erlang-providers/Makefile @@ -17,4 +17,6 @@ GH_ACCOUNT= tsloughter ERL_BUILD_DEPS= devel/erlang-getopt ERL_RUN_DEPS:= ${ERL_BUILD_DEPS} +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/devel/erlang-rebar3_hex/Makefile b/devel/erlang-rebar3_hex/Makefile index 964b13f8a92a..4b7817aef392 100644 --- a/devel/erlang-rebar3_hex/Makefile +++ b/devel/erlang-rebar3_hex/Makefile @@ -15,4 +15,6 @@ USES= erlang:rebar USE_GITHUB= yes GH_ACCOUNT= hexpm +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/devel/erlang-recon/Makefile b/devel/erlang-recon/Makefile index eb0b599c6a30..001ccb407523 100644 --- a/devel/erlang-recon/Makefile +++ b/devel/erlang-recon/Makefile @@ -17,6 +17,8 @@ GH_ACCOUNT= ferd ERL_DOCS= README.md doc/* REBAR_TARGETS= compile doc +OPTIONS_DEFINE= DOCS + post-build: @${RM} ${WRKSRC}/doc/packages-frame.html diff --git a/devel/erlang-sbroker/Makefile b/devel/erlang-sbroker/Makefile index 25abc2f4a48e..ec85fc6eeee3 100644 --- a/devel/erlang-sbroker/Makefile +++ b/devel/erlang-sbroker/Makefile @@ -15,4 +15,6 @@ USES= erlang:rebar USE_GITHUB= yes GH_ACCOUNT= fishcakez +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/devel/erlang-ssl_verify_fun/Makefile b/devel/erlang-ssl_verify_fun/Makefile index a62612e79018..cbf0ff7ba080 100644 --- a/devel/erlang-ssl_verify_fun/Makefile +++ b/devel/erlang-ssl_verify_fun/Makefile @@ -15,4 +15,6 @@ USE_GITHUB= yes GH_ACCOUNT= deadtrickster GH_PROJECT= ssl_verify_fun.erl +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/devel/erlang-syslog/Makefile b/devel/erlang-syslog/Makefile index 97e27a0a05f0..0f154c3e2d89 100644 --- a/devel/erlang-syslog/Makefile +++ b/devel/erlang-syslog/Makefile @@ -13,4 +13,6 @@ USE_GITHUB= yes GH_ACCOUNT= Vagabond GH_PROJECT= ${PKGNAMEPREFIX}${PORTNAME} +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/devel/erlang-unicode_util_compat/Makefile b/devel/erlang-unicode_util_compat/Makefile index de59fdab8c91..46c04e3092b2 100644 --- a/devel/erlang-unicode_util_compat/Makefile +++ b/devel/erlang-unicode_util_compat/Makefile @@ -14,4 +14,6 @@ USES= gmake erlang:rebar3 USE_GITHUB= yes GH_ACCOUNT= benoitc +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/devel/fistgen/Makefile b/devel/fistgen/Makefile index c821129d84c5..25a7cd5db71c 100644 --- a/devel/fistgen/Makefile +++ b/devel/fistgen/Makefile @@ -20,6 +20,8 @@ PORTEXAMPLES= * PLIST_FILES= sbin/fistgen \ man/man8/fistgen.8.gz +OPTIONS_DEFINE= DOCS + post-install: @${MKDIR} ${STAGEDIR}${DATADIR} .for dir in templates diff --git a/devel/fpc-symbolic/Makefile b/devel/fpc-symbolic/Makefile index 5728e722a754..e36d5c56d899 100644 --- a/devel/fpc-symbolic/Makefile +++ b/devel/fpc-symbolic/Makefile @@ -12,4 +12,6 @@ MASTERDIR= ${.CURDIR}/../../lang/fpc WRKUNITDIR= ${FPCSRCDIR}/packages/${PKGNAMESUFFIX:S/-//} EXTRACTUNITDIR= ${WRKUNITDIR} +OPTIONS_DEFINE= DOCS + .include "${MASTERDIR}/Makefile" diff --git a/devel/fsmtrie/Makefile b/devel/fsmtrie/Makefile index 169cd396c3e4..a16515903afe 100644 --- a/devel/fsmtrie/Makefile +++ b/devel/fsmtrie/Makefile @@ -21,11 +21,12 @@ TEST_TARGET= check PORTDOCS= * -OPTIONS_DEFINE= DOXYGEN +OPTIONS_DEFINE= DOCS DOXYGEN OPTIONS_DEFAULT=DOXYGEN DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen DOXYGEN_ALL_TARGET= html-local +DOXYGEN_IMPLIES= DOCS CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib diff --git a/devel/fstrm/Makefile b/devel/fstrm/Makefile index 07ff5c4cf8b3..ac14447d057d 100644 --- a/devel/fstrm/Makefile +++ b/devel/fstrm/Makefile @@ -23,8 +23,9 @@ GNU_CONFIGURE= yes INSTALL_TARGET= install-strip TEST_TARGET= check -OPTIONS_DEFINE= DOXYGEN +OPTIONS_DEFINE= DOXYGEN DOCS DOXYGEN_DESC= Use doxygen for docs +DOXYGEN_IMPLIES= DOCS DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen DOXYGEN_ALL_TARGET= html-local diff --git a/devel/gb/Makefile b/devel/gb/Makefile index dffd240bf735..d9091211b030 100644 --- a/devel/gb/Makefile +++ b/devel/gb/Makefile @@ -19,6 +19,8 @@ PLIST_FILES= bin/gb bin/gb-vendor PORTDOCS= README.md +OPTIONS_DEFINE= DOCS + GO_PKGNAME= github.com/${GH_ACCOUNT}/${GH_PROJECT} GO_TARGET= ./... diff --git a/devel/geany-plugin-geanypy/Makefile b/devel/geany-plugin-geanypy/Makefile index 7519e9fddffb..20b6c57162ad 100644 --- a/devel/geany-plugin-geanypy/Makefile +++ b/devel/geany-plugin-geanypy/Makefile @@ -10,5 +10,7 @@ COMMENT= Geany plugin: ${${GEANY_PLUGIN}_DESC} USES= python:2.7 USE_GNOME= pygtk2 +OPTIONS_DEFINE= DOCS + .include "${.CURDIR}/../geany-plugins/files/Makefile.common" .include <bsd.port.mk> diff --git a/devel/geany-plugin-git-changebar/Makefile b/devel/geany-plugin-git-changebar/Makefile index 0ce8bbd5a6a3..83659dc53007 100644 --- a/devel/geany-plugin-git-changebar/Makefile +++ b/devel/geany-plugin-git-changebar/Makefile @@ -9,5 +9,7 @@ COMMENT= Geany plugin: ${${GEANY_PLUGIN}_DESC} LIB_DEPENDS= libgit2.so:devel/libgit2 +OPTIONS_DEFINE= DOCS + .include "${.CURDIR}/../geany-plugins/files/Makefile.common" .include <bsd.port.mk> diff --git a/devel/geany-plugin-markdown/Makefile b/devel/geany-plugin-markdown/Makefile index 6bff3802ad2e..1aade70ce5ef 100644 --- a/devel/geany-plugin-markdown/Makefile +++ b/devel/geany-plugin-markdown/Makefile @@ -10,5 +10,7 @@ COMMENT= Geany plugin: ${${GEANY_PLUGIN}_DESC} LIB_DEPENDS= libwebkitgtk-1.0.so:www/webkit-gtk2 \ libsoup-2.4.so:devel/libsoup +OPTIONS_DEFINE= DOCS + .include "${.CURDIR}/../geany-plugins/files/Makefile.common" .include <bsd.port.mk> diff --git a/devel/geany-plugin-projectorganizer/Makefile b/devel/geany-plugin-projectorganizer/Makefile index 808066a04e63..946581a25f2c 100644 --- a/devel/geany-plugin-projectorganizer/Makefile +++ b/devel/geany-plugin-projectorganizer/Makefile @@ -7,5 +7,7 @@ CATEGORIES= devel MAINTAINER= madpilot@FreeBSD.org COMMENT= Geany plugin: ${${GEANY_PLUGIN}_DESC} +OPTIONS_DEFINE= DOCS + .include "${.CURDIR}/../geany-plugins/files/Makefile.common" .include <bsd.port.mk> diff --git a/devel/geany-plugin-utilslib/Makefile b/devel/geany-plugin-utilslib/Makefile index 063e47ad4f08..8b45649d133c 100644 --- a/devel/geany-plugin-utilslib/Makefile +++ b/devel/geany-plugin-utilslib/Makefile @@ -7,5 +7,7 @@ CATEGORIES= devel MAINTAINER= madpilot@FreeBSD.org COMMENT= Geany plugin: ${${GEANY_PLUGIN}_DESC} +OPTIONS_DEFINE= DOCS + .include "${.CURDIR}/../geany-plugins/files/Makefile.common" .include <bsd.port.mk> diff --git a/devel/gengetopt/Makefile b/devel/gengetopt/Makefile index 0e37e7969b8e..5bbfd55a26bc 100644 --- a/devel/gengetopt/Makefile +++ b/devel/gengetopt/Makefile @@ -29,6 +29,8 @@ DOC_EXAMPLES= README.example cmdline1.c cmdline1.h cmdline2.c cmdline2.h \ TESTS_EXAMPLES= test_manual_help.c test_manual_help_cmd.c \ test_manual_help_cmd.ggo test_manual_help_cmd.h +OPTIONS_DEFINE= DOCS + post-install: ${INSTALL_MAN} ${WRKSRC}/doc/${PORTNAME}.1 \ ${STAGEDIR}${MAN1PREFIX}/man/man1/ diff --git a/devel/git-cinnabar/Makefile b/devel/git-cinnabar/Makefile index 0e86b8424e5d..c562dcf01371 100644 --- a/devel/git-cinnabar/Makefile +++ b/devel/git-cinnabar/Makefile @@ -30,6 +30,8 @@ DATADIR= ${PREFIX}/libexec/git-core PORTDATA= * PORTDOCS= README.md +OPTIONS_DEFINE= DOCS + post-configure: @${TAR} cf - -C$$(${MAKE} -V WRKSRC -C ${PORTSDIR}/devel/git) . | \ ${TAR} xof - -C${WRKSRC}/git-core diff --git a/devel/git-cola/Makefile b/devel/git-cola/Makefile index 2c5adc28b0d0..ba27361e8016 100644 --- a/devel/git-cola/Makefile +++ b/devel/git-cola/Makefile @@ -25,4 +25,6 @@ NO_ARCH= yes MAKE_ARGS= prefix=${PREFIX} PYTHON=${PYTHON_CMD} +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/devel/glib20-reference/bsd.gnome-reference.mk b/devel/glib20-reference/bsd.gnome-reference.mk index 3312475b5cba..73398f288023 100644 --- a/devel/glib20-reference/bsd.gnome-reference.mk +++ b/devel/glib20-reference/bsd.gnome-reference.mk @@ -32,6 +32,8 @@ BOOKS?= . PORTDOCS?= * +OPTIONS_DEFINE+= DOCS + .if !target(do-build) do-build: @${DO_NADA} diff --git a/devel/gnome-builder/Makefile b/devel/gnome-builder/Makefile index ddb2cd359ad5..71a9bfe97ca9 100644 --- a/devel/gnome-builder/Makefile +++ b/devel/gnome-builder/Makefile @@ -42,4 +42,6 @@ GLIB_SCHEMAS= org.gnome.builder.editor.gschema.xml \ org.gnome.builder.experimental.gschema.xml \ org.gnome.builder.project-tree.gschema.xml +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/devel/gprbuild/Makefile b/devel/gprbuild/Makefile index b88e407b6411..af2a2cd98a8b 100644 --- a/devel/gprbuild/Makefile +++ b/devel/gprbuild/Makefile @@ -26,7 +26,7 @@ BUILD_WRKSRC= ${WRKSRC}/construction INSTALL_WRKSRC= ${BUILD_WRKSRC} INSTALL_TARGET= install -#OPTIONS_DEFINE= DOCS +OPTIONS_DEFINE= DOCS #DOCS_BUILD_DEPENDS= sphinx-build:textproc/py-sphinx #DOCS_ALL_TARGET= gen-docs #DOCS_INSTALL_TARGET= install-docs diff --git a/devel/icmake/Makefile b/devel/icmake/Makefile index 55a9b4198dad..489756543fc9 100644 --- a/devel/icmake/Makefile +++ b/devel/icmake/Makefile @@ -35,6 +35,8 @@ GL_COMMIT= 8e3ac3057363162b87279bab1e9ba356eb0aea0f .include <bsd.port.options.mk> +OPTIONS_DEFINE= DOCS + post-patch: @${REINPLACE_CMD} -e 's|find|find .|g' \ ${WRKSRC}/icm_prepare diff --git a/devel/json-glib/Makefile b/devel/json-glib/Makefile index 37bccdae0f39..da03803008a1 100644 --- a/devel/json-glib/Makefile +++ b/devel/json-glib/Makefile @@ -11,7 +11,7 @@ COMMENT= JSON (RFC 4627) interface for Glib LICENSE= LGPL21 -OPTIONS_DEFINE= GIR +OPTIONS_DEFINE= GIR DOCS OPTIONS_DEFAULT=GIR OPTIONS_SUB= yes GIR_DESC= Build introspection data diff --git a/devel/judy/Makefile b/devel/judy/Makefile index 10241bcb4c20..478527e8992e 100644 --- a/devel/judy/Makefile +++ b/devel/judy/Makefile @@ -25,6 +25,8 @@ WRKSRC= ${WRKDIR}/${PORTNAME:tl}-${PORTVERSION} PORTDOCS= COPYRIGHT README *.htm +OPTIONS_DEFINE= DOCS + .include <bsd.port.pre.mk> .if ${ARCH} == armv6 || ${ARCH} == armv7 || ${ARCH} == i386 || ${ARCH} == mips || ${ARCH} == powerpc diff --git a/devel/kapptemplate/Makefile b/devel/kapptemplate/Makefile index 19128c416525..22609ac3595b 100644 --- a/devel/kapptemplate/Makefile +++ b/devel/kapptemplate/Makefile @@ -16,4 +16,6 @@ USE_KDE= auth archive codecs completion config configwidgets coreaddons \ USE_QT= core dbus gui network testlib widgets xml \ buildtools_build qmake_build +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/devel/kcachegrind/Makefile b/devel/kcachegrind/Makefile index d3ccc6416c65..02111ea7726e 100644 --- a/devel/kcachegrind/Makefile +++ b/devel/kcachegrind/Makefile @@ -18,7 +18,7 @@ SHEBANG_FILES= converters/hotshot2calltree.cmake \ converters/memprof2calltree \ converters/op2calltree converters/dprof2calltree -OPTIONS_DEFINE= DOT VALGRIND +OPTIONS_DEFINE= DOT VALGRIND DOCS DOT_DESC= Use GraphViz/dot to render call graphs DOT_RUN_DEPENDS= dot:graphics/graphviz diff --git a/devel/kde-dev-scripts/Makefile b/devel/kde-dev-scripts/Makefile index 3199d8b1567e..c8692470d5f2 100644 --- a/devel/kde-dev-scripts/Makefile +++ b/devel/kde-dev-scripts/Makefile @@ -26,4 +26,6 @@ SHEBANG_FILES= cxxmetric \ kde_generate_export_header \ zonetab2pot.py +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/devel/kde-dev-utils/Makefile b/devel/kde-dev-utils/Makefile index 387135580419..da33c72ecb98 100644 --- a/devel/kde-dev-utils/Makefile +++ b/devel/kde-dev-utils/Makefile @@ -14,4 +14,6 @@ USE_KDE= auth bookmarks codecs completion config configwidgets \ USE_QT= core dbus designer gui network widgets xml \ buildtools_build qmake_build +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/devel/kdesdk-thumbnailers/Makefile b/devel/kdesdk-thumbnailers/Makefile index 49a9850c55b4..69268fbadd7c 100644 --- a/devel/kdesdk-thumbnailers/Makefile +++ b/devel/kdesdk-thumbnailers/Makefile @@ -13,4 +13,6 @@ USE_KDE= completion config coreaddons ecm i18n jobwidgets \ USE_QT= core dbus gui network widgets xml \ buildtools_build qmake_build +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/devel/kio-extras/Makefile b/devel/kio-extras/Makefile index 645179e97cc3..ccb6a7353ff8 100644 --- a/devel/kio-extras/Makefile +++ b/devel/kio-extras/Makefile @@ -23,7 +23,7 @@ USE_QT= core dbus gui location network phonon4 printsupport qml quick \ buildtools_build qmake_build SHEBANG_FILES= info/kde-info2html -OPTIONS_DEFINE= SAMBA MTP EXR EXIV SLP SSH WEBENGINE TAGLIB +OPTIONS_DEFINE= SAMBA MTP EXR EXIV SLP SSH WEBENGINE TAGLIB DOCS OPTIONS_DEFAULT=SAMBA MTP EXR EXIV SLP SSH WEBENGINE TAGLIB OPTIONS_SUB= yes diff --git a/devel/libcutl/Makefile b/devel/libcutl/Makefile index 3f256695b5f4..7d286be50c16 100644 --- a/devel/libcutl/Makefile +++ b/devel/libcutl/Makefile @@ -33,4 +33,6 @@ CONFIGURE_ARGS= --disable-static \ --with-external-expat \ --with-pkgconfigdir=${PREFIX}/libdata/pkgconfig +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/devel/libdwarf/Makefile b/devel/libdwarf/Makefile index 59960d430828..305b8f7d7ab9 100644 --- a/devel/libdwarf/Makefile +++ b/devel/libdwarf/Makefile @@ -27,6 +27,8 @@ DOS2UNIX_GLOB= *.h PS_FILES= libdwarf2.1.pdf libdwarf2p.1.pdf mips_extensions.pdf +OPTIONS_DEFINE= DOCS + do-install: ${INSTALL_DATA} ${WRKSRC}/libdwarf.a ${STAGEDIR}${PREFIX}/lib ${INSTALL_DATA} ${WRKSRC}/dwarf.h ${STAGEDIR}${PREFIX}/include diff --git a/devel/libgit2-glib/Makefile b/devel/libgit2-glib/Makefile index 14c20645e211..19896bdad28c 100644 --- a/devel/libgit2-glib/Makefile +++ b/devel/libgit2-glib/Makefile @@ -28,4 +28,6 @@ INSTALLS_ICONS= yes CONFIGURE_ARGS= --disable-python INSTALL_TARGET= install-strip +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/devel/libiqxmlrpc/Makefile b/devel/libiqxmlrpc/Makefile index cc2a281d7c2b..1341ed43c69e 100644 --- a/devel/libiqxmlrpc/Makefile +++ b/devel/libiqxmlrpc/Makefile @@ -14,9 +14,10 @@ LICENSE= BSD2CLAUSE LIB_DEPENDS= libboost_thread.so:devel/boost-libs -OPTIONS_DEFINE= DOXYGEN +OPTIONS_DEFINE= DOXYGEN DOCS OPTIONS_DEFAULT= +DOXYGEN_IMPLIES= DOCS DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen DOXYGEN_CMAKE_OFF= -Dbuild_docs=off diff --git a/devel/libosmo-netif/Makefile b/devel/libosmo-netif/Makefile index 3eb7c3071e87..e2d427a8d7a1 100644 --- a/devel/libosmo-netif/Makefile +++ b/devel/libosmo-netif/Makefile @@ -22,11 +22,12 @@ INSTALL_TARGET= install-strip USE_LDCONFIG= yes PORTDOCS= * -OPTIONS_DEFINE= DOXYGEN DAHDI +OPTIONS_DEFINE= DOXYGEN DAHDI DOCS DOXYGEN_DESC= Build documentation DAHDI_DESC= Build DAHDI input driver +DOXYGEN_IMPLIES= DOCS DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen \ dot:graphics/graphviz DOXYGEN_CONFIGURE_ENV_OFF=ac_cv_path_DOXYGEN=false diff --git a/devel/libosmo-sccp/Makefile b/devel/libosmo-sccp/Makefile index fcbc2a9da500..b3938962b934 100644 --- a/devel/libosmo-sccp/Makefile +++ b/devel/libosmo-sccp/Makefile @@ -21,6 +21,8 @@ CONFLICTS_INSTALL=libmtp-[0-9]* # lib/libmtp.a USES= autoreconf libtool pathfix pkgconfig GNU_CONFIGURE= yes +OPTIONS_DEFINE= DOCS + post-patch: ${ECHO_CMD} ${PORTVERSION} > ${WRKSRC}/.tarball-version diff --git a/devel/libosmocore/Makefile b/devel/libosmocore/Makefile index da7aef98cf87..ab37bf9ab939 100644 --- a/devel/libosmocore/Makefile +++ b/devel/libosmocore/Makefile @@ -29,7 +29,9 @@ PORTDOCS= * SHEBANG_FILES= utils/conv_codes_gsm.py utils/conv_gen.py python_OLD_CMD= /usr/bin/python2 -OPTIONS_DEFINE= DOXYGEN +OPTIONS_DEFINE= DOXYGEN DOCS + +DOXYGEN_IMPLIES= DOCS DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen \ dot:graphics/graphviz DOXYGEN_CONFIGURE_ENV_OFF=ac_cv_path_DOXYGEN=false diff --git a/devel/libqb/Makefile b/devel/libqb/Makefile index 69b5f3131183..e12fe92b3d8c 100644 --- a/devel/libqb/Makefile +++ b/devel/libqb/Makefile @@ -31,9 +31,10 @@ PATHFIX_MAKEFILEIN= Makefile.am INSTALL_TARGET= install-strip TEST_TARGET= check -OPTIONS_DEFINE= DOXYGEN +OPTIONS_DEFINE= DOCS DOXYGEN OPTIONS_SUB= yes +DOXYGEN_IMPLIES= DOCS DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen post-install: diff --git a/devel/libxo/Makefile b/devel/libxo/Makefile index 52920e4ae577..7437e8a3cf85 100644 --- a/devel/libxo/Makefile +++ b/devel/libxo/Makefile @@ -17,4 +17,6 @@ GNU_CONFIGURE= yes INSTALL_TARGET= install-strip USE_PERL5= run +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/devel/linux-c6-dbus-glib/Makefile b/devel/linux-c6-dbus-glib/Makefile index 83658c56ecec..be7babfdbb2b 100644 --- a/devel/linux-c6-dbus-glib/Makefile +++ b/devel/linux-c6-dbus-glib/Makefile @@ -16,4 +16,6 @@ USE_LDCONFIG= yes USE_LINUX= dbuslibs expat USE_LINUX_RPM= yes +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/devel/linux-c6-libglade2/Makefile b/devel/linux-c6-libglade2/Makefile index 344fb2865431..6101ef0466b1 100644 --- a/devel/linux-c6-libglade2/Makefile +++ b/devel/linux-c6-libglade2/Makefile @@ -15,4 +15,6 @@ USES= linux:c6 USE_LDCONFIG= yes USE_LINUX_RPM= yes +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/devel/linux-c6-libpciaccess/Makefile b/devel/linux-c6-libpciaccess/Makefile index 22429a1ba6a3..5c59b03e06cc 100644 --- a/devel/linux-c6-libpciaccess/Makefile +++ b/devel/linux-c6-libpciaccess/Makefile @@ -15,4 +15,6 @@ USES= linux:c6 USE_LDCONFIG= yes USE_LINUX_RPM= yes +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/devel/linux-c6-libsigc++20/Makefile b/devel/linux-c6-libsigc++20/Makefile index d9152e7734b1..90c880ea2def 100644 --- a/devel/linux-c6-libsigc++20/Makefile +++ b/devel/linux-c6-libsigc++20/Makefile @@ -15,4 +15,6 @@ USES= linux:c6 USE_LDCONFIG= yes USE_LINUX_RPM= yes +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/devel/linux-c6-libsoup/Makefile b/devel/linux-c6-libsoup/Makefile index cf1390c50570..8a1a0930c18d 100644 --- a/devel/linux-c6-libsoup/Makefile +++ b/devel/linux-c6-libsoup/Makefile @@ -13,4 +13,6 @@ USES= linux:c6 USE_LDCONFIG= yes USE_LINUX_RPM= yes +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/devel/linux-c6-libthai/Makefile b/devel/linux-c6-libthai/Makefile index e54f2df84875..4c5f08bce6cd 100644 --- a/devel/linux-c6-libthai/Makefile +++ b/devel/linux-c6-libthai/Makefile @@ -14,4 +14,6 @@ USES= linux:c6 USE_LDCONFIG= yes USE_LINUX_RPM= yes +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/devel/linux-c6-qt47/Makefile b/devel/linux-c6-qt47/Makefile index b1418c452bf9..c4b99dada983 100644 --- a/devel/linux-c6-qt47/Makefile +++ b/devel/linux-c6-qt47/Makefile @@ -19,4 +19,6 @@ USE_LDCONFIG= yes USE_LINUX= fontconfig png dbuslibs sqlite3 openssl USE_LINUX_RPM= yes +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/devel/linux-c6-sdl12/Makefile b/devel/linux-c6-sdl12/Makefile index 323b98ad8e2b..03a955758faf 100644 --- a/devel/linux-c6-sdl12/Makefile +++ b/devel/linux-c6-sdl12/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/devel/linux-c7-dbus-glib/Makefile b/devel/linux-c7-dbus-glib/Makefile index e7172e486099..49b700ecedc4 100644 --- a/devel/linux-c7-dbus-glib/Makefile +++ b/devel/linux-c7-dbus-glib/Makefile @@ -18,4 +18,6 @@ USE_LDCONFIG= yes USE_LINUX= dbuslibs expat USE_LINUX_RPM= yes +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/devel/linux-c7-icu/Makefile b/devel/linux-c7-icu/Makefile index d543146e0ce9..25237d447103 100644 --- a/devel/linux-c7-icu/Makefile +++ b/devel/linux-c7-icu/Makefile @@ -17,4 +17,6 @@ USES= linux:c7 USE_LDCONFIG= yes USE_LINUX_RPM= yes +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/devel/linux-c7-libglade2/Makefile b/devel/linux-c7-libglade2/Makefile index 26f6596bd086..e7a058ac9f5a 100644 --- a/devel/linux-c7-libglade2/Makefile +++ b/devel/linux-c7-libglade2/Makefile @@ -20,4 +20,6 @@ USES= linux:c7 USE_LDCONFIG= yes USE_LINUX_RPM= yes +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/devel/linux-c7-libpciaccess/Makefile b/devel/linux-c7-libpciaccess/Makefile index d3bbc79d177c..593d4fa71abe 100644 --- a/devel/linux-c7-libpciaccess/Makefile +++ b/devel/linux-c7-libpciaccess/Makefile @@ -17,4 +17,6 @@ USES= linux:c7 USE_LDCONFIG= yes USE_LINUX_RPM= yes +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/devel/linux-c7-libsigc++20/Makefile b/devel/linux-c7-libsigc++20/Makefile index ba43f6727475..38ad4926b8c0 100644 --- a/devel/linux-c7-libsigc++20/Makefile +++ b/devel/linux-c7-libsigc++20/Makefile @@ -16,4 +16,6 @@ USES= linux:c7 USE_LDCONFIG= yes USE_LINUX_RPM= yes +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/devel/linux-c7-libthai/Makefile b/devel/linux-c7-libthai/Makefile index 5cca4c93cfe4..aa3cdc024df1 100644 --- a/devel/linux-c7-libthai/Makefile +++ b/devel/linux-c7-libthai/Makefile @@ -17,4 +17,6 @@ USES= linux:c7 USE_LDCONFIG= yes USE_LINUX_RPM= yes +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/devel/linux-c7-qt/Makefile b/devel/linux-c7-qt/Makefile index f2b34f9016d6..b4111e8709c2 100644 --- a/devel/linux-c7-qt/Makefile +++ b/devel/linux-c7-qt/Makefile @@ -19,4 +19,6 @@ USE_LDCONFIG= yes USE_LINUX= fontconfig png dbuslibs sqlite3 openssl USE_LINUX_RPM= yes +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/devel/linux-c7-sdl12/Makefile b/devel/linux-c7-sdl12/Makefile index f6d79c90dc09..7e1fce8bc450 100644 --- a/devel/linux-c7-sdl12/Makefile +++ b/devel/linux-c7-sdl12/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/devel/linux-c7-sdl20/Makefile b/devel/linux-c7-sdl20/Makefile index d9cad0b17cbc..458dd4ae72c5 100644 --- a/devel/linux-c7-sdl20/Makefile +++ b/devel/linux-c7-sdl20/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/devel/lmdbg/Makefile b/devel/lmdbg/Makefile index 2cd64c5601be..85ef78a62c01 100644 --- a/devel/lmdbg/Makefile +++ b/devel/lmdbg/Makefile @@ -28,6 +28,8 @@ MKCMAKE_ENV+= LDFLAGS=-L${LOCALBASE}/lib INSTALL_TARGET= install install-doc +OPTIONS_DEFINE= DOCS + do-build: ${SETENV} ${MKCMAKE_ENV} ${MKCMAKE} -C ${WRKSRC} diff --git a/devel/lokalize/Makefile b/devel/lokalize/Makefile index 0a6c123db363..f504570dceb5 100644 --- a/devel/lokalize/Makefile +++ b/devel/lokalize/Makefile @@ -17,4 +17,6 @@ USE_KDE= auth bookmarks codecs completion config configwidgets \ USE_QT= core dbus gui network script sql widgets xml \ buildtools_build qmake_build +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/devel/lua-sysctl/Makefile b/devel/lua-sysctl/Makefile index b17df4e56207..83dc1a74388b 100644 --- a/devel/lua-sysctl/Makefile +++ b/devel/lua-sysctl/Makefile @@ -19,6 +19,8 @@ USE_GITHUB= yes GH_ACCOUNT= kAworu GH_PROJECT= lua-${PORTNAME} +OPTIONS_DEFINE= DOCS + post-patch: @${REINPLACE_CMD} -e "s/5.1/${LUA_VER}/g" ${WRKSRC}/Makefile diff --git a/devel/msp430-debug-stack/Makefile b/devel/msp430-debug-stack/Makefile index 2a06b8bb8c6b..be931143ff3e 100644 --- a/devel/msp430-debug-stack/Makefile +++ b/devel/msp430-debug-stack/Makefile @@ -36,6 +36,8 @@ SUB_FILES+= pkg-message REINPLACE_ARGS= -i "" +OPTIONS_DEFINE= DOCS + post-patch: @${FIND} ${WRKSRC}/DLL430_v3/src/TI/DLL430 \ \( -name '*.cpp' -o -name '*.h' \) -print0 | ${XARGS} -0 \ diff --git a/devel/pear/Makefile b/devel/pear/Makefile index 33c4b07e55db..2d81f37ce0cc 100644 --- a/devel/pear/Makefile +++ b/devel/pear/Makefile @@ -22,6 +22,8 @@ USE_PHP= pcre:build xml:build zlib:build PEARDIR= ${PREFIX}/share/pear +OPTIONS_DEFINE= DOCS + post-patch: @${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|" \ -e "s|%%BUNDLEDIR%%|${WRKSRC}/go-pear-bundle|" \ diff --git a/devel/pkgconf/Makefile b/devel/pkgconf/Makefile index 538d277e1add..2c43db23ffe9 100644 --- a/devel/pkgconf/Makefile +++ b/devel/pkgconf/Makefile @@ -27,6 +27,8 @@ CONFIGURE_ARGS= --with-pkg-config-dir=${PREFIX}/libdata/pkgconfig:/usr/libdata/p --with-system-includedir=/usr/include MAKE_ARGS= MANDIR="${MAN1PREFIX}/man/man1" +OPTIONS_DEFINE= DOCS + post-install: ${LN} -sf pkgconf ${STAGEDIR}${PREFIX}/bin/pkg-config diff --git a/devel/poxml/Makefile b/devel/poxml/Makefile index 236b9c996dec..7d10eab6a3eb 100644 --- a/devel/poxml/Makefile +++ b/devel/poxml/Makefile @@ -12,4 +12,6 @@ USE_KDE= doctools ecm USE_QT= core xml \ buildtools_build qmake_build +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/devel/protobuf-c/Makefile b/devel/protobuf-c/Makefile index 8e0072553c86..2d7bd71c8716 100644 --- a/devel/protobuf-c/Makefile +++ b/devel/protobuf-c/Makefile @@ -22,13 +22,14 @@ USE_LDCONFIG= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -OPTIONS_DEFINE= DOXYGEN +OPTIONS_DEFINE= DOXYGEN DOCS OPTIONS_DEFAULT= DOXYGEN PORTDOCS= * ALL_TARGET= all INSTALL_TARGET= install-strip +DOXYGEN_IMPLIES= DOCS DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen DOXYGEN_ALL_TARGET= html-local diff --git a/devel/pure-stllib/Makefile b/devel/pure-stllib/Makefile index a75f0d61589f..6552b191e6ee 100644 --- a/devel/pure-stllib/Makefile +++ b/devel/pure-stllib/Makefile @@ -27,6 +27,8 @@ DOC_FILES2= *.pdf PORTEXAMPLES= * +OPTIONS_DEFINE= DOCS + post-patch: @${REINPLACE_CMD} -e 's|CFLAGS =|CFLAGS ?=|' \ ${WRKSRC}/Makefile ${WRKSRC}/pure-stlmap/Makefile ${WRKSRC}/pure-stlvec/Makefile diff --git a/devel/py-Jinja2-doc/Makefile b/devel/py-Jinja2-doc/Makefile index 1c11153dfbf2..460262dd8842 100644 --- a/devel/py-Jinja2-doc/Makefile +++ b/devel/py-Jinja2-doc/Makefile @@ -11,7 +11,7 @@ DESCR= ${.CURDIR}/pkg-descr MASTERDIR= ${.CURDIR}/../py-Jinja2 -OPTIONS_DEFINE= +OPTIONS_DEFINE= DOCS OPTIONS_DEFAULT= .include "${MASTERDIR}/Makefile" diff --git a/devel/py-crcmod/Makefile b/devel/py-crcmod/Makefile index a9b39e2c4afb..134710e44dff 100644 --- a/devel/py-crcmod/Makefile +++ b/devel/py-crcmod/Makefile @@ -21,6 +21,8 @@ USE_PYTHON= autoplist distutils DOCSDIR= ${PREFIX}/share/doc/${PYTHON_PKGNAMEPREFIX}${PORTNAME} PORTDOCS= * +OPTIONS_DEFINE= DOCS + post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${WRKSRC}/changelog ${STAGEDIR}${DOCSDIR} diff --git a/devel/py-pyro/Makefile b/devel/py-pyro/Makefile index aadb833d3a06..da8f33fef397 100644 --- a/devel/py-pyro/Makefile +++ b/devel/py-pyro/Makefile @@ -23,6 +23,8 @@ USE_PYTHON= autoplist concurrent distutils PORTDOCS= * PORTEXAMPLES= * +OPTIONS_DEFINE= DOCS + .include <bsd.port.pre.mk> .if ${PYTHON_REL} < 3400 diff --git a/devel/py-uvloop/Makefile b/devel/py-uvloop/Makefile index d06d00694db4..fc2c297f0bbd 100644 --- a/devel/py-uvloop/Makefile +++ b/devel/py-uvloop/Makefile @@ -20,14 +20,14 @@ OPTIONS_DEFINE= DOCS EXAMPLES USES= python:3.5+ USE_PYTHON= autoplist concurrent distutils -PORTDOCS= PKG-INFO README.rst +PORTDOCS= * post-install: ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/uvloop/loop.so post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR}/ - cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/ + cd ${WRKSRC}/ && ${INSTALL_DATA} PKG-INFO README.rst ${STAGEDIR}${DOCSDIR}/ cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}/ post-install-EXAMPLES-on: diff --git a/devel/pydbus-common/Makefile b/devel/pydbus-common/Makefile index 2467466e5735..9e290c4b4e85 100644 --- a/devel/pydbus-common/Makefile +++ b/devel/pydbus-common/Makefile @@ -31,8 +31,9 @@ DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME} EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME} OPTIONS_SUB= yes -OPTIONS_DEFINE= HTMLDOCS +OPTIONS_DEFINE= HTMLDOCS DOCS HTMLDOCS_DESC= build html documentation +HTMLDOCS_IMPLIES= DOCS HTMLDOCS_CONFIGURE_OFF= --disable-html-docs HTMLDOCS_BUILD_DEPENDS= rst2html:textproc/py-docutils diff --git a/devel/relx/Makefile b/devel/relx/Makefile index 76cb438dd05e..6c288eaabf10 100644 --- a/devel/relx/Makefile +++ b/devel/relx/Makefile @@ -39,6 +39,8 @@ REBAR_DEPS= bbmustache-1.0.4 \ DISTFILES+= ${_dep}.tar:hex .endfor +OPTIONS_DEFINE= DOCS + # convenience target to rebuild the relx cache file build-cache: cd ${WRKDIR} && ${TAR} -c -v -z -f relx-cache-${CACHE_VERSION}${EXTRACT_SUFX} .cache @@ -68,8 +70,6 @@ post-build: @${LN} -s ${WRKSRC}/_build/dev/lib/${PORTNAME}/ebin ${WRKSRC} do-install: - @${MKDIR} ${STAGEDIR}${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR} @${MKDIR} ${STAGEDIR}${PREFIX}/lib/erlang/lib/${PORTNAME}-${PORTVERSION} @${MKDIR} ${STAGEDIR}${PREFIX}/lib/erlang/lib/${PORTNAME}-${PORTVERSION}/ebin @${MKDIR} ${STAGEDIR}${PREFIX}/lib/erlang/lib/${PORTNAME}-${PORTVERSION}/include @@ -83,4 +83,8 @@ do-install: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR} +post-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR} + .include <bsd.port.mk> diff --git a/devel/shell-toolbox/Makefile b/devel/shell-toolbox/Makefile index 8e67e802c26c..69ff5b9a3a55 100644 --- a/devel/shell-toolbox/Makefile +++ b/devel/shell-toolbox/Makefile @@ -16,4 +16,6 @@ GNU_CONFIGURE= yes USE_GITHUB= yes GH_ACCOUNT= kusalananda +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/devel/stlink/Makefile b/devel/stlink/Makefile index c594d4fc4cab..38c6aa534845 100644 --- a/devel/stlink/Makefile +++ b/devel/stlink/Makefile @@ -10,7 +10,7 @@ COMMENT= STM32 ST-Link JTAG variant tools LICENSE= BSD3CLAUSE -OPTIONS_DEFINE= GTK3 +OPTIONS_DEFINE= GTK3 DOCS OPTIONS_SUB= yes GTK3_EXTRA_PATCHES_OFF= ${FILESDIR}/extra-pacth-turn-off-gtk GTK3_USE= GNOME=gtk30 diff --git a/devel/tcllib/Makefile b/devel/tcllib/Makefile index 232b4d59c815..949af80fc39b 100644 --- a/devel/tcllib/Makefile +++ b/devel/tcllib/Makefile @@ -23,7 +23,10 @@ GNU_CONFIGURE= yes CONFIGURE_ENV+= ac_cv_path_tclsh="${TCLSH}" TEST_TARGET= test TEST_ENV= ${MAKE_ENV} DISPLAY= TZ=utc + +.if ${OPTIONS_DEFINE:MDOCS} PORTDOCS= * +.endif INSTALL_ARGS= -pkgs -pkg-path ${STAGEDIR}${PREFIX}/lib/tcllib \ -apps -app-path ${STAGEDIR}${PREFIX}/bin \ diff --git a/devel/umbrello/Makefile b/devel/umbrello/Makefile index 10b3538f80e6..d4bec279afea 100644 --- a/devel/umbrello/Makefile +++ b/devel/umbrello/Makefile @@ -22,6 +22,8 @@ USE_QT= core dbus gui network printsupport svg webkit widgets xml \ # Build the KDE Frameworks 5 based version. CMAKE_BOOL= BUILD_KF5 +OPTIONS_DEFINE= DOCS + post-patch: # The CMakeFile sets BUILD_UNITTESTS to 1, not respecting the # value passed via CMAKE_ARGS. diff --git a/devel/zookeeper/Makefile b/devel/zookeeper/Makefile index beb7aefd50e4..aa9ba1745cce 100644 --- a/devel/zookeeper/Makefile +++ b/devel/zookeeper/Makefile @@ -48,6 +48,8 @@ USE_RC_SUBR= zookeeper PORTDOCS= * +OPTIONS_DEFINE= DOCS + post-extract: @${REINPLACE_CMD} "/dataDir/s|=.*|=${ZOOKEEPER_DBDIR}|" ${WRKDIR}/${DISTNAME}/conf/zoo_sample.cfg @${MV} ${WRKDIR}/${DISTNAME}/conf/zoo_sample.cfg ${WRKDIR}/${DISTNAME}/conf/zoo.cfg |