diff options
995 files changed, 1897 insertions, 179 deletions
diff --git a/accessibility/kmag/Makefile b/accessibility/kmag/Makefile index 3dc669be3dd2..9028786ceea8 100644 --- a/accessibility/kmag/Makefile +++ b/accessibility/kmag/Makefile @@ -16,4 +16,6 @@ USE_KDE= auth codecs config configwidgets coreaddons ecm \ USE_QT= core dbus gui printsupport widgets xml \ buildtools_build qmake_build +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/accessibility/kmousetool/Makefile b/accessibility/kmousetool/Makefile index 45450b0d00e8..7a6a9e7b363e 100644 --- a/accessibility/kmousetool/Makefile +++ b/accessibility/kmousetool/Makefile @@ -17,4 +17,6 @@ USE_QT= core dbus gui phonon4 widgets xml \ buildtools_build qmake_build USE_XORG= ice sm x11 xext xtst +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/accessibility/kmouth/Makefile b/accessibility/kmouth/Makefile index dce38eb03a49..f082dda94540 100644 --- a/accessibility/kmouth/Makefile +++ b/accessibility/kmouth/Makefile @@ -16,4 +16,6 @@ USE_KDE= auth codecs completion config configwidgets coreaddons crash \ USE_QT= core dbus gui network printsupport speech widgets xml \ buildtools_build qmake_build +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/archivers/ark/Makefile b/archivers/ark/Makefile index 0a42374e49d0..78df250d6892 100644 --- a/archivers/ark/Makefile +++ b/archivers/ark/Makefile @@ -20,7 +20,7 @@ USE_QT= concurrent core dbus gui network widgets xml \ USE_LDCONFIG= yes -OPTIONS_DEFINE= 7ZIP RAR ZIP +OPTIONS_DEFINE= 7ZIP RAR ZIP DOCS OPTIONS_SUB= YES 7ZIP_DESC= Support for 7-Zip archives diff --git a/archivers/brotli/Makefile b/archivers/brotli/Makefile index d0f8656c95e3..ae0e7cc929d1 100644 --- a/archivers/brotli/Makefile +++ b/archivers/brotli/Makefile @@ -24,6 +24,8 @@ GNU_CONFIGURE= yes INSTALL_TARGET= install-strip PLIST_SUB= SHLIBVER=${PORTVERSION} +OPTIONS_DEFINE= DOCS + pre-configure: (cd ${WRKSRC} && ./bootstrap) diff --git a/archivers/erlang-snappy/Makefile b/archivers/erlang-snappy/Makefile index 9f0d5973fc04..f45c743d4624 100644 --- a/archivers/erlang-snappy/Makefile +++ b/archivers/erlang-snappy/Makefile @@ -18,4 +18,6 @@ GH_ACCOUNT= skunkwerks GH_PROJECT= snappy-erlang-nif GH_TAGNAME= 0951a1b +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/archivers/lzop/Makefile b/archivers/lzop/Makefile index 90e669b22e81..37b975e3cc81 100644 --- a/archivers/lzop/Makefile +++ b/archivers/lzop/Makefile @@ -18,4 +18,6 @@ GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/astro/geographiclib/Makefile b/astro/geographiclib/Makefile index c07fc6077c4a..75048a5b7b32 100644 --- a/astro/geographiclib/Makefile +++ b/astro/geographiclib/Makefile @@ -26,7 +26,7 @@ CMAKE_ARGS= -DGEOGRAPHICLIB_DATA:STRING=${DATADIR:Q}\ -DINSTALL_PYTHON_DIR:STRING=${PYTHON_SITELIBDIR:Q}\ -DINSTALL_DOC_DIR:STRING=${DOCSDIR:Q} -OPTIONS_DEFINE= DOXYGEN PERL +OPTIONS_DEFINE= DOXYGEN PERL DOCS OPTIONS_DEFAULT= DOXYGEN PERL\ GEOID_EGM96_5 GRAVITY_EGM96 GRAVITY_WGS84\ MAGNETIC_WMM2015 MAGNETIC_IGRF12 diff --git a/astro/libkgeomap/Makefile b/astro/libkgeomap/Makefile index c1171db6ae05..a467a7cbf08c 100644 --- a/astro/libkgeomap/Makefile +++ b/astro/libkgeomap/Makefile @@ -20,4 +20,6 @@ USE_QT= concurrent core gui network webkit widgets xml \ USE_LDCONFIG= yes +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/astro/marble/Makefile b/astro/marble/Makefile index 0e59d83491a3..2a2c4522e255 100644 --- a/astro/marble/Makefile +++ b/astro/marble/Makefile @@ -27,7 +27,7 @@ MAKE_ENV= XDG_CONFIG_HOME=/dev/null CMAKE_ARGS= -DMOBILE:BOOL=FALSE \ -DQT_IMPORTS_DIR:PATH=${QT_IMPORTDIR} -OPTIONS_DEFINE= GPS +OPTIONS_DEFINE= GPS DOCS OPTIONS_DEFAULT=GPS OPTIONS_SUB= yes diff --git a/astro/opencpn/Makefile b/astro/opencpn/Makefile index c2917704458e..6dcfe0cd165d 100644 --- a/astro/opencpn/Makefile +++ b/astro/opencpn/Makefile @@ -34,6 +34,8 @@ LDFLAGS+= -Wl,--as-needed # ICE, SM, Xext BROKEN_aarch64= Fails to compile: use of undeclared identifier rand +OPTIONS_DEFINE= DOCS + post-patch: @${REINPLACE_CMD} -e 's,/usr/local,${PREFIX},' \ ${WRKSRC}/src/mygdal/cpl_csv.cpp \ diff --git a/audio/audiocd-kio/Makefile b/audio/audiocd-kio/Makefile index f6eeb15054cd..4592b57e04e7 100644 --- a/audio/audiocd-kio/Makefile +++ b/audio/audiocd-kio/Makefile @@ -27,7 +27,7 @@ USE_QT= core dbus gui network phonon4 printsupport widgets xml \ USE_LDCONFIG= yes -OPTIONS_DEFINE= LAME +OPTIONS_DEFINE= LAME DOCS LAME_DESC= Install LAME MP3 audio encoder LAME_RUN_DEPENDS= lame:audio/lame diff --git a/audio/chromaprint/Makefile b/audio/chromaprint/Makefile index e67d1b18ff0b..63477b5f4ca3 100644 --- a/audio/chromaprint/Makefile +++ b/audio/chromaprint/Makefile @@ -23,7 +23,7 @@ CMAKE_ARGS= -DBUILD_TOOLS:BOOL=true \ WRKSRC= ${WRKDIR}/${PORTNAME}-v${PORTVERSION} -OPTIONS_DEFINE= DOXYGEN TEST +OPTIONS_DEFINE= DOCS DOXYGEN TEST DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen \ dot:graphics/graphviz diff --git a/audio/juk/Makefile b/audio/juk/Makefile index e1e0ff40d643..b8e69c8cd735 100644 --- a/audio/juk/Makefile +++ b/audio/juk/Makefile @@ -19,4 +19,6 @@ USE_KDE= auth bookmarks codecs completion config configwidgets \ USE_QT= core dbus gui network phonon4 svg widgets xml \ buildtools_build qmake_build +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/audio/kmix/Makefile b/audio/kmix/Makefile index 134cf41f3e09..c09c6f16189f 100644 --- a/audio/kmix/Makefile +++ b/audio/kmix/Makefile @@ -22,7 +22,7 @@ USE_QT= core dbus gui widgets xml \ # we want the KF5 version of kmix CMAKE_ARGS= -DKMIX_KF5_BUILD:BOOL=TRUE -OPTIONS_DEFINE= PULSEAUDIO +OPTIONS_DEFINE= PULSEAUDIO DOCS # TODO: readd ALSA option # # ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib diff --git a/audio/kwave/Makefile b/audio/kwave/Makefile index 62ffe1590262..2e94737f199d 100644 --- a/audio/kwave/Makefile +++ b/audio/kwave/Makefile @@ -34,6 +34,8 @@ ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib PULSEAUDIO_CMAKE_BOOL= WITH_PULSEAUDIO PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio +OPTIONS_DEFINE= DOCS + .include <bsd.port.pre.mk> . if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1100000 && ${OSVERSION} < 1101505 diff --git a/audio/libkcddb/Makefile b/audio/libkcddb/Makefile index 74fe6170b8be..3b1c35d9752e 100644 --- a/audio/libkcddb/Makefile +++ b/audio/libkcddb/Makefile @@ -17,4 +17,6 @@ USE_QT= core gui network widgets xml \ buildtools_build qmake_build USE_LDCONFIG= yes +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/audio/libkcompactdisc/Makefile b/audio/libkcompactdisc/Makefile index 0d696b5c7771..f44444727abb 100644 --- a/audio/libkcompactdisc/Makefile +++ b/audio/libkcompactdisc/Makefile @@ -14,7 +14,7 @@ USE_QT= core dbus phonon4\ buildtools_build qmake_build USE_LDCONFIG= yes -OPTIONS_DEFINE= ALSA +OPTIONS_DEFINE= ALSA DOCS ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_ALSA diff --git a/audio/libnjb/Makefile b/audio/libnjb/Makefile index 3bb1e6fcf46a..c0f686f1ffe1 100644 --- a/audio/libnjb/Makefile +++ b/audio/libnjb/Makefile @@ -23,8 +23,9 @@ LDFLAGS+= -L${LOCALBASE}/lib PORTDOCS= * -OPTIONS_DEFINE= DOXYGEN +OPTIONS_DEFINE= DOXYGEN DOCS +DOXYGEN_IMPLIES= DOCS DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen DOXYGEN_CONFIGURE_ENV_OFF= ac_cv_prog_HAVE_DOXYGEN=no diff --git a/audio/linux-c6-alsa-lib/Makefile b/audio/linux-c6-alsa-lib/Makefile index ce0bfaa3408f..adcb016438e9 100644 --- a/audio/linux-c6-alsa-lib/Makefile +++ b/audio/linux-c6-alsa-lib/Makefile @@ -19,6 +19,8 @@ USES= linux:c6 USE_LDCONFIG= yes USE_LINUX_RPM= yes +OPTIONS_DEFINE= DOCS + post-patch: @${RM} -r ${WRKSRC}/etc/* ${WRKSRC}/usr/lib/alsa-lib/smixer/*.la \ ${WRKSRC}/usr/lib64/alsa-lib/smixer/*.la diff --git a/audio/linux-c6-alsa-plugins-oss/Makefile b/audio/linux-c6-alsa-plugins-oss/Makefile index b8e50e5ce73c..1ceddb3494fc 100644 --- a/audio/linux-c6-alsa-plugins-oss/Makefile +++ b/audio/linux-c6-alsa-plugins-oss/Makefile @@ -22,4 +22,6 @@ USE_LDCONFIG= yes USE_LINUX= alsalib USE_LINUX_RPM= yes +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/audio/linux-c6-alsa-plugins-pulseaudio/Makefile b/audio/linux-c6-alsa-plugins-pulseaudio/Makefile index 01ab5084233d..4fa370f2984d 100644 --- a/audio/linux-c6-alsa-plugins-pulseaudio/Makefile +++ b/audio/linux-c6-alsa-plugins-pulseaudio/Makefile @@ -22,4 +22,6 @@ USE_LDCONFIG= yes USE_LINUX= alsalib pulseaudio-libs USE_LINUX_RPM= yes +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/audio/linux-c6-flac/Makefile b/audio/linux-c6-flac/Makefile index 7a40111f8fe5..4b67af88c942 100644 --- a/audio/linux-c6-flac/Makefile +++ b/audio/linux-c6-flac/Makefile @@ -16,4 +16,6 @@ USE_LDCONFIG= yes USE_LINUX= libogg USE_LINUX_RPM= yes +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/audio/linux-c6-libaudiofile/Makefile b/audio/linux-c6-libaudiofile/Makefile index 3a9389d9e68a..9957afef2d7b 100644 --- a/audio/linux-c6-libaudiofile/Makefile +++ b/audio/linux-c6-libaudiofile/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/audio/linux-c6-libogg/Makefile b/audio/linux-c6-libogg/Makefile index ebe83d753a4f..cecb54c3bbb7 100644 --- a/audio/linux-c6-libogg/Makefile +++ b/audio/linux-c6-libogg/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/audio/linux-c6-libsndfile/Makefile b/audio/linux-c6-libsndfile/Makefile index e138fdd15cae..9de8f8c01e36 100644 --- a/audio/linux-c6-libsndfile/Makefile +++ b/audio/linux-c6-libsndfile/Makefile @@ -16,4 +16,6 @@ USE_LDCONFIG= yes USE_LINUX= flac libogg libvorbis USE_LINUX_RPM= yes +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/audio/linux-c6-libvorbis/Makefile b/audio/linux-c6-libvorbis/Makefile index c2e8bc574672..d0e9ab09d3ef 100644 --- a/audio/linux-c6-libvorbis/Makefile +++ b/audio/linux-c6-libvorbis/Makefile @@ -16,4 +16,6 @@ USE_LDCONFIG= yes USE_LINUX= libogg USE_LINUX_RPM= yes +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/audio/linux-c6-mikmod/Makefile b/audio/linux-c6-mikmod/Makefile index 3ec11cf956c4..2527d3eaec6a 100644 --- a/audio/linux-c6-mikmod/Makefile +++ b/audio/linux-c6-mikmod/Makefile @@ -16,4 +16,6 @@ USES= linux:c6 USE_LDCONFIG= yes USE_LINUX_RPM= yes +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/audio/linux-c6-nas-libs/Makefile b/audio/linux-c6-nas-libs/Makefile index f12dc6f69b4f..f0e5ed549b23 100644 --- a/audio/linux-c6-nas-libs/Makefile +++ b/audio/linux-c6-nas-libs/Makefile @@ -17,6 +17,8 @@ USE_LDCONFIG= yes USE_LINUX= xorglibs USE_LINUX_RPM= yes +OPTIONS_DEFINE= DOCS + post-patch: @${RM} -r ${WRKSRC}/etc ${WRKSRC}/usr/bin ${WRKSRC}/usr/share/man diff --git a/audio/linux-c6-openal-soft/Makefile b/audio/linux-c6-openal-soft/Makefile index a5601a8351b3..44cc9bcb52cb 100644 --- a/audio/linux-c6-openal-soft/Makefile +++ b/audio/linux-c6-openal-soft/Makefile @@ -17,4 +17,6 @@ USE_LDCONFIG= yes USE_LINUX= alsalib USE_LINUX_RPM= yes +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/audio/linux-c6-sdl_mixer/Makefile b/audio/linux-c6-sdl_mixer/Makefile index 43e53b3bea19..83ae1aace078 100644 --- a/audio/linux-c6-sdl_mixer/Makefile +++ b/audio/linux-c6-sdl_mixer/Makefile @@ -22,4 +22,6 @@ USE_LDCONFIG= yes USE_LINUX= sdl12 USE_LINUX_RPM= yes +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/audio/linux-c7-alsa-lib/Makefile b/audio/linux-c7-alsa-lib/Makefile index 3137dd3779db..ceb2bb73fecb 100644 --- a/audio/linux-c7-alsa-lib/Makefile +++ b/audio/linux-c7-alsa-lib/Makefile @@ -19,6 +19,8 @@ USES= linux:c7 USE_LDCONFIG= yes USE_LINUX_RPM= yes +OPTIONS_DEFINE= DOCS + post-patch: @${RM} -r ${WRKSRC}/etc/* ${WRKSRC}/lib/modprobe.d \ ${WRKSRC}/usr/share/doc/alsa-lib diff --git a/audio/linux-c7-alsa-plugins-oss/Makefile b/audio/linux-c7-alsa-plugins-oss/Makefile index 8ecf35e1d896..1f8a99e38643 100644 --- a/audio/linux-c7-alsa-plugins-oss/Makefile +++ b/audio/linux-c7-alsa-plugins-oss/Makefile @@ -23,4 +23,6 @@ USE_LDCONFIG= yes USE_LINUX= alsalib USE_LINUX_RPM= yes +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/audio/linux-c7-alsa-plugins-pulseaudio/Makefile b/audio/linux-c7-alsa-plugins-pulseaudio/Makefile index a331ec48e4a6..882b49a516a8 100644 --- a/audio/linux-c7-alsa-plugins-pulseaudio/Makefile +++ b/audio/linux-c7-alsa-plugins-pulseaudio/Makefile @@ -23,4 +23,6 @@ USE_LDCONFIG= yes USE_LINUX= alsalib pulseaudio-libs USE_LINUX_RPM= yes +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/audio/linux-c7-audiofile/Makefile b/audio/linux-c7-audiofile/Makefile index beff83b0c0db..aed9a2de99da 100644 --- a/audio/linux-c7-audiofile/Makefile +++ b/audio/linux-c7-audiofile/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/audio/linux-c7-flac/Makefile b/audio/linux-c7-flac/Makefile index b7203af200aa..8fdf81cc7b87 100644 --- a/audio/linux-c7-flac/Makefile +++ b/audio/linux-c7-flac/Makefile @@ -22,4 +22,6 @@ USE_LDCONFIG= yes USE_LINUX= libogg USE_LINUX_RPM= yes +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/audio/linux-c7-libogg/Makefile b/audio/linux-c7-libogg/Makefile index 886ebfc745e9..b091aeab1046 100644 --- a/audio/linux-c7-libogg/Makefile +++ b/audio/linux-c7-libogg/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/audio/linux-c7-libsndfile/Makefile b/audio/linux-c7-libsndfile/Makefile index a499b1719950..06811428f407 100644 --- a/audio/linux-c7-libsndfile/Makefile +++ b/audio/linux-c7-libsndfile/Makefile @@ -18,4 +18,6 @@ USE_LDCONFIG= yes USE_LINUX= flac libogg libvorbis USE_LINUX_RPM= yes +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/audio/linux-c7-libvorbis/Makefile b/audio/linux-c7-libvorbis/Makefile index 504f5ca8a896..c56de88ce632 100644 --- a/audio/linux-c7-libvorbis/Makefile +++ b/audio/linux-c7-libvorbis/Makefile @@ -18,4 +18,6 @@ USE_LDCONFIG= yes USE_LINUX= libogg USE_LINUX_RPM= yes +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/audio/linux-c7-openal-soft/Makefile b/audio/linux-c7-openal-soft/Makefile index c4a16c069686..c5591e00c8ee 100644 --- a/audio/linux-c7-openal-soft/Makefile +++ b/audio/linux-c7-openal-soft/Makefile @@ -20,4 +20,6 @@ USE_LDCONFIG= yes USE_LINUX= alsalib USE_LINUX_RPM= yes +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/audio/linux-c7-sdl_mixer/Makefile b/audio/linux-c7-sdl_mixer/Makefile index bfda95569d52..cc8b02eb5a1b 100644 --- a/audio/linux-c7-sdl_mixer/Makefile +++ b/audio/linux-c7-sdl_mixer/Makefile @@ -23,4 +23,6 @@ USE_LDCONFIG= yes USE_LINUX= sdl12 USE_LINUX_RPM= yes +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/audio/lv2/Makefile b/audio/lv2/Makefile index b7c265bb23e9..87510afcb437 100644 --- a/audio/lv2/Makefile +++ b/audio/lv2/Makefile @@ -24,13 +24,14 @@ CONFLICTS_INSTALL= lv2core USES= python shebangfix tar:bzip2 waf SHEBANG_FILES= lv2specgen/lv2specgen.py -OPTIONS_DEFINE= DOXYGEN EXAMPLES +OPTIONS_DEFINE= DOCS DOXYGEN EXAMPLES OPTIONS_SUB= yes DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen \ ${PYTHON_PKGNAMEPREFIX}rdflib>0:textproc/py-rdflib@${PY_FLAVOR} DOXYGEN_CONFIGURE_ON= --docs DOXYGEN_PORTDOCS= * +DOXYGEN_IMPLIES= DOCS EXAMPLES_CONFIGURE_OFF= --no-plugins EXAMPLES_LIB_DEPENDS= libsndfile.so:audio/libsndfile diff --git a/audio/py-soundcloud/Makefile b/audio/py-soundcloud/Makefile index 187419bdcb91..4ee55dcb16ec 100644 --- a/audio/py-soundcloud/Makefile +++ b/audio/py-soundcloud/Makefile @@ -21,6 +21,8 @@ USE_PYTHON= autoplist distutils PORTDOCS= README.rst DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME} +OPTIONS_DEFINE= DOCS + post-install: ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README.rst ${STAGEDIR}${DOCSDIR} diff --git a/audio/rhythmbox/Makefile b/audio/rhythmbox/Makefile index c054a435b881..5b58a08f7101 100644 --- a/audio/rhythmbox/Makefile +++ b/audio/rhythmbox/Makefile @@ -50,7 +50,7 @@ INSTALL_TARGET= install-strip GLIB_SCHEMAS= org.gnome.rhythmbox.gschema.xml OPTIONS_SUB= yes -OPTIONS_DEFINE= BRASERO DAAP GRILO IPOD LIRC MTP NLS NOTIFY PYTHON +OPTIONS_DEFINE= BRASERO DAAP DOCS GRILO IPOD LIRC MTP NLS NOTIFY PYTHON OPTIONS_DEFAULT=BRASERO NOTIFY PYTHON BRASERO_DESC= Brasero disc burning support BRASERO_CONFIGURE_WITH= brasero diff --git a/audio/speex/Makefile b/audio/speex/Makefile index 91cb5691466d..f8e55610f1ea 100644 --- a/audio/speex/Makefile +++ b/audio/speex/Makefile @@ -21,4 +21,6 @@ GNU_CONFIGURE= yes INSTALL_TARGET= install-strip USE_LDCONFIG= yes +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/audio/speexdsp/Makefile b/audio/speexdsp/Makefile index d564b5ceebbf..22eb6d0a23d2 100644 --- a/audio/speexdsp/Makefile +++ b/audio/speexdsp/Makefile @@ -17,6 +17,8 @@ INSTALL_TARGET= install-strip USES= libtool pathfix USE_LDCONFIG= yes +OPTIONS_DEFINE= DOCS + .include <bsd.port.options.mk> .if ${ARCH} == "aarch64" diff --git a/audio/yoshimi/Makefile b/audio/yoshimi/Makefile index 36f85b9b5929..481ceca0e054 100644 --- a/audio/yoshimi/Makefile +++ b/audio/yoshimi/Makefile @@ -34,4 +34,6 @@ USE_XORG= x11 ice sm xext CMAKE_SOURCE_PATH= ${WRKSRC}/src INSTALLS_ICONS= yes +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/benchmarks/iperf3/Makefile b/benchmarks/iperf3/Makefile index e5c32854ad7d..0e12e6dc9e45 100644 --- a/benchmarks/iperf3/Makefile +++ b/benchmarks/iperf3/Makefile @@ -22,6 +22,8 @@ PORTDOCS= README.md RELEASE_NOTES # Set ${DOCSDIR} to avoid conflict with benchmarks/iperf ${DOCSDIR} DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}${PKGNAMESUFFIX} +OPTIONS_DEFINE= DOCS + post-patch: # Don't build stuff that we're not going to install. Among other # things this means we're not going to try to build profiled objects diff --git a/benchmarks/pathchirp/Makefile b/benchmarks/pathchirp/Makefile index a578c281614e..fde0945a0396 100644 --- a/benchmarks/pathchirp/Makefile +++ b/benchmarks/pathchirp/Makefile @@ -17,6 +17,8 @@ MAKE_JOBS_UNSAFE= yes PLIST_FILES= bin/pathchirp_rcv bin/pathchirp_snd bin/pathchirp_run PORTDOCS= README +OPTIONS_DEFINE= DOCS + post-patch: @${REINPLACE_CMD} -e '/CFLAGS.*O4/d' ${WRKSRC}/configure diff --git a/benchmarks/ramspeed/Makefile b/benchmarks/ramspeed/Makefile index 463ebf39e54d..31101ad6a68c 100644 --- a/benchmarks/ramspeed/Makefile +++ b/benchmarks/ramspeed/Makefile @@ -18,6 +18,8 @@ LICENSE_PERMS= dist-mirror no-dist-sell pkg-mirror no-pkg-sell PLIST_FILES= bin/ramspeed PORTDOCS= HISTORY README +OPTIONS_DEFINE= DOCS + do-build: cd ${BUILD_WRKSRC} && ${SETENV} ${MAKE_ENV} ${SH} build.sh diff --git a/benchmarks/thrulay/Makefile b/benchmarks/thrulay/Makefile index 45cd5e23f95a..7c7840ac5069 100644 --- a/benchmarks/thrulay/Makefile +++ b/benchmarks/thrulay/Makefile @@ -20,6 +20,8 @@ MAKE_JOBS_UNSAFE= yes PORTDOCS= ChangeLog README thrulay-protocol.txt thrulay-index.html +OPTIONS_DEFINE= DOCS + post-patch: ${REINPLACE_CMD} -e '922s,datarootdir,prefix,g' ${WRKSRC}/configure diff --git a/biology/bowtie/Makefile b/biology/bowtie/Makefile index 1dfb08ce0054..8d486190a122 100644 --- a/biology/bowtie/Makefile +++ b/biology/bowtie/Makefile @@ -24,6 +24,8 @@ SHEBANG_FILES= scripts/*.pl bowtie bowtie-build \ USE_GITHUB= yes GH_ACCOUNT= BenLangmead +OPTIONS_DEFINE= DOCS + post-install: ${MKDIR} ${STAGEDIR}${DATADIR}/scripts ${INSTALL_SCRIPT} \ diff --git a/biology/phrap/Makefile b/biology/phrap/Makefile index de2be50a3c56..1979489f2f9e 100644 --- a/biology/phrap/Makefile +++ b/biology/phrap/Makefile @@ -26,6 +26,8 @@ SCRIPTS= phrapview PORTDATA= BLOSUM50 BLOSUM62 PAM250 mat50 mat70 mb_matrix penalty2 vector.seq PORTDOCS= general.doc phrap.doc swat.doc +OPTIONS_DEFINE= DOCS + .include <bsd.port.pre.mk> .for f in ${DISTFILES} diff --git a/biology/phred/Makefile b/biology/phred/Makefile index 06f673b57574..a272cca4f3be 100644 --- a/biology/phred/Makefile +++ b/biology/phred/Makefile @@ -29,6 +29,8 @@ DATAFILES= phredpar.dat PORTDOCS= NEWS PHRED.DOC DAEV.DOC +OPTIONS_DEFINE= DOCS + .include <bsd.port.pre.mk> .for f in ${DISTFILES} diff --git a/cad/gmsh/Makefile b/cad/gmsh/Makefile index 5a0baad082c8..07c16038ceff 100644 --- a/cad/gmsh/Makefile +++ b/cad/gmsh/Makefile @@ -37,7 +37,7 @@ MAKE_JOBS_UNSAFE= yes CMAKE_ARGS= -DCMAKE_SKIP_RPATH:BOOL=YES -OPTIONS_DEFINE= CGNS MED OCC SHARED STATIC +OPTIONS_DEFINE= CGNS DOCS MED OCC SHARED STATIC OPTIONS_DEFAULT= MED CGNS_DESC= Enable experimental CGNS mesh support diff --git a/cad/gtkwave/Makefile b/cad/gtkwave/Makefile index a566c1036546..8e03642b6c68 100644 --- a/cad/gtkwave/Makefile +++ b/cad/gtkwave/Makefile @@ -21,7 +21,7 @@ CONFIGURE_ARGS= --disable-mime-update USE_GNOME= cairo gtk20 INSTALLS_ICONS= yes -OPTIONS_DEFINE= TCL GCONF EXAMPLES +OPTIONS_DEFINE= TCL GCONF DOCS EXAMPLES TCL_DESC= Enable support for TCL/TK TCL_USES= tcl tk TCL_CONFIGURE_ON= --with-tcl=${TCL_LIBDIR} \ diff --git a/cad/kicad-devel/Makefile b/cad/kicad-devel/Makefile index 94e830788f99..5e7c94824884 100644 --- a/cad/kicad-devel/Makefile +++ b/cad/kicad-devel/Makefile @@ -36,7 +36,7 @@ USE_XORG+= ice pixman x11 xext BROKEN_aarch64= Fails to compile: use of undeclared identifier builtin_ia32_emms -#OPTIONS_DEFINE= DOCS +OPTIONS_DEFINE= DOCS PLIST_SUB= OPSYS=${OPSYS} \ DESKTOPDIR=${DESKTOPDIR:S|^${PREFIX}/||} diff --git a/cad/opencascade/Makefile b/cad/opencascade/Makefile index af4cf242de2b..afaf6f740abc 100644 --- a/cad/opencascade/Makefile +++ b/cad/opencascade/Makefile @@ -74,6 +74,7 @@ VIS_LIB_DEPENDS= libftgl.so:graphics/ftgl \ VIS_CMAKE_ON= -D3RDPARTY_FREETYPE_DIR=${LOCALBASE} +DOXYGEN_IMPLIES= DOCS DOXYGEN_USE= TEX=latex:build DOXYGEN_BUILD_DEPENDS= bash:shells/bash \ doxygen:devel/doxygen \ diff --git a/cad/qelectrotech/Makefile b/cad/qelectrotech/Makefile index 5cf260e55698..bbb2b802857e 100644 --- a/cad/qelectrotech/Makefile +++ b/cad/qelectrotech/Makefile @@ -19,7 +19,7 @@ USES= compiler:c++11-lib desktop-file-utils qmake qt:5 shared-mime-info USE_QT= buildtools_build gui network printsupport \ sql-sqlite3 svg xml -OPTIONS_DEFINE= DEBUG +OPTIONS_DEFINE= DEBUG DOCS DEBUG_VARS= BUILD_TYPE=debug DEBUG_VARS_OFF= BUILD_TYPE=release diff --git a/cad/tkgate/Makefile b/cad/tkgate/Makefile index a3023fef7d72..fe120ff24498 100644 --- a/cad/tkgate/Makefile +++ b/cad/tkgate/Makefile @@ -16,6 +16,8 @@ LICENSE_FILE= ${WRKSRC}/COPYING GNU_CONFIGURE= yes USES+= iconv:translit tk:build,run +OPTIONS_DEFINE= DOCS + post-patch: @${REINPLACE_CMD} -e 's|/usr/bin/wish|${WISH}|g' ${WRKSRC}/scripts/tree.tcl @${REINPLACE_CMD} -e \ diff --git a/comms/dcf77pi/Makefile b/comms/dcf77pi/Makefile index 2e57c2602281..8b4f972e6e67 100644 --- a/comms/dcf77pi/Makefile +++ b/comms/dcf77pi/Makefile @@ -14,7 +14,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE.md LIB_DEPENDS= libjson-c.so:devel/json-c -OPTIONS_DEFINE= DOXYGEN +OPTIONS_DEFINE= DOXYGEN DOCS DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen DOXYGEN_ALL_TARGET= all doxygen @@ -26,6 +26,8 @@ USE_LDCONFIG= yes PATCH_STRIP= -p1 PORTDOCS= CHANGELOG.md README.md receiver.svg + +DOXYGEN_IMPLIES= DOCS DOXYGEN_PORTDOCS= html/* INSTALL_TARGET= install-strip diff --git a/comms/direwolf/Makefile b/comms/direwolf/Makefile index ab2f08978f02..cffba9868298 100644 --- a/comms/direwolf/Makefile +++ b/comms/direwolf/Makefile @@ -24,6 +24,8 @@ SHEBANG_FILES= telemetry-toolkit/telem-bits.pl telemetry-toolkit/telem-parm.pl\ telemetry-toolkit/telem-data91.pl \ telemetry-toolkit/telem-unit.pl telemetry-toolkit/telem-balloon.pl +OPTIONS_DEFINE= DOCS + post-patch: ${CP} ${FILESDIR}/Makefile.FreeBSD ${WRKSRC} ${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|' ${WRKSRC}/dw-start.sh diff --git a/comms/hidapi/Makefile b/comms/hidapi/Makefile index 29012fee3c82..7cc1fc5f1b72 100644 --- a/comms/hidapi/Makefile +++ b/comms/hidapi/Makefile @@ -24,6 +24,8 @@ PORTDOCS= * CPPFLAGS+= -I${LOCALBASE}/include LIBS+= -L${LOCALBASE}/lib +OPTIONS_DEFINE= DOCS + pre-configure: @${CP} ${LOCALBASE}/share/gettext/config.rpath ${WRKSRC} diff --git a/comms/libirman/Makefile b/comms/libirman/Makefile index 0393f5ef339b..16bdec829d92 100644 --- a/comms/libirman/Makefile +++ b/comms/libirman/Makefile @@ -19,4 +19,6 @@ INSTALL_TARGET= install-strip PORTDOCS= README TECHNICAL +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/comms/liquid-dsp/Makefile b/comms/liquid-dsp/Makefile index 20427c8e3779..2798c359aa08 100644 --- a/comms/liquid-dsp/Makefile +++ b/comms/liquid-dsp/Makefile @@ -29,6 +29,8 @@ PORTDOCS= * CPPFLAGS+= -I${LOCALBASE}/include LIBS+= -L${LOCALBASE}/lib +OPTIONS_DEFINE= DOCS + pre-configure: @cd ${WRKSRC}; ${SH} bootstrap.sh diff --git a/comms/nasawash/Makefile b/comms/nasawash/Makefile index 683c2c19f3a7..df13d1469500 100644 --- a/comms/nasawash/Makefile +++ b/comms/nasawash/Makefile @@ -17,6 +17,8 @@ USES= tar:tgz PLIST_FILES= bin/nasawash PORTDOCS= nasawash.txt nasawash.upd +OPTIONS_DEFINE= DOCS + do-build: ${CC} ${CPPFLAGS} ${CFLAGS} -c -o ${WRKSRC}/nasawash.o ${WRKSRC}/nasawash.c ${CC} -o ${WRKSRC}/nasawash ${WRKSRC}/nasawash.o ${LIBS} diff --git a/comms/nec2c/Makefile b/comms/nec2c/Makefile index cbf7fdb30f57..7534db4b4b9c 100644 --- a/comms/nec2c/Makefile +++ b/comms/nec2c/Makefile @@ -14,7 +14,7 @@ COMMENT= Used to calculate antenna patterns useful to ham radio LIB_DEPENDS= libccm.so:math/ccmath -OPTIONS_DEFINE= EXAMPLES +OPTIONS_DEFINE= DOCS EXAMPLES do-install: ${INSTALL_PROGRAM} ${WRKSRC}/nec2c ${STAGEDIR}${PREFIX}/bin diff --git a/comms/splat/Makefile b/comms/splat/Makefile index 626dcc757c01..bfa2d7c53159 100644 --- a/comms/splat/Makefile +++ b/comms/splat/Makefile @@ -13,6 +13,7 @@ LICENSE= GPLv2 USES= tar:bzip2 PORTDOCS= README README2 CHANGES +OPTIONS_DEFINE= DOCS OPTIONS_SINGLE= SRM OPTIONS_RADIO= HRM OPTIONS_SINGLE_SRM= SRM_2X2 SRM_3X3 SRM_4X4 SRM_5X5 SRM_6X6 SRM_7X7 SRM_8X8 diff --git a/comms/svxlink/Makefile b/comms/svxlink/Makefile index 22db1be22ef9..78bb3e190051 100644 --- a/comms/svxlink/Makefile +++ b/comms/svxlink/Makefile @@ -36,7 +36,7 @@ CMAKE_ARGS+= -DUSE_QT:BOOL=NO USE_LDCONFIG= yes ALL_TARGET?= all man -OPTIONS_DEFINE= DOXYGEN STATIC +OPTIONS_DEFINE= DOXYGEN STATIC DOCS STATIC_DESC= Build and install static libraries STATIC_CMAKE_ON= -DBUILD_STATIC_LIBS=YES .if ${PORTNAME}==svxlink @@ -49,6 +49,7 @@ ALSA_CMAKE_ON= -DUSE_ALSA:BOOL=ON OSS_CMAKE_OFF= -DUSE_OSS:BOOL=OFF OSS_CMAKE_ON= -DUSE_OSS:BOOL=ON .endif +DOXYGEN_IMPLIES= DOCS DOXYGEN_ALL_TARGET=doc DOXYGEN_CMAKE_OFF= -DCMAKE_DISABLE_FIND_PACKAGE_Doxygen:BOOL=TRUE DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen \ diff --git a/comms/thebridge/Makefile b/comms/thebridge/Makefile index e1067f623068..d4e63c1db3b1 100644 --- a/comms/thebridge/Makefile +++ b/comms/thebridge/Makefile @@ -25,6 +25,8 @@ SHEBANG_FILES= addons/usermgmt.cgi INSTALL_TARGET= install-strip +OPTIONS_DEFINE= DOCS + post-patch: @${REINPLACE_CMD} 's!tbdcmd=\/usr\/local!tbdcmd=${PREFIX}!'\ ${WRKSRC}/addons/usermgmt.cgi diff --git a/comms/tlf/Makefile b/comms/tlf/Makefile index f978b216f124..d10b067e0c94 100644 --- a/comms/tlf/Makefile +++ b/comms/tlf/Makefile @@ -33,4 +33,6 @@ HAMLIB_CONFIGURE_ENABLE=hamlib FLDIGI_LIB_DEPENDS= libxmlrpc.so:net/xmlrpc-c FLDIGI_CONFIGURE_ENABLE=fldigi-xmlrpc +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/comms/twpsk/Makefile b/comms/twpsk/Makefile index 52880d49dd62..2fd5506d4598 100644 --- a/comms/twpsk/Makefile +++ b/comms/twpsk/Makefile @@ -21,4 +21,6 @@ CFLAGS+= -L${LOCALBASE}/lib -I${PREFIX}/include WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} PORTDOCS= * +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/comms/uhd/Makefile b/comms/uhd/Makefile index 462a643ea306..912433571f34 100644 --- a/comms/uhd/Makefile +++ b/comms/uhd/Makefile @@ -48,7 +48,7 @@ CMAKE_ARGS+= -DPKG_LIB_DIR:STRING="share/uhd" -DUHD_TXRX_DEBUG_PRINTS="yes" IMAGE_FILE= uhd-images_003.010.003.000-release.zip -OPTIONS_DEFINE= DOXYGEN +OPTIONS_DEFINE= DOXYGEN DOCS #OPTIONS_DEFAULT= DOXYGEN OPTIONS_SUB=yes diff --git a/comms/wspr/Makefile b/comms/wspr/Makefile index 3ddc9f4f986a..8c8f67b21f38 100644 --- a/comms/wspr/Makefile +++ b/comms/wspr/Makefile @@ -35,6 +35,8 @@ MAKE_ENV+= PYTHONUSERBASE=${STAGEDIR}${PYTHONBASE} #LDFLAGS+= -shared VERSION= 4.00 +OPTIONS_DEFINE= DOCS + .include <bsd.port.pre.mk> pre-configure: @${CP} ${FILESDIR}/wspr.sh.in ${WRKSRC} diff --git a/converters/erlang-base64url/Makefile b/converters/erlang-base64url/Makefile index a3799166e51d..6ef8009db7a8 100644 --- a/converters/erlang-base64url/Makefile +++ b/converters/erlang-base64url/Makefile @@ -15,4 +15,6 @@ USES= erlang:rebar USE_GITHUB= yes GH_ACCOUNT= dvv +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/converters/uulib/Makefile b/converters/uulib/Makefile index 14a5a8553fef..e8e152e2ebd8 100644 --- a/converters/uulib/Makefile +++ b/converters/uulib/Makefile @@ -29,6 +29,8 @@ DOCFILES= HISTORY doc/Makefile doc/README doc/binhex.fig \ doc/library.ltx doc/structure.fig doc/td-v1.c doc/td-v2.c \ doc/td-v3.c doc/test.txt +OPTIONS_DEFINE= DOCS + post-patch: @${SED} -e 's,FUNKYTOKENHERE,${PREFIX}/,' \ < ${FILESDIR}/uulib.3 > ${WRKDIR}/uulib.3 diff --git a/databases/akonadi/Makefile b/databases/akonadi/Makefile index 995d0bf18a6b..eff73aebe307 100644 --- a/databases/akonadi/Makefile +++ b/databases/akonadi/Makefile @@ -52,6 +52,8 @@ SQLITE_CMAKE_OFF= -DAKONADI_BUILD_QSQLITE:BOOL=OFF OPTIONS_DEFAULT= MYSQL +OPTIONS_DEFINE= DOCS + post-patch: # To avoid overflow, MySQL settings need to be lower than # INT_MAX / kern.hz. This setting assumes kern.hz=2000, and diff --git a/databases/arangodb32/Makefile b/databases/arangodb32/Makefile index 9ca727ac66d5..26121b1f640e 100644 --- a/databases/arangodb32/Makefile +++ b/databases/arangodb32/Makefile @@ -28,6 +28,8 @@ USERS= arangodb GROUPS= arangodb USE_RC_SUBR= arangod +OPTIONS_DEFINE= DOCS + .include <bsd.port.options.mk> .if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1200057 diff --git a/databases/arangodb33/Makefile b/databases/arangodb33/Makefile index 8200672a93a3..c392c15afbfe 100644 --- a/databases/arangodb33/Makefile +++ b/databases/arangodb33/Makefile @@ -31,6 +31,8 @@ USERS= arangodb GROUPS= arangodb USE_RC_SUBR= arangod +OPTIONS_DEFINE= DOCS + .include <bsd.port.options.mk> .if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1200057 diff --git a/databases/c3p0/Makefile b/databases/c3p0/Makefile index f00123912a03..b265518290cb 100644 --- a/databases/c3p0/Makefile +++ b/databases/c3p0/Makefile @@ -18,6 +18,8 @@ NO_BUILD= yes JAVA_VERSION= 1.6+ WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} +OPTIONS_DEFINE= DOCS + do-install: ${INSTALL_DATA} ${WRKSRC}/lib/${PORTNAME}-${PORTVERSION}.jar ${STAGEDIR}${JAVAJARDIR}/${PORTNAME}.jar @${MKDIR} ${STAGEDIR}${DOCSDIR} diff --git a/databases/couchdb/Makefile b/databases/couchdb/Makefile index bd5bad3789af..2994c79d2b67 100644 --- a/databases/couchdb/Makefile +++ b/databases/couchdb/Makefile @@ -46,6 +46,8 @@ STRIP= #empty INFO= CouchDB +OPTIONS_DEFINE= DOCS + .include <bsd.port.options.mk> post-patch: diff --git a/databases/elixir-calecto/Makefile b/databases/elixir-calecto/Makefile index cce3ecfbf716..361a2fa5b1cd 100644 --- a/databases/elixir-calecto/Makefile +++ b/databases/elixir-calecto/Makefile @@ -19,4 +19,6 @@ MIX_BUILD_DEPS= databases/elixir-ecto \ devel/elixir-calendar MIX_RUN_DEPS:= ${MIX_BUILD_DEPS} +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/databases/elixir-db_connection/Makefile b/databases/elixir-db_connection/Makefile index cd87ec4e1c6f..804d89b7bf0c 100644 --- a/databases/elixir-db_connection/Makefile +++ b/databases/elixir-db_connection/Makefile @@ -21,4 +21,6 @@ MIX_BUILD_DEPS= devel/elixir-connection \ MIX_RUN_DEPS:= ${MIX_BUILD_DEPS} MIX_REWRITE= yes +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/databases/elixir-ecto/Makefile b/databases/elixir-ecto/Makefile index 69148c6cc30d..fe7f2cb36bc4 100644 --- a/databases/elixir-ecto/Makefile +++ b/databases/elixir-ecto/Makefile @@ -15,7 +15,7 @@ USES= elixir USE_GITHUB= yes GH_ACCOUNT= elixir-ecto -OPTIONS_DEFINE= POSTGREX MARIAEX +OPTIONS_DEFINE= POSTGREX MARIAEX DOCS OPTIONS_SUB= yes POSTGREX_DESC= PostgreSQL adapter support MARIAEX_DESC= MySQL adapter support diff --git a/databases/elixir-exredis/Makefile b/databases/elixir-exredis/Makefile index 89a002498612..067797193c1e 100644 --- a/databases/elixir-exredis/Makefile +++ b/databases/elixir-exredis/Makefile @@ -17,4 +17,6 @@ GH_ACCOUNT= artemeff MIX_BUILD_DEPS= databases/erlang-eredis MIX_RUN_DEPS:= ${MIX_BUILD_DEPS} +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/databases/elixir-geo/Makefile b/databases/elixir-geo/Makefile index f0e370bfa52c..a3122a547c05 100644 --- a/databases/elixir-geo/Makefile +++ b/databases/elixir-geo/Makefile @@ -23,4 +23,6 @@ MIX_BUILD_DEPS= databases/elixir-ecto \ MIX_RUN_DEPS:= ${MIX_BUILD_DEPS} MIX_REWRITE= yes +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/databases/elixir-mariaex/Makefile b/databases/elixir-mariaex/Makefile index 1aed8da440f2..be40a64a963f 100644 --- a/databases/elixir-mariaex/Makefile +++ b/databases/elixir-mariaex/Makefile @@ -21,4 +21,6 @@ MIX_BUILD_DEPS= devel/elixir-connection \ MIX_RUN_DEPS:= ${MIX_BUILD_DEPS} MIX_REWRITE= yes +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/databases/elixir-mongo/Makefile b/databases/elixir-mongo/Makefile index 05129c3f390b..ba422a3362f3 100644 --- a/databases/elixir-mongo/Makefile +++ b/databases/elixir-mongo/Makefile @@ -18,4 +18,6 @@ ELIXIR_APP_NAME=mongo MIX_BUILD_DEPS= devel/elixir-bson MIX_RUN_DEPS:= ${MIX_BUILD_DEPS} +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/databases/elixir-postgrex/Makefile b/databases/elixir-postgrex/Makefile index 00e2d4ba0134..2029a1d27bdc 100644 --- a/databases/elixir-postgrex/Makefile +++ b/databases/elixir-postgrex/Makefile @@ -21,4 +21,6 @@ MIX_BUILD_DEPS= databases/elixir-db_connection \ MIX_RUN_DEPS:= ${MIX_BUILD_DEPS} MIX_REWRITE= yes +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/databases/elixir-timex_ecto/Makefile b/databases/elixir-timex_ecto/Makefile index fbfd82dcd82b..11716c9d3796 100644 --- a/databases/elixir-timex_ecto/Makefile +++ b/databases/elixir-timex_ecto/Makefile @@ -19,4 +19,6 @@ MIX_BUILD_DEPS= databases/elixir-ecto \ MIX_RUN_DEPS:= ${MIX_BUILD_DEPS} MIX_REWRITE= yes +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/databases/erlang-couchbeam/Makefile b/databases/erlang-couchbeam/Makefile index a9cb8d4b837a..75baf5e61ba6 100644 --- a/databases/erlang-couchbeam/Makefile +++ b/databases/erlang-couchbeam/Makefile @@ -18,4 +18,6 @@ ERL_BUILD_DEPS= devel/erlang-jsx \ www/erlang-hackney ERL_RUN_DEPS:= ${ERL_BUILD_DEPS} +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/databases/erlang-epgsql/Makefile b/databases/erlang-epgsql/Makefile index 41b1eff9844e..2690f88cbd6d 100644 --- a/databases/erlang-epgsql/Makefile +++ b/databases/erlang-epgsql/Makefile @@ -13,4 +13,6 @@ LICENSE= BSD3CLAUSE USES= erlang:rebar3 USE_GITHUB= yes +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/databases/erlang-eredis/Makefile b/databases/erlang-eredis/Makefile index 864452dfa3f2..559d489ff314 100644 --- a/databases/erlang-eredis/Makefile +++ b/databases/erlang-eredis/Makefile @@ -15,4 +15,6 @@ USES= erlang:rebar USE_GITHUB= yes GH_ACCOUNT= wooga +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/databases/iowow/Makefile b/databases/iowow/Makefile index b393ab89a665..95ee65416ada 100644 --- a/databases/iowow/Makefile +++ b/databases/iowow/Makefile @@ -18,4 +18,6 @@ USE_LDCONFIG= yes PORTDOCS= Changelog README +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/databases/libodbc++/Makefile b/databases/libodbc++/Makefile index 53ce61f353e2..f6d520915c5b 100644 --- a/databases/libodbc++/Makefile +++ b/databases/libodbc++/Makefile @@ -11,8 +11,9 @@ COMMENT= C++ class library and toolset for ODBC access to data sources LICENSE= GPLv2 -OPTIONS_DEFINE= DOXYGEN +OPTIONS_DEFINE= DOXYGEN DOCS +DOXYGEN_IMPLIES= DOCS DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen USES= gmake libtool ncurses pathfix pkgconfig readline tar:bzip2 diff --git a/databases/libpbl/Makefile b/databases/libpbl/Makefile index 78ea6a67c35a..6f02b67aad77 100644 --- a/databases/libpbl/Makefile +++ b/databases/libpbl/Makefile @@ -25,6 +25,8 @@ PLIST_FILES= include/pbl.h \ lib/libpbl.a PORTDOCS= * +OPTIONS_DEFINE= DOCS + post-extract: @${REINPLACE_CMD} -e 's/= -Wall -O3/+= -Wall -Werror/' \ -e 's/^CC=/CC?=/' -e '/^.rm -f/d' ${WRKSRC}/makefile diff --git a/databases/linux-c6-sqlite3/Makefile b/databases/linux-c6-sqlite3/Makefile index c73037de36c2..03fb7c4cc3eb 100644 --- a/databases/linux-c6-sqlite3/Makefile +++ b/databases/linux-c6-sqlite3/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/databases/linux-c7-sqlite3/Makefile b/databases/linux-c7-sqlite3/Makefile index 9920df343b9c..6193cb9328b3 100644 --- a/databases/linux-c7-sqlite3/Makefile +++ b/databases/linux-c7-sqlite3/Makefile @@ -19,4 +19,6 @@ USES= linux:c7 USE_LDCONFIG= yes USE_LINUX_RPM= yes +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/databases/mariadb100-server/Makefile b/databases/mariadb100-server/Makefile index a5cc3110d615..ff1d645693ff 100644 --- a/databases/mariadb100-server/Makefile +++ b/databases/mariadb100-server/Makefile @@ -73,7 +73,7 @@ CONFLICTS_INSTALL= mariadb5*-${PKGNAMESUFFIX:C/^[0-9]*-//}-* \ .if !defined(CLIENT_ONLY) # MySQL-Server options -OPTIONS_DEFINE+= CONNECT_EXTRA MAXKEY +OPTIONS_DEFINE+= CONNECT_EXTRA MAXKEY DOCS OPTIONS_DEFAULT+= MAXKEY OPTIONS_GROUP= ENGINES OPTIONS_GROUP_ENGINES= INNOBASE MROONGA OQGRAPH SPHINX SPIDER TOKUDB @@ -123,6 +123,7 @@ OQGRAPH_LIB_DEPENDS= libboost_system.so:devel/boost-libs \ TOKUDB_LIB_DEPENDS= libsnappy.so:archivers/snappy TOKUDB_PORTDOCS= PATENTS README.md TOKUDB_VARS= LICENSE+=PerconaFT LICENSE_COMB=multi +TOKUDB_IMPLIES= DOCS post-install: # Remove programs to avoid conflict with mariadb100-client diff --git a/databases/mariadb101-server/Makefile b/databases/mariadb101-server/Makefile index 5af3ce63b04b..00d0176e3271 100644 --- a/databases/mariadb101-server/Makefile +++ b/databases/mariadb101-server/Makefile @@ -44,7 +44,7 @@ FASTMTX_DESC= Replace mutexes with spinlocks .if !defined(CLIENT_ONLY) # MySQL-Server options -OPTIONS_DEFINE+= CONNECT_EXTRA MAXKEY +OPTIONS_DEFINE+= CONNECT_EXTRA MAXKEY DOCS OPTIONS_DEFAULT+= MAXKEY SPHINX SPIDER OPTIONS_GROUP= COMPRESSION ENGINES GROONGA OPTIONS_GROUP_COMPRESSION= LZ4 LZO SNAPPY @@ -149,7 +149,7 @@ OQGRAPH_LIB_DEPENDS= libboost_system.so:devel/boost-libs \ SNAPPY_CMAKE_OFF= -DWITH_INNODB_SNAPPY=OFF SNAPPY_CMAKE_ON= -DWITH_INNODB_SNAPPY=${LOCALBASE}/lib SNAPPY_LIB_DEPENDS= libsnappy.so:archivers/snappy -TOKUDB_IMPLIES= SNAPPY +TOKUDB_IMPLIES= SNAPPY DOCS TOKUDB_PORTDOCS= README.md TOKUDB_VARS= LICENSE+=PerconaFT LICENSE_COMB=multi ZMQ_LIB_DEPENDS= libzmq.so:net/libzmq4 diff --git a/databases/mariadb102-server/Makefile b/databases/mariadb102-server/Makefile index 22d12d7cadc5..c551e97e4536 100644 --- a/databases/mariadb102-server/Makefile +++ b/databases/mariadb102-server/Makefile @@ -39,7 +39,7 @@ OPTIONS_DEFAULT= GSSAPI_BASE # MySQL-Server options OPTIONS_DEFAULT+= CONNECT_EXTRA INNOBASE SPHINX SPIDER OPTIONS_GROUP= COMPRESSION ENGINES GROONGA -OPTIONS_DEFINE= CONNECT_EXTRA +OPTIONS_DEFINE= CONNECT_EXTRA DOCS OPTIONS_GROUP_COMPRESSION= LZ4 LZO SNAPPY ZSTD OPTIONS_GROUP_ENGINES= INNOBASE MROONGA OQGRAPH ROCKSDB SPHINX SPIDER TOKUDB XTRADB OPTIONS_GROUP_GROONGA= ZMQ MSGPACK @@ -156,7 +156,7 @@ ROCKSDB_USES= python SNAPPY_CMAKE_OFF= -DWITH_INNODB_SNAPPY=OFF -DWITH_ROCKSDB_snappy=OFF SNAPPY_CMAKE_ON= -DWITH_INNODB_SNAPPY=ON -DWITH_ROCKSDB_snappy=ON SNAPPY_LIB_DEPENDS= libsnappy.so:archivers/snappy -TOKUDB_IMPLIES= SNAPPY +TOKUDB_IMPLIES= SNAPPY DOCS TOKUDB_PORTDOCS= README.md TOKUDB_VARS= LICENSE+=PerconaFT LICENSE_COMB=multi ZMQ_LIB_DEPENDS= libzmq.so:net/libzmq4 diff --git a/databases/mariadb103-server/Makefile b/databases/mariadb103-server/Makefile index e9e9fdbd56ff..37fc6d3dfdaa 100644 --- a/databases/mariadb103-server/Makefile +++ b/databases/mariadb103-server/Makefile @@ -41,7 +41,7 @@ OPTIONS_DEFAULT= GSSAPI_BASE # MySQL-Server options OPTIONS_DEFAULT+= CONNECT_EXTRA INNOBASE SPHINX SPIDER WSREP OPTIONS_GROUP= COMPRESSION ENGINES GROONGA -OPTIONS_DEFINE= CONNECT_EXTRA WSREP +OPTIONS_DEFINE= CONNECT_EXTRA WSREP DOCS OPTIONS_GROUP_COMPRESSION= LZ4 LZO SNAPPY ZSTD OPTIONS_GROUP_ENGINES= INNOBASE MROONGA OQGRAPH ROCKSDB SPHINX SPIDER TOKUDB XTRADB OPTIONS_GROUP_GROONGA= ZMQ MSGPACK @@ -158,7 +158,7 @@ ROCKSDB_USES= python SNAPPY_CMAKE_OFF= -DWITH_INNODB_SNAPPY=OFF -DWITH_ROCKSDB_snappy=OFF SNAPPY_CMAKE_ON= -DWITH_INNODB_SNAPPY=ON -DWITH_ROCKSDB_snappy=ON SNAPPY_LIB_DEPENDS= libsnappy.so:archivers/snappy -TOKUDB_IMPLIES= SNAPPY +TOKUDB_IMPLIES= SNAPPY DOCS TOKUDB_PORTDOCS= README.md TOKUDB_VARS= LICENSE+=PerconaFT LICENSE_COMB=multi WSREP_CMAKE_OFF= -DWITH_WSREP=OFF diff --git a/databases/mdcached/Makefile b/databases/mdcached/Makefile index 9fbefc9327f2..af1e76b5ea73 100644 --- a/databases/mdcached/Makefile +++ b/databases/mdcached/Makefile @@ -18,6 +18,8 @@ USE_LDCONFIG= yes PORTDOCS= UserGuide.txt mdcached.txt +OPTIONS_DEFINE= DOCS + post-patch: @${REINPLACE_CMD} 's|ADDCFLAGS = -Wall -g -O3 -march=native|ADDCFLAGS = ${CFLAGS}|' \ ${WRKSRC}/Makefile diff --git a/databases/memcacheq/Makefile b/databases/memcacheq/Makefile index 0829e2225ac7..38ceee27da1a 100644 --- a/databases/memcacheq/Makefile +++ b/databases/memcacheq/Makefile @@ -28,6 +28,8 @@ PORTDOCS= README MCQDIR?= /var/db/memcacheq PLIST_SUB= MCQDIR=${MCQDIR} +OPTIONS_DEFINE= DOCS + post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} diff --git a/databases/monetdb/Makefile b/databases/monetdb/Makefile index e2494f94db86..0df58e8152bd 100644 --- a/databases/monetdb/Makefile +++ b/databases/monetdb/Makefile @@ -35,7 +35,7 @@ CFLAGS+= -I${PREFIX}/include INSTALL_TARGET= install-strip OPTIONS_DEFINE= CONSOLE CURL DATACELL FITS GEOM JDBC MEROCONTROL ODBC \ - PERL RDF RUBYGEMS SPHINXCLIENT TESTING OPTIMIZE + PERL RDF RUBYGEMS SPHINXCLIENT TESTING OPTIMIZE DOCS OPTIONS_RADIO= PYTHON OPTIONS_RADIO_PYTHON= PYTHON2 PYTHON3 OPTIONS_SINGLE= PASSWD_HASH_ALGORITHM diff --git a/databases/mongodb32-tools/Makefile b/databases/mongodb32-tools/Makefile index 2dcb9fa4e82e..e3589291686a 100644 --- a/databases/mongodb32-tools/Makefile +++ b/databases/mongodb32-tools/Makefile @@ -22,7 +22,7 @@ USE_GITHUB= yes GH_ACCOUNT= mongodb GH_PROJECT= mongo-tools -OPTIONS_DEFINE= SSL SASL +OPTIONS_DEFINE= SSL SASL DOCS OPTIONS_DEFAULT= SSL SASL_USE= my_tags=sasl diff --git a/databases/mongodb34-tools/Makefile b/databases/mongodb34-tools/Makefile index d920a4514ac7..ad9a1a1dc314 100644 --- a/databases/mongodb34-tools/Makefile +++ b/databases/mongodb34-tools/Makefile @@ -23,7 +23,7 @@ USE_GITHUB= yes GH_ACCOUNT= mongodb GH_PROJECT= mongo-tools -OPTIONS_DEFINE= SSL SASL +OPTIONS_DEFINE= SSL SASL DOCS OPTIONS_DEFAULT= SSL SASL SASL_USE= my_tags=sasl diff --git a/databases/mongodb36-tools/Makefile b/databases/mongodb36-tools/Makefile index c37f5c0b6c65..7ac98f5e281d 100644 --- a/databases/mongodb36-tools/Makefile +++ b/databases/mongodb36-tools/Makefile @@ -27,7 +27,7 @@ USE_GITHUB= yes GH_ACCOUNT= mongodb GH_PROJECT= mongo-tools -OPTIONS_DEFINE= SSL SASL +OPTIONS_DEFINE= DOCS SSL SASL OPTIONS_DEFAULT= SSL SASL SASL_USE= my_tags=sasl diff --git a/databases/ora2pg/Makefile b/databases/ora2pg/Makefile index 0d9d359cb16d..a4318e0e50bb 100644 --- a/databases/ora2pg/Makefile +++ b/databases/ora2pg/Makefile @@ -22,6 +22,8 @@ USE_PERL5= configure USE_GITHUB= yes GH_ACCOUNT= darold +OPTIONS_DEFINE= DOCS + do-patch: ${REINPLACE_CMD} -e '/install_all :/,/};/s=$$CONFDIR=${STAGEDIR}${ETCDIR}=g' \ -e '/install_all :/,/};/s=$$DOCDIR=${STAGEDIR}${DOCSDIR}=g' \ diff --git a/databases/pg_partman/Makefile b/databases/pg_partman/Makefile index daa1960ebaf6..3f316d70957a 100644 --- a/databases/pg_partman/Makefile +++ b/databases/pg_partman/Makefile @@ -24,6 +24,8 @@ SHEBANG_GLOB= *.py OPTIONS_DEFINE= DOCS +OPTIONS_DEFINE= DOCS + post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/postgresql/pg_partman_bgw.so diff --git a/databases/pgespresso/Makefile b/databases/pgespresso/Makefile index d12952220435..8de1d6507e79 100644 --- a/databases/pgespresso/Makefile +++ b/databases/pgespresso/Makefile @@ -28,6 +28,8 @@ PORTDOCS= README.asciidoc INSTALL_TARGET= install-strip MAKE_ARGS= INSTALL="${INSTALL} -c" +OPTIONS_DEFINE= DOCS + post-install: ${MKDIR} ${STAGEDIR}${DOCSDIR}/ ${INSTALL_MAN} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR}/ diff --git a/databases/postgresql10-contrib/Makefile b/databases/postgresql10-contrib/Makefile index 0f819e2cb4a9..d2d5002b6b2b 100644 --- a/databases/postgresql10-contrib/Makefile +++ b/databases/postgresql10-contrib/Makefile @@ -23,6 +23,8 @@ COMPONENT= -contrib CONFIGURE_ARGS+=--with-libxslt --with-libxml --with-openssl --disable-nls --with-uuid=bsd LDFLAGS+= -lpthread -L${PREFIX}/lib +OPTIONS_DEFINE= DOCS + post-configure: @cd ${WRKSRC}/src/backend && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} symlinks diff --git a/databases/postgresql10-server/Makefile b/databases/postgresql10-server/Makefile index fa72652dfcc5..02afe6cf0574 100644 --- a/databases/postgresql10-server/Makefile +++ b/databases/postgresql10-server/Makefile @@ -71,7 +71,7 @@ SUB_FILES+= 502.pgsql .endif .if defined(CLIENT_ONLY) -OPTIONS_DEFINE+=LIBEDIT +OPTIONS_DEFINE+=LIBEDIT DOCS LIBEDIT_DESC= Use non-GPL libedit instead of readline USES+= perl5 .else @@ -80,7 +80,7 @@ CONFIGURE_ENV+= PATH=${PREFIX}/bin:${PATH} .endif .if defined(SERVER_ONLY) -OPTIONS_DEFINE= DTRACE LDAP INTDATE TZDATA XML +OPTIONS_DEFINE= DTRACE LDAP INTDATE TZDATA XML DOCS LDAP_DESC= Build with LDAP authentication support DTRACE_DESC= Build with DTrace probes TZDATA_DESC= Use internal timezone database @@ -104,7 +104,7 @@ OPTIONS_DEFAULT+= TZDATA INTDATE .endif .if !defined(SLAVE_ONLY) -OPTIONS_DEFINE+= NLS PAM GSSAPI OPTIMIZED_CFLAGS DEBUG +OPTIONS_DEFINE+= NLS PAM GSSAPI OPTIMIZED_CFLAGS DEBUG DOCS . if ${DISTVERSION:R} == 9.2 || ${DISTVERSION:R} == 9.3 OPTIONS_RADIO= KRB5 OPTIONS_RADIO_KRB5= MIT_KRB5 HEIMDAL_KRB5 diff --git a/databases/postgresql95-contrib/Makefile b/databases/postgresql95-contrib/Makefile index bb60cd3bbe57..760edb6a941d 100644 --- a/databases/postgresql95-contrib/Makefile +++ b/databases/postgresql95-contrib/Makefile @@ -23,6 +23,8 @@ COMPONENT= -contrib CONFIGURE_ARGS+=--with-libxslt --with-libxml --with-openssl --disable-nls --with-uuid=bsd LDFLAGS+= -lpthread -L${PREFIX}/lib +OPTIONS_DEFINE= DOCS + post-install: @- ${INSTALL_DATA} ${WRKSRC}/contrib/README ${STAGEDIR}${DOCSDIR}/extension/README diff --git a/databases/postgresql96-contrib/Makefile b/databases/postgresql96-contrib/Makefile index 55ed6d09223b..30313169e20b 100644 --- a/databases/postgresql96-contrib/Makefile +++ b/databases/postgresql96-contrib/Makefile @@ -23,6 +23,8 @@ COMPONENT= -contrib CONFIGURE_ARGS+=--with-libxslt --with-libxml --with-openssl --disable-nls --with-uuid=bsd LDFLAGS+= -lpthread -L${PREFIX}/lib +OPTIONS_DEFINE= DOCS + post-configure: @cd ${WRKSRC}/src/backend && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} symlinks diff --git a/databases/py-PyGreSQL/Makefile b/databases/py-PyGreSQL/Makefile index 491bfe2ddb20..e8246e3a5c6d 100644 --- a/databases/py-PyGreSQL/Makefile +++ b/databases/py-PyGreSQL/Makefile @@ -19,6 +19,8 @@ USE_PYTHON= autoplist distutils PORTDOCS= * +OPTIONS_DEFINE= DOCS + post-install: ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/_pg.so @${MKDIR} ${STAGEDIR}${DOCSDIR} diff --git a/databases/py-bsddb3/Makefile b/databases/py-bsddb3/Makefile index 5144d2e5b538..b833320e34d3 100644 --- a/databases/py-bsddb3/Makefile +++ b/databases/py-bsddb3/Makefile @@ -22,6 +22,8 @@ PYDISTUTILS_INSTALLARGS=-c -O1 --prefix=${PREFIX} --berkeley-db=${LOCALBASE} PORTDOCS= * DOCSDIR= ${PREFIX}/share/doc/${PYTHON_PKGNAMEPREFIX}${PORTNAME} +OPTIONS_DEFINE= DOCS + post-patch: @${REINPLACE_CMD} 's,%%DBVERSION%%,${BDB_LIB_NAME},g' ${WRKSRC}/setup2.py ${WRKSRC}/setup3.py @${REINPLACE_CMD} 's,<db\.h>,<${BDB_INCLUDE_DIR}/db.h>,' ${WRKSRC}/Modules/bsddb.h diff --git a/databases/py-sqlobject/Makefile b/databases/py-sqlobject/Makefile index 1736b25e816b..131e1a8a6280 100644 --- a/databases/py-sqlobject/Makefile +++ b/databases/py-sqlobject/Makefile @@ -21,7 +21,7 @@ USES= python${PY_MYSQL} USE_PYTHON= autoplist distutils # currently MaxDB(SAP), ADODB are not supported -OPTIONS_DEFINE= MYSQL PGSQL SQLITE MSSQL SYBASE +OPTIONS_DEFINE= DOCS MYSQL PGSQL SQLITE MSSQL SYBASE SYBASE_DESC= sybase support PORTDOCS= * diff --git a/databases/qdbm/Makefile b/databases/qdbm/Makefile index ef61b24c306a..277949319505 100644 --- a/databases/qdbm/Makefile +++ b/databases/qdbm/Makefile @@ -29,6 +29,8 @@ MAKE_ARGS= MYDATADIR="${DOCSDIR}" MYDOCS="${PORTDOCS}" \ INSTALL_TARGET= install-strip PORTDOCS= ChangeLog NEWS +OPTIONS_DEFINE= DOCS + post-patch: .if defined(WITH_DEBUG) @${REINPLACE_CMD} 's/-DNDEBUG//' ${WRKSRC}/Makefile.in diff --git a/databases/sqlcached/Makefile b/databases/sqlcached/Makefile index e9e8c0a80210..a6fa2740d0d3 100644 --- a/databases/sqlcached/Makefile +++ b/databases/sqlcached/Makefile @@ -23,6 +23,8 @@ PORTDOCS= ${PORTNAME}.html ${PORTNAME}.txt PLIST_FILES= bin/${PORTNAME} etc/rc.d/${PORTNAME} \ man/man1/${PORTNAME}.1.gz +OPTIONS_DEFINE= DOCS + post-patch: @${REINPLACE_CMD} -e 's|-lcurses|-lncurses|' ${WRKSRC}/Makefile @${REINPLACE_CMD} 's|/usr/local|${PREFIX}|' \ diff --git a/deskutils/akonadi-calendar-tools/Makefile b/deskutils/akonadi-calendar-tools/Makefile index 32072c6ae9f2..11d5403d4eeb 100644 --- a/deskutils/akonadi-calendar-tools/Makefile +++ b/deskutils/akonadi-calendar-tools/Makefile @@ -25,4 +25,6 @@ USE_LDCONFIG= yes DESCR= ${.CURDIR:H:H}/deskutils/kdepim/pkg-descr +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/deskutils/akonadi-import-wizard/Makefile b/deskutils/akonadi-import-wizard/Makefile index 75d4ae6d712c..3463864e350d 100644 --- a/deskutils/akonadi-import-wizard/Makefile +++ b/deskutils/akonadi-import-wizard/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/deskutils/akonadiconsole/Makefile b/deskutils/akonadiconsole/Makefile index 3ffade32e679..74392a9cec3a 100644 --- a/deskutils/akonadiconsole/Makefile +++ b/deskutils/akonadiconsole/Makefile @@ -34,4 +34,6 @@ USE_LDCONFIG= yes DESCR= ${.CURDIR:H:H}/deskutils/kdepim/pkg-descr +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/deskutils/akregator/Makefile b/deskutils/akregator/Makefile index 5033496b74ee..b3afb4b80e95 100644 --- a/deskutils/akregator/Makefile +++ b/deskutils/akregator/Makefile @@ -31,4 +31,6 @@ USE_LDCONFIG= yes DESCR= ${.CURDIR:H:H}/deskutils/kdepim/pkg-descr +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/deskutils/gnote/Makefile b/deskutils/gnote/Makefile index ebddfd09fbc7..04f5061fe84f 100644 --- a/deskutils/gnote/Makefile +++ b/deskutils/gnote/Makefile @@ -39,6 +39,8 @@ DOCS= AUTHORS ChangeLog NEWS README TODO PLIST_SUB+= VERSION=${PORTVERSION} +OPTIONS_DEFINE= DOCS + post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for i in ${DOCS} diff --git a/deskutils/grantlee-editor/Makefile b/deskutils/grantlee-editor/Makefile index c5fbb811e476..cd4c308c4a21 100644 --- a/deskutils/grantlee-editor/Makefile +++ b/deskutils/grantlee-editor/Makefile @@ -32,4 +32,6 @@ USE_LDCONFIG= yes DESCR= ${.CURDIR:H:H}/deskutils/kdepim/pkg-descr +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/deskutils/grantleetheme/Makefile b/deskutils/grantleetheme/Makefile index c935098f27c8..f242438598d3 100644 --- a/deskutils/grantleetheme/Makefile +++ b/deskutils/grantleetheme/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/deskutils/kaddressbook/Makefile b/deskutils/kaddressbook/Makefile index a27b371c88d3..4eb24f65fca0 100644 --- a/deskutils/kaddressbook/Makefile +++ b/deskutils/kaddressbook/Makefile @@ -29,4 +29,6 @@ USE_LDCONFIG= yes DESCR= ${.CURDIR:H:H}/deskutils/kdepim/pkg-descr +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/deskutils/kalarm/Makefile b/deskutils/kalarm/Makefile index ae8eaf1069bb..e5a96ea0c7fc 100644 --- a/deskutils/kalarm/Makefile +++ b/deskutils/kalarm/Makefile @@ -30,4 +30,6 @@ SHEBANG_FILES= src/kconf_update/kalarm*.pl DESCR= ${.CURDIR:H:H}/deskutils/kdepim/pkg-descr +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/deskutils/kcharselect/Makefile b/deskutils/kcharselect/Makefile index 1c3c96b85168..89c0ef82ae38 100644 --- a/deskutils/kcharselect/Makefile +++ b/deskutils/kcharselect/Makefile @@ -16,4 +16,6 @@ USE_KDE= auth codecs config configwidgets coreaddons crash ecm bookmarks \ USE_QT= core dbus gui widgets xml \ buildtools_build qmake_build +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/deskutils/kdepim-addons/Makefile b/deskutils/kdepim-addons/Makefile index 10d4cf208d5b..0ca4015d617d 100644 --- a/deskutils/kdepim-addons/Makefile +++ b/deskutils/kdepim-addons/Makefile @@ -36,4 +36,6 @@ USE_LDCONFIG= yes DESCR= ${.CURDIR:H:H}/deskutils/kdepim/pkg-descr +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/deskutils/kdepim-apps-libs/Makefile b/deskutils/kdepim-apps-libs/Makefile index 6da57b355b22..c86dfd296fc9 100644 --- a/deskutils/kdepim-apps-libs/Makefile +++ b/deskutils/kdepim-apps-libs/Makefile @@ -28,4 +28,6 @@ USE_LDCONFIG= yes DESCR= ${.CURDIR:H:H}/deskutils/kdepim/pkg-descr +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/deskutils/kdepim-runtime/Makefile b/deskutils/kdepim-runtime/Makefile index 5b7007eaef81..e8f5242f2da8 100644 --- a/deskutils/kdepim-runtime/Makefile +++ b/deskutils/kdepim-runtime/Makefile @@ -35,4 +35,6 @@ USE_LDCONFIG= yes DESCR= ${.CURDIR:H:H}/deskutils/kdepim/pkg-descr +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/deskutils/keditbookmarks/Makefile b/deskutils/keditbookmarks/Makefile index f2b058004f7b..4ec6796984ac 100644 --- a/deskutils/keditbookmarks/Makefile +++ b/deskutils/keditbookmarks/Makefile @@ -14,4 +14,6 @@ USE_KDE= auth bookmarks codecs completion config configwidgets \ USE_QT= core dbus gui network widgets xml \ buildtools_build qmake_build +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/deskutils/kfind/Makefile b/deskutils/kfind/Makefile index af4a60655f3f..eea9219d562b 100644 --- a/deskutils/kfind/Makefile +++ b/deskutils/kfind/Makefile @@ -16,4 +16,6 @@ USE_KDE= archive 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/deskutils/kmail-account-wizard/Makefile b/deskutils/kmail-account-wizard/Makefile index 70e2e4e69c3f..81194e9384a2 100644 --- a/deskutils/kmail-account-wizard/Makefile +++ b/deskutils/kmail-account-wizard/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/deskutils/kmail/Makefile b/deskutils/kmail/Makefile index 85cf5364bce3..8b32b5eda9ba 100644 --- a/deskutils/kmail/Makefile +++ b/deskutils/kmail/Makefile @@ -42,4 +42,6 @@ USE_LDCONFIG= yes DESCR= ${.CURDIR:H:H}/deskutils/kdepim/pkg-descr +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/deskutils/knotes/Makefile b/deskutils/knotes/Makefile index ea082b5ab9ee..eb38a21f90d7 100644 --- a/deskutils/knotes/Makefile +++ b/deskutils/knotes/Makefile @@ -31,4 +31,6 @@ USE_LDCONFIG= yes DESCR= ${.CURDIR:H:H}/deskutils/kdepim/pkg-descr +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/deskutils/kontact/Makefile b/deskutils/kontact/Makefile index 7f668e1dd950..b7e9b9e1e981 100644 --- a/deskutils/kontact/Makefile +++ b/deskutils/kontact/Makefile @@ -24,4 +24,6 @@ DESCR= ${.CURDIR:H:H}/deskutils/kdepim/pkg-descr +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/deskutils/korganizer/Makefile b/deskutils/korganizer/Makefile index bdc9d2fbf1cd..3b57c6085dd9 100644 --- a/deskutils/korganizer/Makefile +++ b/deskutils/korganizer/Makefile @@ -29,4 +29,6 @@ USE_LDCONFIG= yes DESCR= ${.CURDIR:H:H}/deskutils/kdepim/pkg-descr +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/deskutils/kruler/Makefile b/deskutils/kruler/Makefile index b0efa16f03fb..c96a7c68c231 100644 --- a/deskutils/kruler/Makefile +++ b/deskutils/kruler/Makefile @@ -14,4 +14,6 @@ USE_QT= core dbus gui widgets x11extras xml \ buildtools_build qmake_build USE_XORG= x11 xcb +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/deskutils/launchy/Makefile b/deskutils/launchy/Makefile index 51b713a9c555..9a417a02900e 100644 --- a/deskutils/launchy/Makefile +++ b/deskutils/launchy/Makefile @@ -24,6 +24,8 @@ PORTDOCS= * MAKE_JOBS_UNSAFE= yes +OPTIONS_DEFINE= DOCS + post-patch: @${REINPLACE_CMD} 's,/usr,${PREFIX},' \ ${WRKSRC}/platforms/unix/unix.pro \ diff --git a/deskutils/libkdepim/Makefile b/deskutils/libkdepim/Makefile index 494dc902e721..e18b381167e8 100644 --- a/deskutils/libkdepim/Makefile +++ b/deskutils/libkdepim/Makefile @@ -24,4 +24,6 @@ USE_QT= core dbus designer gui network testlib uiplugin uitools \ USE_LDCONFIG= yes +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/deskutils/mbox-importer/Makefile b/deskutils/mbox-importer/Makefile index da51e285573a..f35b78900cc7 100644 --- a/deskutils/mbox-importer/Makefile +++ b/deskutils/mbox-importer/Makefile @@ -26,4 +26,6 @@ USE_LDCONFIG= yes DESCR= ${.CURDIR:H:H}/deskutils/kdepim/pkg-descr +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/deskutils/nautilus-actions/Makefile b/deskutils/nautilus-actions/Makefile index 4f1b4fe00008..54423dae9930 100644 --- a/deskutils/nautilus-actions/Makefile +++ b/deskutils/nautilus-actions/Makefile @@ -32,6 +32,8 @@ PORTDOCS= AUTHORS ChangeLog ChangeLog-2008 ChangeLog-2009 ChangeLog-2010 \ ChangeLog-2011 ChangeLog-2012 COPYING COPYING-DOCS INSTALL \ MAINTAINERS NEWS README README-GCONF TODO +OPTIONS_DEFINE= DOCS + .include <bsd.port.options.mk> post-patch: diff --git a/deskutils/notecase/Makefile b/deskutils/notecase/Makefile index 571131b3dcf2..f24cf2ffd3f6 100644 --- a/deskutils/notecase/Makefile +++ b/deskutils/notecase/Makefile @@ -24,6 +24,8 @@ WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} PORTDOCS= help.ncd +OPTIONS_DEFINE= DOCS + post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/notecase diff --git a/deskutils/pim-data-exporter/Makefile b/deskutils/pim-data-exporter/Makefile index 8c2a9326574e..69aa2fce139a 100644 --- a/deskutils/pim-data-exporter/Makefile +++ b/deskutils/pim-data-exporter/Makefile @@ -29,4 +29,6 @@ USE_LDCONFIG= yes DESCR= ${.CURDIR:H:H}/deskutils/kdepim/pkg-descr +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/deskutils/pim-sieve-editor/Makefile b/deskutils/pim-sieve-editor/Makefile index dff38cad3fb0..6dfad70358a7 100644 --- a/deskutils/pim-sieve-editor/Makefile +++ b/deskutils/pim-sieve-editor/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/deskutils/taskd/Makefile b/deskutils/taskd/Makefile index 487028de12cd..849cc0cefffc 100644 --- a/deskutils/taskd/Makefile +++ b/deskutils/taskd/Makefile @@ -48,6 +48,8 @@ CFLAGS+= -g -O0 PORTDOCS= * +OPTIONS_DEFINE= DOCS + post-install: (cd ${WRKSRC}/pki && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}) ${MKDIR} ${STAGEDIR}${TASKD_DBDIR} diff --git a/deskutils/tasksh/Makefile b/deskutils/tasksh/Makefile index aae605eeb3f0..120ed4b30da1 100644 --- a/deskutils/tasksh/Makefile +++ b/deskutils/tasksh/Makefile @@ -11,4 +11,6 @@ COMMENT= Shell command that wraps Taskwarrior commands USES= cmake compiler:c++11-lang readline +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> 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 diff --git a/dns/ddclient/Makefile b/dns/ddclient/Makefile index 246c11254833..461efaa039b2 100644 --- a/dns/ddclient/Makefile +++ b/dns/ddclient/Makefile @@ -23,7 +23,7 @@ NO_ARCH= yes NO_BUILD= yes SUB_FILES= pkg-message ddclient_force -OPTIONS_DEFINE= SSL +OPTIONS_DEFINE= SSL DOCS OPTIONS_DEFAULT=SSL SSL_RUN_DEPENDS=ca_root_nss>0:security/ca_root_nss \ diff --git a/dns/drool/Makefile b/dns/drool/Makefile index caeb5a3fda3e..484969574729 100644 --- a/dns/drool/Makefile +++ b/dns/drool/Makefile @@ -20,4 +20,6 @@ USE_LDCONFIG= yes CPPFLAGS+= $$(pkg-config libev --cflags-only-I) LDFLAGS+= $$(pkg-config libev --libs-only-L) +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/dns/dsc/Makefile b/dns/dsc/Makefile index 47c897dcecd4..892270afe4cf 100644 --- a/dns/dsc/Makefile +++ b/dns/dsc/Makefile @@ -27,4 +27,6 @@ SUB_FILES= pkg-message USE_RC_SUBR= dsc +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/dns/dsp/Makefile b/dns/dsp/Makefile index 7439bf6a0e0a..6b768572c9c7 100644 --- a/dns/dsp/Makefile +++ b/dns/dsp/Makefile @@ -28,4 +28,6 @@ USES= gmake perl5 PERL5= configure patch shebangfix NO_ARCH= yes +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/dns/erlang-idna/Makefile b/dns/erlang-idna/Makefile index 045c696c2288..2d420801e3b1 100644 --- a/dns/erlang-idna/Makefile +++ b/dns/erlang-idna/Makefile @@ -18,4 +18,6 @@ GH_PROJECT= ${PKGNAMEPREFIX}${PORTNAME} ERL_BUILD_DEPS= devel/erlang-unicode_util_compat ERL_RUN_DEPS:= ${ERL_BUILD_DEPS} +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/dns/knot-resolver/Makefile b/dns/knot-resolver/Makefile index 37052d4c2c96..28e51a308167 100644 --- a/dns/knot-resolver/Makefile +++ b/dns/knot-resolver/Makefile @@ -33,7 +33,7 @@ USES= gmake libedit libtool ncurses pkgconfig shebangfix tar:xz SHEBANG_FILES= scripts/coverage_env.sh USE_LDCONFIG= yes -OPTIONS_DEFINE= COOKIES DNSTAP DOXYGEN GO TRUSTANCHOR +OPTIONS_DEFINE= DOCS COOKIES DNSTAP DOXYGEN GO TRUSTANCHOR COOKIES_DESC= cookies COOKIES_LIB_DEPENDS= libnettle.so:security/nettle @@ -55,6 +55,7 @@ DNSTAP_MAKE_ARGS_ON= HAS_libprotobuf-c=yes HAS_libfstrm=yes DNSTAP_MAKE_ARGS_OFF= HAS_libprotobuf-c=no HAS_libfstrm=no DNSTAP_PLIST_FILES= lib/kdns_modules/dnstap.so +DOXYGEN_IMPLIES= DOCS DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen DOXYGEN_MAKE_ARGS_ON= HAS_doxygen=yes DOXYGEN_MAKE_ARGS_OFF= HAS_doxygen=no diff --git a/dns/knot1/Makefile b/dns/knot1/Makefile index ff5a6e5c4476..ec5f9c5a4f74 100644 --- a/dns/knot1/Makefile +++ b/dns/knot1/Makefile @@ -39,7 +39,7 @@ SUB_LIST+= USERS="${USERS}" GROUPS="${GROUPS}" PORTDOCS= AUTHORS COPYING ChangeLog INSTALL NEWS README THANKS -OPTIONS_DEFINE= DNSTAP IDN LMDB +OPTIONS_DEFINE= DNSTAP IDN LMDB DOCS DNSTAP_DESC= dnstap support (see dnstap.info) LMDB_DESC= Enable LMDB backend diff --git a/dns/knot2/Makefile b/dns/knot2/Makefile index 34edfd04bf12..4600f4eacc0a 100644 --- a/dns/knot2/Makefile +++ b/dns/knot2/Makefile @@ -40,7 +40,7 @@ SUB_LIST+= USERS="${USERS}" GROUPS="${GROUPS}" PORTDOCS= AUTHORS COPYING ChangeLog INSTALL NEWS README THANKS -OPTIONS_DEFINE= DNSTAP FASTPARSER IDN +OPTIONS_DEFINE= DNSTAP FASTPARSER IDN DOCS DNSTAP_DESC= dnstap support (see dnstap.info) DNSTAP_CONFIGURE_ENABLE= dnstap diff --git a/dns/linux-c6-libasyncns/Makefile b/dns/linux-c6-libasyncns/Makefile index 2d81b9e74b6c..0300692aedc2 100644 --- a/dns/linux-c6-libasyncns/Makefile +++ b/dns/linux-c6-libasyncns/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/dns/linux-c7-libasyncns/Makefile b/dns/linux-c7-libasyncns/Makefile index 27e9adf0a6b3..59b6362e6d8a 100644 --- a/dns/linux-c7-libasyncns/Makefile +++ b/dns/linux-c7-libasyncns/Makefile @@ -18,4 +18,6 @@ USES= linux:c7 USE_LDCONFIG= yes USE_LINUX_RPM= yes +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/dns/powerdns/Makefile b/dns/powerdns/Makefile index 09c77654353a..7fb321bbcebe 100644 --- a/dns/powerdns/Makefile +++ b/dns/powerdns/Makefile @@ -38,7 +38,7 @@ SUB_FILES= pkg-message USE_RC_SUBR= pdns -OPTIONS_DEFINE= GEOIP LUAJIT MYDNS MYSQL OPENDBX OPENLDAP OPTALGO PGSQL PROTOBUF REMOTE SQLITE3 TINYDNS TOOLS UNIXODBC +OPTIONS_DEFINE= DOCS GEOIP LUAJIT MYDNS MYSQL OPENDBX OPENLDAP OPTALGO PGSQL PROTOBUF REMOTE SQLITE3 TINYDNS TOOLS UNIXODBC OPTIONS_GROUP= EXPERIMENTAL REMOTEOPT OPTIONS_GROUP_EXPERIMENTAL= LUABACKEND OPTIONS_GROUP_REMOTEOPT= ZEROMQ diff --git a/dns/py-namebench/Makefile b/dns/py-namebench/Makefile index bc1ad71b096d..3f6443693991 100644 --- a/dns/py-namebench/Makefile +++ b/dns/py-namebench/Makefile @@ -38,6 +38,8 @@ USE_PYTHON= distutils autoplist PYDISTUTILS_INSTALLARGS+= --install-data=${PREFIX}/share +OPTIONS_DEFINE= DOCS + post-patch: @${REINPLACE_CMD} -e 's,/usr/local,${PREFIX},' \ ${WRKSRC}/libnamebench/util.py diff --git a/dns/void-zones-tools/Makefile b/dns/void-zones-tools/Makefile index 058712575ef7..cdf9afd49d5a 100644 --- a/dns/void-zones-tools/Makefile +++ b/dns/void-zones-tools/Makefile @@ -18,6 +18,8 @@ GH_ACCOUNT= cyclaero SUB_FILES= pkg-message +OPTIONS_DEFINE= DOCS + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/hosts2zones ${STAGEDIR}${PREFIX}/bin ${MKDIR} ${STAGEDIR}${PREFIX}/etc/void-zones diff --git a/editors/kate/Makefile b/editors/kate/Makefile index 64ca1947f402..3d0a601fd368 100644 --- a/editors/kate/Makefile +++ b/editors/kate/Makefile @@ -21,4 +21,6 @@ USE_KDE= activities attica auth bookmarks codecs completion config \ USE_QT= core dbus gui network script sql widgets xml \ buildtools_build qmake_build +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/editors/kile/Makefile b/editors/kile/Makefile index c44745d13663..578b9fdb517d 100644 --- a/editors/kile/Makefile +++ b/editors/kile/Makefile @@ -30,4 +30,6 @@ GH_ACCOUNT= kde CONFLICTS_INSTALL= kile-kde4 +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/editors/leafpad/Makefile b/editors/leafpad/Makefile index f3f5b11ae631..2b01743572d6 100644 --- a/editors/leafpad/Makefile +++ b/editors/leafpad/Makefile @@ -22,6 +22,8 @@ LDFLAGS+= -lpthread -L${LOCALBASE}/lib PORTDOCS= AUTHORS COPYING ChangeLog INSTALL README +OPTIONS_DEFINE= DOCS + post-extract: @${CHMOD} a+x ${WRKSRC}/install-sh diff --git a/editors/micro/Makefile b/editors/micro/Makefile index 6c8a9a7fd183..e839fa38ead7 100644 --- a/editors/micro/Makefile +++ b/editors/micro/Makefile @@ -48,6 +48,8 @@ BUILD_DATE= August 9, 2018 PLIST_FILES= bin/micro PORTDOCS= README.md +OPTIONS_DEFINE= DOCS + do-build: @(cd ${WRKSRC} ; \ ${SETENV} ${MAKE_ENV} CGO_ENABLED=0 GOPATH=${WRKSRC} go build -ldflags \ diff --git a/editors/pluma/Makefile b/editors/pluma/Makefile index f32d8fb42a8c..5d795a24e0d3 100644 --- a/editors/pluma/Makefile +++ b/editors/pluma/Makefile @@ -39,4 +39,6 @@ GLIB_SCHEMAS= org.mate.pluma.gschema.xml \ org.mate.pluma.plugins.spell.gschema.xml \ org.mate.pluma.plugins.time.gschema.xml +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/editors/the/Makefile b/editors/the/Makefile index 93cde8bca85f..5d555bc52345 100644 --- a/editors/the/Makefile +++ b/editors/the/Makefile @@ -21,7 +21,7 @@ CONFIGURE_ARGS= --with-rexxincdir=${LOCALBASE}/include \ ALL_TARGET= all html CPPFLAGS+= -I${LOCALBASE}/include -OPTIONS_DEFINE= XAW3D +OPTIONS_DEFINE= DOCS XAW3D OPTIONS_SINGLE= Display Rexx OPTIONS_SINGLE_Display= NCURSES XCURSES OPTIONS_SINGLE_Rexx= REXX_IMC REGINA diff --git a/emulators/advancemess/Makefile b/emulators/advancemess/Makefile index 40f31f3d6e58..f3371ec16c33 100644 --- a/emulators/advancemess/Makefile +++ b/emulators/advancemess/Makefile @@ -32,7 +32,7 @@ PLIST_FILES= bin/advmess \ MAKE_JOBS_UNSAFE= yes -OPTIONS_DEFINE= FREETYPE SLANG +OPTIONS_DEFINE= FREETYPE SLANG DOCS OPTIONS_DEFINE_i386= ASM OPTIONS_DEFAULT= FREETYPE OPTIONS_DEFAULT_i386= ASM diff --git a/emulators/aqemu/Makefile b/emulators/aqemu/Makefile index d5a1a2707ff3..66d1826dd0b7 100644 --- a/emulators/aqemu/Makefile +++ b/emulators/aqemu/Makefile @@ -20,4 +20,6 @@ USE_QT= buildtools_build linguisttools_build qmake_build \ USE_GITHUB= yes GH_ACCOUNT= tobimensch +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/emulators/dosbox/Makefile b/emulators/dosbox/Makefile index 2918139bd924..9f5056d9461c 100644 --- a/emulators/dosbox/Makefile +++ b/emulators/dosbox/Makefile @@ -27,6 +27,7 @@ DESKTOP_ENTRIES="DOSBox" "${COMMENT}" \ "${PREFIX}/share/pixmaps/dosbox.ico" "dosbox" \ "System;Emulator;" "true" +OPTIONS_DEFINE= DOCS OPTIONS_RADIO= DEBUGGER OPTIONS_RADIO_DEBUGGER=DEBUGGER_ENABLE DEBUGGER_HEAVY DEBUGGER_ENABLE_DESC=Enable internal debugger diff --git a/emulators/dynagen/Makefile b/emulators/dynagen/Makefile index 313b1059bbfd..d4ef7e13def7 100644 --- a/emulators/dynagen/Makefile +++ b/emulators/dynagen/Makefile @@ -28,6 +28,8 @@ USE_PYTHON= distutils autoplist ALL_TARGET= # empty NO_ARCH= yes +OPTIONS_DEFINE= DOCS + .include <bsd.port.pre.mk> post-extract: diff --git a/emulators/fs-uae-launcher/Makefile b/emulators/fs-uae-launcher/Makefile index 0180056a8191..5f9e4434b341 100644 --- a/emulators/fs-uae-launcher/Makefile +++ b/emulators/fs-uae-launcher/Makefile @@ -24,4 +24,6 @@ MAKE_ARGS+= DESTDIR=${STAGEDIR} prefix=${PREFIX} PYTHON=${PYTHON_CMD} PYDISTUTILS_INSTALLARGS+= --install-lib=${PYTHON_SITELIBDIR} +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/emulators/fuse-utils/Makefile b/emulators/fuse-utils/Makefile index 25728c64cda2..a34c08aec7c0 100644 --- a/emulators/fuse-utils/Makefile +++ b/emulators/fuse-utils/Makefile @@ -24,6 +24,8 @@ GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-libspectrum-prefix=${LOCALBASE} \ --with-local-prefix=${LOCALBASE} +OPTIONS_DEFINE= DOCS + post-install: ${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} AUTHORS ChangeLog README ${STAGEDIR}${DOCSDIR} diff --git a/emulators/fuse/Makefile b/emulators/fuse/Makefile index 83b8185ffe2d..dff6e75c08e4 100644 --- a/emulators/fuse/Makefile +++ b/emulators/fuse/Makefile @@ -24,7 +24,7 @@ USE_XORG= x11 CONFIGURE_ARGS+=--without-alsa --without-joystick -OPTIONS_DEFINE= AO ICONS ROMS +OPTIONS_DEFINE= AO ICONS ROMS DOCS OPTIONS_DEFAULT= ICONS GTK2 OPTIONS_SINGLE= UI UI_DESC= User Interface diff --git a/emulators/libspectrum/Makefile b/emulators/libspectrum/Makefile index 2557c50c8189..ab2abdda37eb 100644 --- a/emulators/libspectrum/Makefile +++ b/emulators/libspectrum/Makefile @@ -21,7 +21,9 @@ USE_LDCONFIG= yes INSTALL_TARGET= install-strip -post-install: +OPTIONS_DEFINE= DOCS + +post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} AUTHORS ChangeLog README THANKS \ doc/libspectrum.txt ${STAGEDIR}${DOCSDIR} diff --git a/emulators/mgba/Makefile b/emulators/mgba/Makefile index d9131c029aec..3021b1a8f24e 100644 --- a/emulators/mgba/Makefile +++ b/emulators/mgba/Makefile @@ -39,7 +39,7 @@ CMAKE_ARGS= -DCMAKE_INSTALL_DOCDIR:STRING="${DOCSDIR}" \ -DBUILD_GLES2:BOOL=OFF LDFLAGS+= -Wl,--as-needed # glu -OPTIONS_DEFINE= DEBUGGERS FFMPEG MAGICK QT5 +OPTIONS_DEFINE= DEBUGGERS FFMPEG MAGICK QT5 DOCS OPTIONS_DEFAULT= DEBUGGERS FFMPEG MAGICK QT5 OPTIONS_SUB= yes diff --git a/emulators/mupen64plus-core/Makefile b/emulators/mupen64plus-core/Makefile index e6aba62f2a4b..58ae1a4b2a95 100644 --- a/emulators/mupen64plus-core/Makefile +++ b/emulators/mupen64plus-core/Makefile @@ -24,5 +24,7 @@ OPTFLAGS= # MAKE_ENV+= OPTFLAGS="${OPTFLAGS}" +OPTIONS_DEFINE= DOCS + .include "${.CURDIR}/../mupen64plus-core/Makefile.common" .include <bsd.port.mk> diff --git a/emulators/nestopia/Makefile b/emulators/nestopia/Makefile index f8f3951c5628..630c85814018 100644 --- a/emulators/nestopia/Makefile +++ b/emulators/nestopia/Makefile @@ -24,4 +24,6 @@ USE_GNOME= cairo gdkpixbuf2 gtk30 USE_SDL= sdl2 INSTALLS_ICONS= yes +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/emulators/pcsxr/Makefile b/emulators/pcsxr/Makefile index 925bb6be0519..adf6f13301fb 100644 --- a/emulators/pcsxr/Makefile +++ b/emulators/pcsxr/Makefile @@ -51,7 +51,7 @@ DEFAULT_DVD_DEVICE?= /dev/cd0 # XXX Gettext support is mandatory and cannot really be disabled. # The following option only enables/disables building *additional* translations -OPTIONS_DEFINE= NLS +OPTIONS_DEFINE= NLS DOCS OPTIONS_SUB= yes NLS_DESC= Build additional NLS translations NLS_CMAKE_ON= -DDISABLE_NLS_TRANSLATIONS:BOOL=OFF diff --git a/emulators/qemu-cheri/Makefile b/emulators/qemu-cheri/Makefile index 41e2d3c4dca9..4766b8eb6fb1 100644 --- a/emulators/qemu-cheri/Makefile +++ b/emulators/qemu-cheri/Makefile @@ -28,6 +28,8 @@ USE_GNOME+= glib20 ONLY_FOR_ARCHS= amd64 i386 powerpc powerpc64 BROKEN_FreeBSD_10= Default toolchain lacks support for .cfi_sections +OPTIONS_DEFINE= DOCS + .include "Makefile.snapshot" CONFIGURE_ARGS+= \ diff --git a/ftp/bftpd/Makefile b/ftp/bftpd/Makefile index c6da68054c40..3ae44115a5f5 100644 --- a/ftp/bftpd/Makefile +++ b/ftp/bftpd/Makefile @@ -21,6 +21,8 @@ PLIST_FILES= sbin/${PORTNAME} etc/${PORTNAME}.conf.sample \ man/man8/bftpd.8.gz PORTDOCS= en pl sk +OPTIONS_DEFINE= DOCS + post-patch: @${REINPLACE_CMD} -e 's,/etc/bftpd.conf,${PREFIX}/etc/bftpd.conf,' \ ${WRKSRC}/mypaths.h diff --git a/ftp/linux-c6-curl/Makefile b/ftp/linux-c6-curl/Makefile index 276db55eb1c5..1843a06adb00 100644 --- a/ftp/linux-c6-curl/Makefile +++ b/ftp/linux-c6-curl/Makefile @@ -17,4 +17,6 @@ USE_LDCONFIG= yes USE_LINUX= libssh2 nspr nss openldap USE_LINUX_RPM= nolib +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/ftp/linux-c7-curl/Makefile b/ftp/linux-c7-curl/Makefile index 4766e90fc595..94559a90cea6 100644 --- a/ftp/linux-c7-curl/Makefile +++ b/ftp/linux-c7-curl/Makefile @@ -21,4 +21,6 @@ USE_LDCONFIG= yes USE_LINUX= libssh2 nspr nss openldap USE_LINUX_RPM= nolib +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/games/afternoonstalker/Makefile b/games/afternoonstalker/Makefile index 8878c6bb921c..a6430256d3ba 100644 --- a/games/afternoonstalker/Makefile +++ b/games/afternoonstalker/Makefile @@ -24,6 +24,8 @@ LDFLAGS+= -L${LOCALBASE}/lib PORTDOCS= AUTHORS COPYING INSTALL NEWS README THANKS TODO +OPTIONS_DEFINE= DOCS + post-patch: @${REINPLACE_CMD} -e 's|^pkgsounddir =.*|pkgsounddir = ${DATADIR}/sounds|' \ ${WRKSRC}/src/Makefile.in diff --git a/games/aop/Makefile b/games/aop/Makefile index 3ee6035bfd6a..ab7cf0eafe3b 100644 --- a/games/aop/Makefile +++ b/games/aop/Makefile @@ -22,6 +22,8 @@ ALL_TARGET= #empty PORTDOCS= README +OPTIONS_DEFINE= DOCS + post-patch: @${REINPLACE_CMD} -e 's|/usr/local|${STAGEDIR}${PREFIX}|g' \ ${WRKSRC}/Makefile diff --git a/games/battletanks/Makefile b/games/battletanks/Makefile index a06516280915..a3d9f28c61bd 100644 --- a/games/battletanks/Makefile +++ b/games/battletanks/Makefile @@ -32,6 +32,8 @@ PORTDOCS= LICENSE LICENSE.EXCEPTION README-en.txt README-linux.txt \ DESKTOP_ENTRIES="Battle Tanks" "" "" "${PORTNAME}" "Game;ArcadeGame;" "" +OPTIONS_DEFINE= DOCS + pre-build: # Regenerate `sl08.h' after we patch `sl08.py' (as patching the header itself # would have resulted in a larger diff and gratuitous difference with Debian) diff --git a/games/beret/Makefile b/games/beret/Makefile index ce4b907739d6..6800c7f9a1e2 100644 --- a/games/beret/Makefile +++ b/games/beret/Makefile @@ -31,6 +31,8 @@ PORTDOCS= README.txt FONT_DEP= AveriaSansGWF-Regular.ttf FONTDIR_DEP= ${LOCALBASE}/share/fonts/averiagwf +OPTIONS_DEFINE= DOCS + post-patch: @${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/game.c diff --git a/games/blinken/Makefile b/games/blinken/Makefile index 86709cac62c7..fe1dce64340e 100644 --- a/games/blinken/Makefile +++ b/games/blinken/Makefile @@ -13,4 +13,6 @@ USE_KDE= auth codecs config configwidgets coreaddons crash dbusaddons \ USE_QT= core dbus gui phonon4 svg widgets xml \ buildtools_build qmake_build +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/games/bomber/Makefile b/games/bomber/Makefile index d30103b88d8a..42f9335f75cb 100644 --- a/games/bomber/Makefile +++ b/games/bomber/Makefile @@ -13,5 +13,7 @@ USE_KDE= auth codecs config configwidgets coreaddons crash dbusaddons \ USE_QT= core dbus gui network widgets phonon4 qml quick xml \ buildtools_build qmake_build +OPTIONS_DEFINE= DOCS + .include <${.CURDIR}/../kdegames/Makefile.common> .include <bsd.port.mk> diff --git a/games/bovo/Makefile b/games/bovo/Makefile index d9a5245e83c1..21a4bdc6a2c9 100644 --- a/games/bovo/Makefile +++ b/games/bovo/Makefile @@ -13,5 +13,7 @@ USE_KDE= auth codecs config configwidgets coreaddons crash dbusaddons \ USE_QT= concurrent core dbus gui network qml quick svg widgets xml \ buildtools_build qmake_build +OPTIONS_DEFINE= DOCS + .include <${.CURDIR}/../kdegames/Makefile.common> .include <bsd.port.mk> diff --git a/games/burgerspace/Makefile b/games/burgerspace/Makefile index 617063b5dbbb..08a9d11b2358 100644 --- a/games/burgerspace/Makefile +++ b/games/burgerspace/Makefile @@ -24,6 +24,8 @@ LDFLAGS+= -L${LOCALBASE}/lib PORTDOCS= AUTHORS COPYING INSTALL NEWS README THANKS TODO +OPTIONS_DEFINE= DOCS + post-patch: @${REINPLACE_CMD} -e 's|^pkgsounddir =.*|pkgsounddir = ${DATADIR}/sounds|' \ ${WRKSRC}/src/Makefile.in diff --git a/games/capitalism/Makefile b/games/capitalism/Makefile index 11e62004f8b8..73446e54f511 100644 --- a/games/capitalism/Makefile +++ b/games/capitalism/Makefile @@ -36,7 +36,7 @@ ICON_SIZES= 16x16 22x22 24x24 32x32 48x48 64x64 DESKTOP_ENTRIES="Capitalism" "" "${PORTNAME}" \ "${PORTNAME}" "Game;BoardGame;" "" -OPTIONS_DEFINE= NLS +OPTIONS_DEFINE= NLS DOCS OPTIONS_SUB= yes NLS_CONFIGURE_ENABLE= nls diff --git a/games/connectfive/Makefile b/games/connectfive/Makefile index 981a6571bebe..3058f77aa4a1 100644 --- a/games/connectfive/Makefile +++ b/games/connectfive/Makefile @@ -28,6 +28,8 @@ PLIST_FILES= bin/${PORTNAME} PORTDOCS= * PORTDATA= * +OPTIONS_DEFINE= DOCS + .include <bsd.port.options.mk> post-patch: diff --git a/games/evilfinder/Makefile b/games/evilfinder/Makefile index ce922b55c5ab..a749fd74512f 100644 --- a/games/evilfinder/Makefile +++ b/games/evilfinder/Makefile @@ -25,7 +25,7 @@ PLIST_FILES= bin/ef \ PORTDATA= evilnumbers.dat PORTDOCS= README -OPTIONS_DEFINE= WRAPPER +OPTIONS_DEFINE= DOCS WRAPPER WRAPPER_DESC= Evilfinder local wrapper OPTIONS_DEFAULT= WRAPPER diff --git a/games/formido/Makefile b/games/formido/Makefile index 6400c0df56a3..2dc16bc24310 100644 --- a/games/formido/Makefile +++ b/games/formido/Makefile @@ -23,6 +23,8 @@ PLIST_FILES= bin/${PORTNAME} PORTDATA= * PORTDOCS= * +OPTIONS_DEFINE= DOCS + pre-build: @${MKDIR} ${WRKSRC}/obj diff --git a/games/freeblocks/Makefile b/games/freeblocks/Makefile index a2c6e8aeb6ad..0cfb67f9aad7 100644 --- a/games/freeblocks/Makefile +++ b/games/freeblocks/Makefile @@ -21,7 +21,7 @@ USE_SDL= sdl mixer image ttf PORTDOCS= * -OPTIONS_DEFINE= HALF_GFX +OPTIONS_DEFINE= HALF_GFX DOCS HALF_GFX_DESC= Use 320x240 graphics HALF_GFX_CMAKE_ON= -DHALF_GFX=ON diff --git a/games/freedroidrpg/Makefile b/games/freedroidrpg/Makefile index b083bbae54b5..553e94aeeead 100644 --- a/games/freedroidrpg/Makefile +++ b/games/freedroidrpg/Makefile @@ -30,7 +30,7 @@ WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} PORTDATA= * PORTDOCS= * -OPTIONS_DEFINE= NLS BACKTRACE OPENGL SOUND +OPTIONS_DEFINE= NLS BACKTRACE OPENGL SOUND DOCS OPTIONS_DEFAULT=BACKTRACE OPENGL SOUND OPTIONS_SUB= yes diff --git a/games/garith/Makefile b/games/garith/Makefile index e7d8db58af30..279d4fe00f7c 100644 --- a/games/garith/Makefile +++ b/games/garith/Makefile @@ -18,6 +18,8 @@ LDFLAGS+= `${GTK_CONFIG} --libs` PORTDOCS= BUGS HISTORY README TODO PLIST_FILES= bin/garith +OPTIONS_DEFINE= DOCS + post-patch: @${REINPLACE_CMD} -e 's|gldouble|double|;/gnome/d;/all.*apps/d'\ ${WRKSRC}/garith.c diff --git a/games/goldencheetah/Makefile b/games/goldencheetah/Makefile index 9592cc801077..49eceb4bf166 100644 --- a/games/goldencheetah/Makefile +++ b/games/goldencheetah/Makefile @@ -33,6 +33,8 @@ USE_QT= corelib gui linguist moc_build network opengl \ qmake rcc script sql svg uic webkit xml INFO= GC3-FAQ GC3-Release GC31-Release +OPTIONS_DEFINE= DOCS + post-extract: ${CP} ${WRKSRC}/src/gcconfig.pri.in ${WRKSRC}/src/gcconfig.pri ${CP} ${WRKSRC}/qwt/qwtconfig.pri.in ${WRKSRC}/qwt/qwtconfig.pri diff --git a/games/granatier/Makefile b/games/granatier/Makefile index 6e4dc9656284..7786bb68595c 100644 --- a/games/granatier/Makefile +++ b/games/granatier/Makefile @@ -14,5 +14,7 @@ USE_KDE= attica auth codecs config configwidgets coreaddons crash \ USE_QT= core dbus gui network qml quick svg widgets xml \ buildtools_build qmake_build +OPTIONS_DEFINE= DOCS + .include <${.CURDIR}/../kdegames/Makefile.common> .include <bsd.port.mk> diff --git a/games/impossible_mission_puzzle/Makefile b/games/impossible_mission_puzzle/Makefile index 5da6550aa90b..f87b737cbe93 100644 --- a/games/impossible_mission_puzzle/Makefile +++ b/games/impossible_mission_puzzle/Makefile @@ -29,6 +29,8 @@ PORTDOCS= README DESKTOP_ENTRIES="Impossible Mission puzzle" "" "${PORTNAME}" \ "${PORTNAME}" "Game;ArcadeGame;" "" +OPTIONS_DEFINE= DOCS + do-build: @cd ${WRKSRC} && ${CC} -o ${PORTNAME} ${CFLAGS} \ `${SDL_CONFIG} --cflags --libs` puzzle.c diff --git a/games/jchessboard/Makefile b/games/jchessboard/Makefile index ad868a012bd9..48358d06ac11 100644 --- a/games/jchessboard/Makefile +++ b/games/jchessboard/Makefile @@ -31,6 +31,8 @@ PORTDOCS= * JARFILE= JChessBoard.jar +OPTIONS_DEFINE= DOCS + do-install: ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin @${MKDIR} ${STAGEDIR}${DATADIR} diff --git a/games/jfsw/Makefile b/games/jfsw/Makefile index 328ec2e0f2ac..48048c7c29a5 100644 --- a/games/jfsw/Makefile +++ b/games/jfsw/Makefile @@ -43,6 +43,8 @@ SUB_FILES= pkg-message PORTDOCS= readme.txt releasenotes.html +OPTIONS_DEFINE= DOCS + post-patch: @${REINPLACE_CMD} 's|/usr/X11R6|${LOCALBASE}|' \ ${WRKSRC}/jfbuild/Makefile diff --git a/games/joequake/Makefile b/games/joequake/Makefile index 2227ce259d94..f919edc42f86 100644 --- a/games/joequake/Makefile +++ b/games/joequake/Makefile @@ -27,7 +27,7 @@ MAKEFILE= Makefile.linux OPTIONS_MULTI= UI OPTIONS_MULTI_UI= OPENGL X11 -OPTIONS_DEFINE= HUD HUD_SA OPTIMIZED_CFLAGS X86_ASM +OPTIONS_DEFINE= HUD HUD_SA OPTIMIZED_CFLAGS X86_ASM DOCS OPTIONS_DEFAULT= OPENGL OPTIMIZED_CFLAGS X11 OPTIONS_DEFAULT_amd64= X86_ASM HUD_DESC= High quality HUD images (for OpenGL) diff --git a/games/kajongg/Makefile b/games/kajongg/Makefile index 55121f28d78d..ffe571b6e58c 100644 --- a/games/kajongg/Makefile +++ b/games/kajongg/Makefile @@ -18,5 +18,7 @@ USE_PYQT= core gui svg widgets USE_QT= core gui svg widgets \ buildtools_build qmake_build +OPTIONS_DEFINE= DOCS + .include <${.CURDIR}/../kdegames/Makefile.common> .include <bsd.port.mk> diff --git a/games/kanagram/Makefile b/games/kanagram/Makefile index 3d64e8e7247c..608b291e6836 100644 --- a/games/kanagram/Makefile +++ b/games/kanagram/Makefile @@ -14,4 +14,6 @@ USE_KDE= attica auth codecs config configwidgets coreaddons crash \ USE_QT= core dbus gui network opengl qml quick speech svg widgets xml \ buildtools_build qmake_build +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/games/kapman/Makefile b/games/kapman/Makefile index 05d86978e5aa..7d3dba5262e1 100644 --- a/games/kapman/Makefile +++ b/games/kapman/Makefile @@ -14,5 +14,7 @@ USE_KDE= auth codecs completion config configwidgets coreaddons crash \ USE_QT= core dbus gui network qml quick svg widgets xml \ buildtools_build qmake_build +OPTIONS_DEFINE= DOCS + .include <${.CURDIR}/../kdegames/Makefile.common> .include <bsd.port.mk> diff --git a/games/katomic/Makefile b/games/katomic/Makefile index 2a4b573f2fcc..f77b292b0d21 100644 --- a/games/katomic/Makefile +++ b/games/katomic/Makefile @@ -14,5 +14,7 @@ USE_QT= core dbus gui network qml quick widgets xml \ buildtools_build qmake_build SHEBANG_FILES= katomic-levelset-upd.pl +OPTIONS_DEFINE= DOCS + .include <${.CURDIR}/../kdegames/Makefile.common> .include <bsd.port.mk> diff --git a/games/kblackbox/Makefile b/games/kblackbox/Makefile index a79e5260b596..d26586723d26 100644 --- a/games/kblackbox/Makefile +++ b/games/kblackbox/Makefile @@ -14,5 +14,7 @@ USE_KDE= archive auth codecs config configwidgets coreaddons crash \ USE_QT= core dbus gui network qml quick svg widgets xml \ buildtools_build qmake_build +OPTIONS_DEFINE= DOCS + .include <${.CURDIR}/../kdegames/Makefile.common> .include <bsd.port.mk> diff --git a/games/kblocks/Makefile b/games/kblocks/Makefile index cd14f2d697a6..ffa54702b1fc 100644 --- a/games/kblocks/Makefile +++ b/games/kblocks/Makefile @@ -14,5 +14,7 @@ USE_KDE= auth codecs completion config configwidgets coreaddons crash \ USE_QT= core dbus gui network phonon4 qml quick svg testlib widgets xml \ buildtools_build qmake_build +OPTIONS_DEFINE= DOCS + .include <${.CURDIR}/../kdegames/Makefile.common> .include <bsd.port.mk> diff --git a/games/kbounce/Makefile b/games/kbounce/Makefile index 986c9f175bff..bd83dba08069 100644 --- a/games/kbounce/Makefile +++ b/games/kbounce/Makefile @@ -14,5 +14,7 @@ USE_KDE= auth codecs completion config configwidgets coreaddons crash \ USE_QT= core dbus gui network phonon4 qml quick svg testlib widgets xml \ buildtools_build qmake_build +OPTIONS_DEFINE= DOCS + .include <${.CURDIR}/../kdegames/Makefile.common> .include <bsd.port.mk> diff --git a/games/kbreakout/Makefile b/games/kbreakout/Makefile index 80903ddf4bd0..5e7c13b1c121 100644 --- a/games/kbreakout/Makefile +++ b/games/kbreakout/Makefile @@ -14,5 +14,7 @@ USE_KDE= auth codecs completion config configwidgets coreaddons crash \ USE_QT= core dbus gui network qml quick svg widgets xml \ buildtools_build qmake_build +OPTIONS_DEFINE= DOCS + .include <${.CURDIR}/../kdegames/Makefile.common> .include <bsd.port.mk> diff --git a/games/kdiamond/Makefile b/games/kdiamond/Makefile index 14dde980f6cc..0d6388828e01 100644 --- a/games/kdiamond/Makefile +++ b/games/kdiamond/Makefile @@ -14,5 +14,7 @@ USE_KDE= auth codecs config configwidgets coreaddons crash dbusaddons \ USE_QT= core dbus gui network qml quick widgets xml \ buildtools_build qmake_build +OPTIONS_DEFINE= DOCS + .include <${.CURDIR}/../kdegames/Makefile.common> .include <bsd.port.mk> diff --git a/games/kfourinline/Makefile b/games/kfourinline/Makefile index 840bcbe1a8b4..1e21f3f9a232 100644 --- a/games/kfourinline/Makefile +++ b/games/kfourinline/Makefile @@ -15,5 +15,7 @@ USE_KDE= auth codecs completion config configwidgets coreaddons crash \ USE_QT= core dbus gui network qml quick svg widgets xml \ buildtools_build qmake_build +OPTIONS_DEFINE= DOCS + .include <${.CURDIR}/../kdegames/Makefile.common> .include <bsd.port.mk> diff --git a/games/kgoldrunner/Makefile b/games/kgoldrunner/Makefile index a97a007a89a4..c933ed42798e 100644 --- a/games/kgoldrunner/Makefile +++ b/games/kgoldrunner/Makefile @@ -14,5 +14,7 @@ USE_KDE= auth codecs completion config configwidgets coreaddons \ USE_QT= core dbus gui network qml quick widgets xml \ buildtools_build qmake_build +OPTIONS_DEFINE= DOCS + .include <${.CURDIR}/../kdegames/Makefile.common> .include <bsd.port.mk> diff --git a/games/khangman/Makefile b/games/khangman/Makefile index e75abebd82eb..0f3d5a6d018d 100644 --- a/games/khangman/Makefile +++ b/games/khangman/Makefile @@ -15,4 +15,6 @@ USE_QT= core dbus gui network qml quick svg widgets xml \ buildtools_build qmake_build USE_LDCONFIG= yes +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/games/kigo/Makefile b/games/kigo/Makefile index 765f3f49e0ce..289491c5bd74 100644 --- a/games/kigo/Makefile +++ b/games/kigo/Makefile @@ -15,5 +15,7 @@ USE_KDE= attica auth codecs completion config configwidgets \ USE_QT= core dbus gui network qml quick svg widgets xml \ buildtools_build qmake_build +OPTIONS_DEFINE= DOCS + .include <${.CURDIR}/../kdegames/Makefile.common> .include <bsd.port.mk> diff --git a/games/killbots/Makefile b/games/killbots/Makefile index ca6fac2447c7..2ae2db540ee9 100644 --- a/games/killbots/Makefile +++ b/games/killbots/Makefile @@ -14,5 +14,7 @@ USE_KDE= auth codecs completion config configwidgets coreaddons crash \ USE_QT= core dbus gui network qml quick widgets xml \ buildtools_build qmake_build +OPTIONS_DEFINE= DOCS + .include <${.CURDIR}/../kdegames/Makefile.common> .include <bsd.port.mk> diff --git a/games/kiriki/Makefile b/games/kiriki/Makefile index bdf9d4464137..a3d89c15223b 100644 --- a/games/kiriki/Makefile +++ b/games/kiriki/Makefile @@ -13,5 +13,7 @@ USE_KDE= auth codecs config configwidgets coreaddons crash dbusaddons \ USE_QT= core dbus gui network printsupport qml quick svg widgets xml \ buildtools_build qmake_build +OPTIONS_DEFINE= DOCS + .include <${.CURDIR}/../kdegames/Makefile.common> .include <bsd.port.mk> diff --git a/games/kjumpingcube/Makefile b/games/kjumpingcube/Makefile index 842ae64afacf..266aa4adeee7 100644 --- a/games/kjumpingcube/Makefile +++ b/games/kjumpingcube/Makefile @@ -15,5 +15,7 @@ USE_KDE= auth codecs completion config configwidgets coreaddons crash \ USE_QT= core dbus gui network qml quick svg widgets xml \ buildtools_build qmake_build +OPTIONS_DEFINE= DOCS + .include <${.CURDIR}/../kdegames/Makefile.common> .include <bsd.port.mk> diff --git a/games/klickety/Makefile b/games/klickety/Makefile index f11d3ba1b05a..7e767e8dbfe5 100644 --- a/games/klickety/Makefile +++ b/games/klickety/Makefile @@ -16,5 +16,7 @@ USE_KDE= auth bookmarks codecs completion config configwidgets \ USE_QT= core dbus gui network qml quick widgets xml \ buildtools_build qmake_build +OPTIONS_DEFINE= DOCS + .include <${.CURDIR}/../kdegames/Makefile.common> .include <bsd.port.mk> diff --git a/games/klines/Makefile b/games/klines/Makefile index ea0f95dbee66..a3050baa5de9 100644 --- a/games/klines/Makefile +++ b/games/klines/Makefile @@ -14,5 +14,7 @@ USE_KDE= auth codecs config configwidgets coreaddons crash dbusaddons \ USE_QT= core dbus gui network qml quick svg widgets xml \ buildtools_build qmake_build +OPTIONS_DEFINE= DOCS + .include <${.CURDIR}/../kdegames/Makefile.common> .include <bsd.port.mk> diff --git a/games/kmahjongg/Makefile b/games/kmahjongg/Makefile index 0cef0f366f59..347157179802 100644 --- a/games/kmahjongg/Makefile +++ b/games/kmahjongg/Makefile @@ -16,5 +16,7 @@ USE_KDE= auth codecs completion config configwidgets coreaddons crash \ USE_QT= core dbus gui network qml quick svg widgets xml \ buildtools_build qmake_build +OPTIONS_DEFINE= DOCS + .include <${.CURDIR}/../kdegames/Makefile.common> .include <bsd.port.mk> diff --git a/games/kmines/Makefile b/games/kmines/Makefile index 49f22a9c52a1..afae624042b1 100644 --- a/games/kmines/Makefile +++ b/games/kmines/Makefile @@ -14,5 +14,7 @@ USE_KDE= auth codecs config configwidgets coreaddons crash dbusaddons \ USE_QT= core dbus gui network qml quick widgets xml \ buildtools_build qmake_build +OPTIONS_DEFINE= DOCS + .include <${.CURDIR}/../kdegames/Makefile.common> .include <bsd.port.mk> diff --git a/games/knavalbattle/Makefile b/games/knavalbattle/Makefile index c12af0ad4963..dff16aabfacb 100644 --- a/games/knavalbattle/Makefile +++ b/games/knavalbattle/Makefile @@ -14,5 +14,7 @@ USE_KDE= auth codecs completion config configwidgets coreaddons crash \ USE_QT= core dbus gui network qml quick widgets xml \ buildtools_build qmake_build +OPTIONS_DEFINE= DOCS + .include <${.CURDIR}/../kdegames/Makefile.common> .include <bsd.port.mk> diff --git a/games/knetwalk/Makefile b/games/knetwalk/Makefile index c553931d05e5..9c6a369ecc3c 100644 --- a/games/knetwalk/Makefile +++ b/games/knetwalk/Makefile @@ -14,5 +14,7 @@ USE_KDE= auth codecs config configwidgets coreaddons crash dbusaddons \ USE_QT= core dbus gui network qml quick svg widgets xml \ buildtools_build qmake_build +OPTIONS_DEFINE= DOCS + .include <${.CURDIR}/../kdegames/Makefile.common> .include <bsd.port.mk> diff --git a/games/kolf/Makefile b/games/kolf/Makefile index 2aa13e843c1d..48ca2c6f382b 100644 --- a/games/kolf/Makefile +++ b/games/kolf/Makefile @@ -19,5 +19,7 @@ USE_QT= core dbus gui network phonon4 printsupport qml quick \ USE_LDCONFIG= yes +OPTIONS_DEFINE= DOCS + .include <${.CURDIR}/../kdegames/Makefile.common> .include <bsd.port.mk> diff --git a/games/kollision/Makefile b/games/kollision/Makefile index 3ff1902aa220..2dde50a35562 100644 --- a/games/kollision/Makefile +++ b/games/kollision/Makefile @@ -14,5 +14,7 @@ USE_KDE= auth codecs config configwidgets coreaddons crash dbusaddons \ USE_QT= core dbus gui network phonon4 qml quick svg widgets xml \ buildtools_build qmake_build +OPTIONS_DEFINE= DOCS + .include <${.CURDIR}/../kdegames/Makefile.common> .include <bsd.port.mk> diff --git a/games/konquest/Makefile b/games/konquest/Makefile index b5a61c782e8b..f747e5c01594 100644 --- a/games/konquest/Makefile +++ b/games/konquest/Makefile @@ -14,5 +14,7 @@ USE_KDE= auth codecs config configwidgets coreaddons crash \ USE_QT= core dbus gui network qml quick svg widgets xml \ buildtools_build qmake_build +OPTIONS_DEFINE= DOCS + .include <${.CURDIR}/../kdegames/Makefile.common> .include <bsd.port.mk> diff --git a/games/kpat/Makefile b/games/kpat/Makefile index 5d94336b1322..a5b06daf727c 100644 --- a/games/kpat/Makefile +++ b/games/kpat/Makefile @@ -17,5 +17,7 @@ USE_KDE= attica auth codecs completion config configwidgets coreaddons \ USE_QT= core dbus gui network phonon4 qml quick svg widgets xml \ buildtools_build qmake_build +OPTIONS_DEFINE= DOCS + .include <${.CURDIR}/../kdegames/Makefile.common> .include <bsd.port.mk> diff --git a/games/kreversi/Makefile b/games/kreversi/Makefile index 356750c3a897..0b256695dfd7 100644 --- a/games/kreversi/Makefile +++ b/games/kreversi/Makefile @@ -15,5 +15,7 @@ USE_KDE= auth bookmarks codecs completion config configwidgets \ USE_QT= core dbus gui network qml quick svg widgets xml \ buildtools_build qmake_build +OPTIONS_DEFINE= DOCS + .include <${.CURDIR}/../kdegames/Makefile.common> .include <bsd.port.mk> diff --git a/games/kshisen/Makefile b/games/kshisen/Makefile index 5859337757b4..ee1f2e16dbf0 100644 --- a/games/kshisen/Makefile +++ b/games/kshisen/Makefile @@ -16,5 +16,7 @@ USE_KDE= auth codecs completion config configwidgets coreaddons crash \ USE_QT= core dbus gui network qml quick svg widgets xml \ buildtools_build qmake_build +OPTIONS_DEFINE= DOCS + .include <${.CURDIR}/../kdegames/Makefile.common> .include <bsd.port.mk> diff --git a/games/ksirk/Makefile b/games/ksirk/Makefile index 29b0f87d7f42..3a65b575ca75 100644 --- a/games/ksirk/Makefile +++ b/games/ksirk/Makefile @@ -17,5 +17,7 @@ USE_QT= core dbus gui network phonon4 qml quick svg widgets xml \ buildtools_build qmake_build USE_LDCONFIG= yes +OPTIONS_DEFINE= DOCS + .include <${.CURDIR}/../kdegames/Makefile.common> .include <bsd.port.mk> diff --git a/games/ksnakeduel/Makefile b/games/ksnakeduel/Makefile index e9c787db2995..4528484e5a3c 100644 --- a/games/ksnakeduel/Makefile +++ b/games/ksnakeduel/Makefile @@ -14,5 +14,7 @@ USE_KDE= auth codecs completion config configwidgets coreaddons \ USE_QT= core dbus gui network qml quick svg widgets xml \ buildtools_build qmake_build +OPTIONS_DEFINE= DOCS + .include <${.CURDIR}/../kdegames/Makefile.common> .include <bsd.port.mk> diff --git a/games/kspaceduel/Makefile b/games/kspaceduel/Makefile index 2e6db28706fe..31daca1b8a49 100644 --- a/games/kspaceduel/Makefile +++ b/games/kspaceduel/Makefile @@ -13,5 +13,7 @@ USE_KDE= auth codecs completion config configwidgets coreaddons \ USE_QT= core dbus gui network qml quick svg widgets xml \ buildtools_build qmake_build +OPTIONS_DEFINE= DOCS + .include <${.CURDIR}/../kdegames/Makefile.common> .include <bsd.port.mk> diff --git a/games/ksquares/Makefile b/games/ksquares/Makefile index cff3d106b311..77bd1f3df5ec 100644 --- a/games/ksquares/Makefile +++ b/games/ksquares/Makefile @@ -14,5 +14,7 @@ USE_KDE= auth codecs completion config configwidgets coreaddons crash \ USE_QT= core dbus gui network qml quick widgets xml \ buildtools_build qmake_build +OPTIONS_DEFINE= DOCS + .include <${.CURDIR}/../kdegames/Makefile.common> .include <bsd.port.mk> diff --git a/games/ksudoku/Makefile b/games/ksudoku/Makefile index 6dcfb66cac73..82b073730dde 100644 --- a/games/ksudoku/Makefile +++ b/games/ksudoku/Makefile @@ -16,5 +16,7 @@ USE_QT= core dbus gui network opengl printsupport qml quick \ svg widgets xml \ buildtools_build qmake_build +OPTIONS_DEFINE= DOCS + .include <${.CURDIR}/../kdegames/Makefile.common> .include <bsd.port.mk> diff --git a/games/ktuberling/Makefile b/games/ktuberling/Makefile index 4e104cd4ec3a..069dd7393343 100644 --- a/games/ktuberling/Makefile +++ b/games/ktuberling/Makefile @@ -18,5 +18,7 @@ USE_QT= core dbus gui multimedia network phonon4 printsupport qml \ quick svg testlib widgets xml \ buildtools_build qmake_build +OPTIONS_DEFINE= DOCS + .include <${.CURDIR}/../kdegames/Makefile.common> .include <bsd.port.mk> diff --git a/games/kubrick/Makefile b/games/kubrick/Makefile index 04b406df65af..5a6808547976 100644 --- a/games/kubrick/Makefile +++ b/games/kubrick/Makefile @@ -14,5 +14,7 @@ USE_KDE= auth codecs config configwidgets coreaddons crash ecm \ USE_QT= core dbus gui network opengl qml quick svg widgets xml \ buildtools_build qmake_build +OPTIONS_DEFINE= DOCS + .include <${.CURDIR}/../kdegames/Makefile.common> .include <bsd.port.mk> diff --git a/games/libkdegames/Makefile b/games/libkdegames/Makefile index 05a1774fc28d..403683fd377c 100644 --- a/games/libkdegames/Makefile +++ b/games/libkdegames/Makefile @@ -23,4 +23,6 @@ SHLIB_VER= 7.0.0 PLIST_SUB+= SHLIB_VER="${SHLIB_VER}" \ SHLIB_SHVER="${SHLIB_VER:R:R}" +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/games/libkmahjongg/Makefile b/games/libkmahjongg/Makefile index 45549c299741..12424a2d75ee 100644 --- a/games/libkmahjongg/Makefile +++ b/games/libkmahjongg/Makefile @@ -13,4 +13,6 @@ USE_QT= core gui svg widgets \ buildtools_build qmake_build USE_LDCONFIG= yes +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/games/lskat/Makefile b/games/lskat/Makefile index f24d17d14f2e..21b55d4da397 100644 --- a/games/lskat/Makefile +++ b/games/lskat/Makefile @@ -13,5 +13,7 @@ USE_KDE= auth codecs config configwidgets coreaddons crash ecm \ USE_QT= core dbus gui network qml quick svg widgets xml \ buildtools_build qmake_build +OPTIONS_DEFINE= DOCS + .include <${.CURDIR}/../kdegames/Makefile.common> .include <bsd.port.mk> diff --git a/games/mirrormagic/Makefile b/games/mirrormagic/Makefile index c247fb56b42a..84f63d622179 100644 --- a/games/mirrormagic/Makefile +++ b/games/mirrormagic/Makefile @@ -29,7 +29,7 @@ DESKTOP_ENTRIES="Mirror Magic" \ "Game;LogicGame;" \ "" -OPTIONS_DEFINE= SDL +OPTIONS_DEFINE= SDL DOCS OPTIONS_DEFAULT=SDL SDL_USE= SDL=image,mixer,sdl diff --git a/games/netpanzer/Makefile b/games/netpanzer/Makefile index 4d4e912cb0e0..f6d6d7cac85e 100644 --- a/games/netpanzer/Makefile +++ b/games/netpanzer/Makefile @@ -28,6 +28,8 @@ PLIST_FILES= bin/netpanzer \ PORTDOCS= * PORTDATA= * +OPTIONS_DEFINE= DOCS + post-configure: ${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/SConstruct diff --git a/games/ninix-aya/Makefile b/games/ninix-aya/Makefile index e60dc08d20b2..7ef2d94215f0 100644 --- a/games/ninix-aya/Makefile +++ b/games/ninix-aya/Makefile @@ -24,4 +24,6 @@ PORTDOCS= COPYING ChangeLog README README.ninix SAORI USES= gettext tar:tgz USE_RUBY= yes +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/games/openalchemist/Makefile b/games/openalchemist/Makefile index 528e4e8d3661..7718848da013 100644 --- a/games/openalchemist/Makefile +++ b/games/openalchemist/Makefile @@ -33,6 +33,8 @@ USE_SDL= sdl gfx PORTDOCS= AUTHORS ChangeLog README TODO +OPTIONS_DEFINE= DOCS + post-patch: @${REINPLACE_CMD} -E -e 's|0.8|1.0|g' -e 's|^%|#|g' ${WRKSRC}/configure.ac @${REINPLACE_CMD} -E -e 's|0.8|1.0|g' ${WRKSRC}/build/Makefile.am diff --git a/games/openbor/Makefile b/games/openbor/Makefile index 3f4bd154f56d..2bdfd21048ba 100644 --- a/games/openbor/Makefile +++ b/games/openbor/Makefile @@ -63,7 +63,7 @@ DESKTOP_ENTRIES="OpenBOR v3.0 Build ${PORTVERSION}" \ "Game;ArcadeGame;" \ "" -OPTIONS_DEFINE= TREMOR +OPTIONS_DEFINE= TREMOR DOCS OPTIONS_DEFAULT= ${MACHINE_CPU:Msoftfp:C/.+/TREMOR/} OPTIONS_DEFINE_i386= MMX OPTIONS_DEFAULT_i386= MMX # runtime detection diff --git a/games/openttd/Makefile b/games/openttd/Makefile index eabd930f9467..401287fe3220 100644 --- a/games/openttd/Makefile +++ b/games/openttd/Makefile @@ -42,6 +42,8 @@ PORTDOCS= HOWTO_compile_lang_files.txt admin_network.txt \ DESKTOP_ENTRIES="OpenTTD" "${COMMENT}" "${PORTNAME}" "${PORTNAME}" \ "Game;Simulation;StrategyGame;" false +OPTIONS_DEFINE= DOCS + .if defined(WITH_MIDI_PLAYER) CONFIGURE_ARGS+= --with-midi="${WITH_MIDI_PLAYER}" .endif diff --git a/games/palapeli/Makefile b/games/palapeli/Makefile index 0b2b36ca15b8..4c8212376e30 100644 --- a/games/palapeli/Makefile +++ b/games/palapeli/Makefile @@ -15,5 +15,7 @@ USE_QT= concurrent core dbus gui network svg widgets xml \ buildtools_build qmake_build USE_LDCONFIG= yes +OPTIONS_DEFINE= DOCS + .include <${.CURDIR}/../kdegames/Makefile.common> .include <bsd.port.mk> diff --git a/games/palomino/Makefile b/games/palomino/Makefile index 01f388c8b12d..3c22c53d7aa5 100644 --- a/games/palomino/Makefile +++ b/games/palomino/Makefile @@ -36,7 +36,7 @@ PORTDOCS= * DESKTOP_ENTRIES= "Palomino" "" "${PORTNAME}" \ "${PORTNAME}" "Game;ArcadeGame;" "" -OPTIONS_DEFINE= GUI PLIB SDL +OPTIONS_DEFINE= DOCS GUI PLIB SDL OPTIONS_DEFAULT=GUI SDL OPTIONS_SUB= yes diff --git a/games/picmi/Makefile b/games/picmi/Makefile index b737597cd1b9..b7aa5eafad58 100644 --- a/games/picmi/Makefile +++ b/games/picmi/Makefile @@ -14,5 +14,7 @@ USE_KDE= auth codecs completion config configwidgets coreaddons crash \ USE_QT= core dbus gui network qml quick svg testlib widgets xml \ buildtools_build qmake_build +OPTIONS_DEFINE= DOCS + .include <${.CURDIR}/../kdegames/Makefile.common> .include <bsd.port.mk> diff --git a/games/plutocracy/Makefile b/games/plutocracy/Makefile index 0890ad379933..436d5d833456 100644 --- a/games/plutocracy/Makefile +++ b/games/plutocracy/Makefile @@ -28,6 +28,8 @@ SUB_FILES= plutocracy_ PORTDOCS= AUTHORS README PORTDATA= * +OPTIONS_DEFINE= DOCS + post-patch: @${REINPLACE_CMD} -e 's|span font|span font_desc|' \ ${WRKSRC}/src/render/r_assets.c diff --git a/games/pokerth/Makefile b/games/pokerth/Makefile index 90c6da5b6f4b..5ab28cfee765 100644 --- a/games/pokerth/Makefile +++ b/games/pokerth/Makefile @@ -33,6 +33,8 @@ WRKSRC= ${WRKDIR}/${DISTNAME}-rc PORTDOCS= server_setup_howto.txt +OPTIONS_DEFINE= DOCS + post-patch: @${REINPLACE_CMD} -E \ -e 's|/usr([a-z|/]*)|${LOCALBASE}/\1|g' \ diff --git a/games/pongix/Makefile b/games/pongix/Makefile index 38fd9ec8f2e9..b7481dd59af1 100644 --- a/games/pongix/Makefile +++ b/games/pongix/Makefile @@ -21,6 +21,8 @@ LDFLAGS+= -L${LOCALBASE}/lib LIBS+= -lm PORTDOCS= AUTHORS ChangeLog README +OPTIONS_DEFINE= DOCS + do-install: ${MKDIR} ${STAGEDIR}${DATADIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC}/src && \ diff --git a/games/prboom-plus/Makefile b/games/prboom-plus/Makefile index adf9904f73d1..8c0fe0799c58 100644 --- a/games/prboom-plus/Makefile +++ b/games/prboom-plus/Makefile @@ -22,7 +22,7 @@ USE_SDL= mixer net sdl GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-waddir=${DATADIR} -OPTIONS_DEFINE= OPENGL +OPTIONS_DEFINE= DOCS OPENGL OPTIONS_DEFAULT=OPENGL DATADIR= ${DMDIR} diff --git a/games/pvpgn/Makefile b/games/pvpgn/Makefile index d355286e611b..6e837b348b06 100644 --- a/games/pvpgn/Makefile +++ b/games/pvpgn/Makefile @@ -37,7 +37,7 @@ CONFIGURE_ARGS= --sysconfdir=${PREFIX}/etc/pvpgn \ USE_RC_SUBR= bnetd -OPTIONS_DEFINE= D2 MYSQL PGSQL SQLITE3 +OPTIONS_DEFINE= D2 MYSQL PGSQL SQLITE3 DOCS OPTIONS_DEFAULT= D2 OPTIONS_SUB= yes diff --git a/games/rnd_jue/Makefile b/games/rnd_jue/Makefile index 9a1ba3ea66d4..3adf1c8270c7 100644 --- a/games/rnd_jue/Makefile +++ b/games/rnd_jue/Makefile @@ -45,6 +45,8 @@ ICON_SIZES= 32x32 48x48 64x64 72x72 96x96 DESKTOP_ENTRIES="R'n'D jue" "" "${PORTNAME}" \ "${PORTNAME}" "Game;ArcadeGame;" "" +OPTIONS_DEFINE= DOCS + post-extract-script: @(cd ${WRKDIR}/rocksndiamonds* && ${COPYTREE_SHARE} levels ${WRKSRC}) .for l in ${LEVELS_BD_FANS:S/$/.zip/} diff --git a/games/sdlpop/Makefile b/games/sdlpop/Makefile index 84a51a148ba9..51015c4ad8a0 100644 --- a/games/sdlpop/Makefile +++ b/games/sdlpop/Makefile @@ -25,6 +25,8 @@ PORTDOCS= * DESKTOP_ENTRIES= "Prince" "Open-Source port of Prince of Persia" \ "${DATADIR}/icon.png" "prince" "Game;" false +OPTIONS_DEFINE= DOCS + post-patch: @${REINPLACE_CMD} -e 's|%%DATADIR%%|${DATADIR}|' ${WRKSRC}/seg009.c diff --git a/games/taipan/Makefile b/games/taipan/Makefile index 6742eacd75ab..9b2c72aed17a 100644 --- a/games/taipan/Makefile +++ b/games/taipan/Makefile @@ -16,6 +16,8 @@ MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}" LIBS="${LDFLAGS} -lncurses" PORTDOCS= README PLIST_FILES= bin/taipan +OPTIONS_DEFINE= DOCS + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/taipan ${STAGEDIR}${PREFIX}/bin @${MKDIR} ${STAGEDIR}${DOCSDIR} diff --git a/games/tbe/Makefile b/games/tbe/Makefile index 4bc8e3c77137..20ed1047d7a8 100644 --- a/games/tbe/Makefile +++ b/games/tbe/Makefile @@ -24,6 +24,8 @@ USE_QT= corelib gui linguisttools_build moc_build qmake_build rcc_build \ PORTDOCS= * +OPTIONS_DEFINE= DOCS + post-patch: @${REINPLACE_CMD} 's/ make/ $$(MAKE)/' \ ${WRKSRC}/Makefile diff --git a/games/trigger-rally/Makefile b/games/trigger-rally/Makefile index a5de0a98d604..df4af0f81aff 100644 --- a/games/trigger-rally/Makefile +++ b/games/trigger-rally/Makefile @@ -31,6 +31,8 @@ DESKTOP_ENTRIES="Trigger" "" "trigger" \ PORTDOCS= README-stereo.txt README.txt DATA_AUTHORS.txt +OPTIONS_DEFINE= DOCS + do-install: ${INSTALL_PROGRAM} ${WORKINGSRC}/bin/trigger-rally ${STAGEDIR}${PREFIX}/bin ${MKDIR} ${STAGEDIR}${DATADIR} diff --git a/games/trimines/Makefile b/games/trimines/Makefile index 9a547affc0f6..e91047e7d305 100644 --- a/games/trimines/Makefile +++ b/games/trimines/Makefile @@ -24,6 +24,8 @@ DESKTOP_ENTRIES="Trimines" \ "Game;LogicGame;" \ "" +OPTIONS_DEFINE= DOCS + post-patch: @${REINPLACE_CMD} -e 's|data/|${DATADIR}/|' ${WRKSRC}/src/gfx.c diff --git a/games/vegastrike/Makefile b/games/vegastrike/Makefile index 50ca6956120e..4b9a112a58c6 100644 --- a/games/vegastrike/Makefile +++ b/games/vegastrike/Makefile @@ -43,7 +43,7 @@ BIN_FILES= bin/vegastrike bin/vssetup bin/vegaserver PLIST_FILES= ${BIN_FILES} PORTDOCS= README -OPTIONS_DEFINE= MESHER +OPTIONS_DEFINE= MESHER DOCS MESHER_DESC= Enable mesher modelling tool MESHER_PLIST_FILES= bin/mesher diff --git a/games/volleyball/Makefile b/games/volleyball/Makefile index fb2a071e8b27..c48e84e93010 100644 --- a/games/volleyball/Makefile +++ b/games/volleyball/Makefile @@ -34,6 +34,8 @@ DESKTOP_ENTRIES="Pocket Volleyball" \ "Game;SportsGame;ArcadeGame;" \ false +OPTIONS_DEFINE= DOCS + post-patch: @${REINPLACE_CMD} '/libintl\.h/d' ${WRKSRC}/src/common.h @${REINPLACE_CMD} -e '/setlocale/d' -e '/textdomain/d' \ diff --git a/games/voxelands/Makefile b/games/voxelands/Makefile index 35875b9bec01..3db8e3e0bd62 100644 --- a/games/voxelands/Makefile +++ b/games/voxelands/Makefile @@ -24,7 +24,7 @@ WRKSRC= ${WRKDIR}/${PORTNAME} OPTIONS_SUB= yes -OPTIONS_DEFINE= NLS SOUND SQLITE3 +OPTIONS_DEFINE= NLS SOUND SQLITE3 DOCS OPTIONS_MULTI= BINARIES OPTIONS_MULTI_BINARIES= CLIENT SERVER diff --git a/games/widelands/Makefile b/games/widelands/Makefile index 431aa9aec843..7fd3e03fb072 100644 --- a/games/widelands/Makefile +++ b/games/widelands/Makefile @@ -39,6 +39,8 @@ DESKTOP_ENTRIES="Widelands" \ "Game;StrategyGame;" \ "" +OPTIONS_DEFINE= DOCS + post-patch: @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' \ ${WRKSRC}/cmake/Modules/*.cmake diff --git a/games/wmeyes/Makefile b/games/wmeyes/Makefile index be52c17767b4..99917fd7b65a 100644 --- a/games/wmeyes/Makefile +++ b/games/wmeyes/Makefile @@ -16,6 +16,8 @@ USE_XORG= xpm xmu PORTDOCS= README PLIST_FILES= bin/wmeyes +OPTIONS_DEFINE= DOCS + post-patch: @${REINPLACE_CMD} -e 's|Target(|TargetNoMan(|g' ${WRKSRC}/Imakefile diff --git a/games/xorgramana/Makefile b/games/xorgramana/Makefile index 26850dd7870d..81e56ef74778 100644 --- a/games/xorgramana/Makefile +++ b/games/xorgramana/Makefile @@ -29,6 +29,8 @@ DESKTOP_ENTRIES="XorGramana" \ "Game;LogicGame;" \ false +OPTIONS_DEFINE= DOCS + post-patch: @${REINPLACE_CMD} -e 's|GFX/|${DATADIR}/&|' ${WRKSRC}/icons.c diff --git a/games/xshogi/Makefile b/games/xshogi/Makefile index 547ecc362cb6..91e3d680c7c1 100644 --- a/games/xshogi/Makefile +++ b/games/xshogi/Makefile @@ -19,4 +19,6 @@ CPPFLAGS+= -I${LOCALBASE}/include PORTDOCS= README.xboard BUGS PLIST_FILES= bin/xshogi man/man6/xshogi.6.gz +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/games/yadex/Makefile b/games/yadex/Makefile index e3e4e6f5e1a8..46cf8a168c85 100644 --- a/games/yadex/Makefile +++ b/games/yadex/Makefile @@ -44,6 +44,7 @@ PATCHFILES= ${PATCH_PREFIX}_Depend${PATCH_SUFFIX} 3D_RENDER_PATCHFILES= ${PATCH_PREFIX}_Render3D${PATCH_SUFFIX} 3D_RENDER_PORTDOCS= preview.html +3D_RENDER_IMPLIES= DOCS SEARCH_PATCHFILES= ${PATCH_PREFIX}_Find${PATCH_SUFFIX} EXTRA_TOOLS_PATCHFILES= ${PATCH_PREFIX}_Tools${PATCH_SUFFIX} LAPTOP_KEYS_PATCHFILES= ${PATCH_PREFIX}_Keys${PATCH_SUFFIX} diff --git a/german/selfhtml/Makefile b/german/selfhtml/Makefile index 0ccc93a50319..8a1d13790c68 100644 --- a/german/selfhtml/Makefile +++ b/german/selfhtml/Makefile @@ -48,6 +48,8 @@ PORTDOCS= index.htm \ src \ xml +OPTIONS_DEFINE= DOCS + do-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}) diff --git a/graphics/bugle/Makefile b/graphics/bugle/Makefile index 5ee6f714d771..5aa35321c5bf 100644 --- a/graphics/bugle/Makefile +++ b/graphics/bugle/Makefile @@ -25,7 +25,7 @@ USE_LDCONFIG= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -OPTIONS_DEFINE= FFMPEG GTK2 READLINE THREADS +OPTIONS_DEFINE= FFMPEG GTK2 READLINE THREADS DOCS OPTIONS_DEFAULT= READLINE THREADS FFMPEG_CONFIGURE_WITH= lavc diff --git a/graphics/embree/Makefile b/graphics/embree/Makefile index 91fcbb357139..b40b7cfcbb82 100644 --- a/graphics/embree/Makefile +++ b/graphics/embree/Makefile @@ -26,7 +26,7 @@ CMAKE_ARGS= -DEMBREE_TASKING_SYSTEM:STRING=INTERNAL DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}2 PLIST_SUB+= VERSION=${DISTVERSION} -OPTIONS_DEFINE= IMAGEMAGICK ISPC JPEG PNG +OPTIONS_DEFINE= DOCS IMAGEMAGICK ISPC JPEG PNG OPTIONS_DEFAULT= ISPC OPTIONS_SUB= yes diff --git a/graphics/eom/Makefile b/graphics/eom/Makefile index 25015f5c0d75..1f58dcdb06c1 100644 --- a/graphics/eom/Makefile +++ b/graphics/eom/Makefile @@ -35,7 +35,7 @@ INSTALL_TARGET= install-strip GLIB_SCHEMAS= org.mate.eom.gschema.xml \ org.mate.eom.enums.xml -OPTIONS_DEFINE= EXIF EXEMPI +OPTIONS_DEFINE= EXIF EXEMPI DOCS OPTIONS_DEFAULT=EXIF EXEMPI EXEMPI_DESC= XMP support diff --git a/graphics/gwenview/Makefile b/graphics/gwenview/Makefile index f3d4e236ebef..72d660b8f35f 100644 --- a/graphics/gwenview/Makefile +++ b/graphics/gwenview/Makefile @@ -25,4 +25,6 @@ USE_QT= concurrent core dbus gui network opengl phonon4 printsupport \ buildtools_build qmake_build USE_XORG= x11 +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/graphics/icc-profiles-adobe-cs4/Makefile b/graphics/icc-profiles-adobe-cs4/Makefile index 2554d291c6f9..ccbf9b5e3bab 100644 --- a/graphics/icc-profiles-adobe-cs4/Makefile +++ b/graphics/icc-profiles-adobe-cs4/Makefile @@ -21,6 +21,8 @@ NO_ARCH= yes SYSCOLORDIR= share/color PLIST_SUB= SYSCOLORDIR=${SYSCOLORDIR} +OPTIONS_DEFINE= DOCS + do-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKDIR}/Adobe\ ICC\ Profiles\ \(end-user\) && ${COPYTREE_SHARE} \*.pdf ${STAGEDIR}${DOCSDIR}) diff --git a/graphics/kamera/Makefile b/graphics/kamera/Makefile index 80d8c488f765..f2215721bd2c 100644 --- a/graphics/kamera/Makefile +++ b/graphics/kamera/Makefile @@ -15,4 +15,6 @@ USE_KDE= auth codecs config configwidgets coreaddons doctools ecm i18n \ USE_QT= core dbus gui widgets xml \ buildtools_build qmake_build +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/graphics/kcolorchooser/Makefile b/graphics/kcolorchooser/Makefile index f1d40b042a92..91f84b8c0562 100644 --- a/graphics/kcolorchooser/Makefile +++ b/graphics/kcolorchooser/Makefile @@ -13,4 +13,6 @@ USE_KDE= auth codecs config configwidgets coreaddons ecm i18n \ USE_QT= core dbus gui widgets xml \ buildtools_build qmake_build +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/graphics/kdegraphics-mobipocket/Makefile b/graphics/kdegraphics-mobipocket/Makefile index c70b275f9899..e49428944d23 100644 --- a/graphics/kdegraphics-mobipocket/Makefile +++ b/graphics/kdegraphics-mobipocket/Makefile @@ -15,4 +15,6 @@ USE_QT= core gui network widgets \ USE_LDCONFIG= yes +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/graphics/kdegraphics-svgpart/Makefile b/graphics/kdegraphics-svgpart/Makefile index 55fce785bf1f..3d3007865828 100644 --- a/graphics/kdegraphics-svgpart/Makefile +++ b/graphics/kdegraphics-svgpart/Makefile @@ -15,4 +15,6 @@ USE_KDE= auth codecs completion config configwidgets coreaddons ecm \ USE_QT= core dbus gui network svg widgets xml \ buildtools_build qmake_build +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/graphics/kdegraphics-thumbnailers/Makefile b/graphics/kdegraphics-thumbnailers/Makefile index 5623ff37c65d..6d65cb088367 100644 --- a/graphics/kdegraphics-thumbnailers/Makefile +++ b/graphics/kdegraphics-thumbnailers/Makefile @@ -13,4 +13,6 @@ USE_KDE= completion config coreaddons ecm jobwidgets libkdcraw \ USE_QT= core gui network widgets \ buildtools_build qmake_build +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/graphics/kimagemapeditor/Makefile b/graphics/kimagemapeditor/Makefile index d7253818125d..3848ab702025 100644 --- a/graphics/kimagemapeditor/Makefile +++ b/graphics/kimagemapeditor/Makefile @@ -17,4 +17,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/graphics/kolourpaint/Makefile b/graphics/kolourpaint/Makefile index 2a0bd91bb96a..06ebc6690c05 100644 --- a/graphics/kolourpaint/Makefile +++ b/graphics/kolourpaint/Makefile @@ -17,4 +17,6 @@ USE_QT= dbus core gui network printsupport widgets xml \ buildtools_build qmake_build USE_LDCONFIG= yes +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/graphics/libboard/Makefile b/graphics/libboard/Makefile index fd47a2533f66..e4d5ddbec185 100644 --- a/graphics/libboard/Makefile +++ b/graphics/libboard/Makefile @@ -26,7 +26,8 @@ GH_TAGNAME= 5b38274 PORTDOCS= * -OPTIONS_DEFINE= DOXYGEN EXAMPLES +OPTIONS_DEFINE= DOXYGEN EXAMPLES DOCS +DOXYGEN_IMPLIES= DOCS DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen .include <bsd.port.pre.mk> diff --git a/graphics/libgxps/Makefile b/graphics/libgxps/Makefile index 10de81947d9c..bf5d94e3f772 100644 --- a/graphics/libgxps/Makefile +++ b/graphics/libgxps/Makefile @@ -21,4 +21,6 @@ USE_GNOME= cairo glib20 gnomeprefix introspection:build GNU_CONFIGURE= yes INSTALL_TARGET= install-strip +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/graphics/libkdcraw/Makefile b/graphics/libkdcraw/Makefile index 399e23695eb5..15de95892a09 100644 --- a/graphics/libkdcraw/Makefile +++ b/graphics/libkdcraw/Makefile @@ -21,4 +21,6 @@ USE_QT= core gui \ buildtools_build qmake_build USE_LDCONFIG= yes +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/graphics/libkexiv2/Makefile b/graphics/libkexiv2/Makefile index 15f2f7934230..8bff742ab4eb 100644 --- a/graphics/libkexiv2/Makefile +++ b/graphics/libkexiv2/Makefile @@ -15,4 +15,6 @@ USE_QT= core gui \ buildtools_build qmake_build USE_LDCONFIG= yes +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/graphics/libkipi/Makefile b/graphics/libkipi/Makefile index 083e69570f9a..7f59648587ff 100644 --- a/graphics/libkipi/Makefile +++ b/graphics/libkipi/Makefile @@ -14,4 +14,6 @@ USE_QT= core dbus gui widgets xml \ buildtools_build qmake_build USE_LDCONFIG= yes +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/graphics/libksane/Makefile b/graphics/libksane/Makefile index 8badd1858e76..e3d4e496b52b 100644 --- a/graphics/libksane/Makefile +++ b/graphics/libksane/Makefile @@ -15,4 +15,6 @@ USE_QT= core gui testlib widgets \ buildtools_build qmake_build USE_LDCONFIG= yes +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/graphics/linux-c6-cairo/Makefile b/graphics/linux-c6-cairo/Makefile index bc9740955918..079461ff583e 100644 --- a/graphics/linux-c6-cairo/Makefile +++ b/graphics/linux-c6-cairo/Makefile @@ -16,4 +16,6 @@ USE_LDCONFIG= yes USE_LINUX= fontconfig pixman png xorglibs USE_LINUX_RPM= yes +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/graphics/linux-c6-jpeg/Makefile b/graphics/linux-c6-jpeg/Makefile index 220007b93847..f5341edf84fe 100644 --- a/graphics/linux-c6-jpeg/Makefile +++ b/graphics/linux-c6-jpeg/Makefile @@ -18,4 +18,6 @@ USES= linux:c6 USE_LDCONFIG= yes USE_LINUX_RPM= yes +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/graphics/linux-c6-png/Makefile b/graphics/linux-c6-png/Makefile index ba0793f2c465..6c5813271a7b 100644 --- a/graphics/linux-c6-png/Makefile +++ b/graphics/linux-c6-png/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/graphics/linux-c6-sdl_image/Makefile b/graphics/linux-c6-sdl_image/Makefile index 96e589df5cdf..23754012835d 100644 --- a/graphics/linux-c6-sdl_image/Makefile +++ b/graphics/linux-c6-sdl_image/Makefile @@ -20,4 +20,6 @@ USE_LDCONFIG= yes USE_LINUX= jpeg png sdl12 tiff USE_LINUX_RPM= yes +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/graphics/linux-c6-sdl_ttf/Makefile b/graphics/linux-c6-sdl_ttf/Makefile index ed8d5ce5021f..4a37af16398f 100644 --- a/graphics/linux-c6-sdl_ttf/Makefile +++ b/graphics/linux-c6-sdl_ttf/Makefile @@ -20,4 +20,6 @@ USE_LDCONFIG= yes USE_LINUX= jpeg png sdl12 tiff USE_LINUX_RPM= yes +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/graphics/linux-c6-tiff/Makefile b/graphics/linux-c6-tiff/Makefile index f1ef571fb388..dece7e06968d 100644 --- a/graphics/linux-c6-tiff/Makefile +++ b/graphics/linux-c6-tiff/Makefile @@ -18,4 +18,6 @@ USE_LDCONFIG= yes USE_LINUX= jpeg USE_LINUX_RPM= yes +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/graphics/linux-c7-cairo/Makefile b/graphics/linux-c7-cairo/Makefile index 6f9c2cbdf68f..39e8e521b24c 100644 --- a/graphics/linux-c7-cairo/Makefile +++ b/graphics/linux-c7-cairo/Makefile @@ -17,4 +17,6 @@ USE_LDCONFIG= yes USE_LINUX= dri fontconfig pixman png xorglibs USE_LINUX_RPM= yes +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/graphics/linux-c7-dri/Makefile b/graphics/linux-c7-dri/Makefile index c5c66eeb56f5..475e44a25309 100644 --- a/graphics/linux-c7-dri/Makefile +++ b/graphics/linux-c7-dri/Makefile @@ -30,6 +30,8 @@ USE_LDCONFIG= yes USE_LINUX= expat libelf libpciaccess xorglibs USE_LINUX_RPM= yes +OPTIONS_DEFINE= DOCS + post-install: @${RM} ${STAGEDIR}${PREFIX}/usr/lib/libEGL.so.1 @${RM} ${STAGEDIR}${PREFIX}/usr/lib/libGL.so.1 diff --git a/graphics/linux-c7-graphite2/Makefile b/graphics/linux-c7-graphite2/Makefile index 7c9f69874a1b..d08dec0502ba 100644 --- a/graphics/linux-c7-graphite2/Makefile +++ b/graphics/linux-c7-graphite2/Makefile @@ -14,4 +14,6 @@ USES= linux:c7 USE_LDCONFIG= yes USE_LINUX_RPM= yes +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/graphics/linux-c7-jasper/Makefile b/graphics/linux-c7-jasper/Makefile index d71196410437..8fffd464a4a9 100644 --- a/graphics/linux-c7-jasper/Makefile +++ b/graphics/linux-c7-jasper/Makefile @@ -20,4 +20,6 @@ USE_LDCONFIG= yes USE_LINUX= jpeg USE_LINUX_RPM= yes +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/graphics/linux-c7-jbigkit/Makefile b/graphics/linux-c7-jbigkit/Makefile index 971f3eb11a87..f29fd7b6b6bc 100644 --- a/graphics/linux-c7-jbigkit/Makefile +++ b/graphics/linux-c7-jbigkit/Makefile @@ -19,4 +19,6 @@ USES= linux:c7 USE_LDCONFIG= yes USE_LINUX_RPM= yes +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/graphics/linux-c7-jpeg/Makefile b/graphics/linux-c7-jpeg/Makefile index 975749c1eef1..d6f651d875e3 100644 --- a/graphics/linux-c7-jpeg/Makefile +++ b/graphics/linux-c7-jpeg/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/graphics/linux-c7-png/Makefile b/graphics/linux-c7-png/Makefile index 93a4ef1beed7..9d954d63c264 100644 --- a/graphics/linux-c7-png/Makefile +++ b/graphics/linux-c7-png/Makefile @@ -22,4 +22,6 @@ USES= linux:c7 USE_LDCONFIG= yes USE_LINUX_RPM= yes +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/graphics/linux-c7-sdl_image/Makefile b/graphics/linux-c7-sdl_image/Makefile index d5b44688db8d..69353155e0f2 100644 --- a/graphics/linux-c7-sdl_image/Makefile +++ b/graphics/linux-c7-sdl_image/Makefile @@ -23,4 +23,6 @@ USE_LDCONFIG= yes USE_LINUX= jpeg png sdl12 tiff USE_LINUX_RPM= yes +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/graphics/linux-c7-sdl_ttf/Makefile b/graphics/linux-c7-sdl_ttf/Makefile index 19c73917c064..63a2c932f75f 100644 --- a/graphics/linux-c7-sdl_ttf/Makefile +++ b/graphics/linux-c7-sdl_ttf/Makefile @@ -23,4 +23,6 @@ USE_LDCONFIG= yes USE_LINUX= jpeg png sdl12 tiff USE_LINUX_RPM= yes +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/graphics/linux-c7-tiff/Makefile b/graphics/linux-c7-tiff/Makefile index e0a5cbd327be..507a81e4466e 100644 --- a/graphics/linux-c7-tiff/Makefile +++ b/graphics/linux-c7-tiff/Makefile @@ -18,4 +18,6 @@ USE_LDCONFIG= yes USE_LINUX= jbigkit jpeg USE_LINUX_RPM= yes +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/graphics/mandelbulber/Makefile b/graphics/mandelbulber/Makefile index ce821204ccd2..3be24b64c657 100644 --- a/graphics/mandelbulber/Makefile +++ b/graphics/mandelbulber/Makefile @@ -25,6 +25,8 @@ PLIST_FILES= bin/${PORTNAME} share/applications/${PORTNAME}.desktop PORTDOCS= README NEWS PORTDATA= * +OPTIONS_DEFINE= DOCS + post-patch: @${REINPLACE_CMD} -e 's|/usr/share/mandelbulber|${DATADIR}|' \ ${WRKSRC}/${PORTNAME}.desktop diff --git a/graphics/mapnik/Makefile b/graphics/mapnik/Makefile index 8c4de0f6ef30..b51e278793f2 100644 --- a/graphics/mapnik/Makefile +++ b/graphics/mapnik/Makefile @@ -37,7 +37,7 @@ PORTDOCS= * INPUT_PLUGINS= csv raster shape geojson topojson -OPTIONS_DEFINE= CAIRO JPEG PNG TIFF WEBP PROJ +OPTIONS_DEFINE= DOCS CAIRO JPEG PNG TIFF WEBP PROJ OPTIONS_DEFAULT=CAIRO GDAL OGR POSTGIS PGRASTER SQLITE3 JPEG PNG TIFF PROJ WEBP OPTIONS_GROUP= INPUT OPTIONS_GROUP_INPUT= GDAL OGR POSTGIS PGRASTER SQLITE3 diff --git a/graphics/okular/Makefile b/graphics/okular/Makefile index fe4b2547526f..f2e409694d30 100644 --- a/graphics/okular/Makefile +++ b/graphics/okular/Makefile @@ -34,4 +34,6 @@ USE_QT= core dbus gui network phonon4 printsupport qml quick speech \ svg widgets xml \ buildtools_build qmake_build +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/graphics/openjump/Makefile b/graphics/openjump/Makefile index c64cef77b560..1dc6faaa48f2 100644 --- a/graphics/openjump/Makefile +++ b/graphics/openjump/Makefile @@ -48,6 +48,8 @@ TARGET_DIR= ${STAGEDIR}${PREFIX}/${PORTNAME} WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}-r${PLUS_REV}-PLUS PLUS_REV= 5792 +OPTIONS_DEFINE= DOCS + do-install: @${ECHO_CMD} "---> Installing JAR files" ${MKDIR} ${TARGET_DIR}/lib diff --git a/graphics/optipng/Makefile b/graphics/optipng/Makefile index ff8ff96e88ca..fe8c8ada0e93 100644 --- a/graphics/optipng/Makefile +++ b/graphics/optipng/Makefile @@ -12,7 +12,7 @@ COMMENT= Optimizer for PNG files LICENSE= ZLIB LICENSE_FILE= ${WRKSRC}/LICENSE.txt -OPTIONS_DEFINE= BUNDLED_LIBPNG BUNDLED_ZLIB +OPTIONS_DEFINE= BUNDLED_LIBPNG BUNDLED_ZLIB DOCS BUNDLED_LIBPNG_DESC= Use bundled libpng BUNDLED_LIBPNG_CONFIGURE_OFF= --with-system-libpng diff --git a/graphics/oyranos/Makefile b/graphics/oyranos/Makefile index 88d7154c90d2..1a46e6d08e0e 100644 --- a/graphics/oyranos/Makefile +++ b/graphics/oyranos/Makefile @@ -40,7 +40,8 @@ CMAKE_ARGS+= -DXDG_CONFIG_DIR=${PREFIX}/etc/xdg LDFLAGS+= -L${LOCALBASE}/lib ${ICONV_LIB} MAKE_JOBS_UNSAFE=yes -OPTIONS_DEFINE= DOXYGEN +OPTIONS_DEFINE= DOXYGEN DOCS +DOXYGEN_IMPLIES= DOCS DOXYGEN_BUILD_DEPENDS= ${LOCALBASE}/bin/doxygen:devel/doxygen PORTDOCS= * diff --git a/graphics/pencil/Makefile b/graphics/pencil/Makefile index d9106fdc65fb..decd14933b27 100644 --- a/graphics/pencil/Makefile +++ b/graphics/pencil/Makefile @@ -29,6 +29,8 @@ PLIST_FILES= bin/pencil PORTDOCS= README TODO +OPTIONS_DEFINE= DOCS + post-patch: @${MKDIR} ${WRKSRC}/src/external/freebsd @${CP} ${FILESDIR}/src-external-freebsd-freebsd.cpp \ diff --git a/graphics/piglit/Makefile b/graphics/piglit/Makefile index d6c07ea8e92d..2a1c8cbd86dc 100644 --- a/graphics/piglit/Makefile +++ b/graphics/piglit/Makefile @@ -45,4 +45,6 @@ SUB_FILES= pkg-message DATADIR= ${PREFIX}/lib/piglit PORTDATA= * +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/graphics/pqiv/Makefile b/graphics/pqiv/Makefile index 1d9ec2564f92..226aaccb6cea 100644 --- a/graphics/pqiv/Makefile +++ b/graphics/pqiv/Makefile @@ -19,6 +19,8 @@ BUILD_DEPENDS= bash:shells/bash USE_GITHUB= yes GH_ACCOUNT= phillipberndt +OPTIONS_DEFINE= DOCS + OPTIONS_SINGLE= GTK OPTIONS_SINGLE_GTK= GTK2 GTK3 diff --git a/graphics/rawtherapee/Makefile b/graphics/rawtherapee/Makefile index a502bdccf392..017d8e094c3d 100644 --- a/graphics/rawtherapee/Makefile +++ b/graphics/rawtherapee/Makefile @@ -60,7 +60,7 @@ CMAKE_ARGS+= -DPROC_TARGET_NUMBER="1" RTDIR= ${PREFIX}/libdata/${PORTNAME} -OPTIONS_DEFINE= OPTIMIZED_CFLAGS OPENMP NATIVE +OPTIONS_DEFINE= DOCS OPTIMIZED_CFLAGS OPENMP NATIVE OPTIONS_DEFAULT= OPTIMIZED_CFLAGS OPENMP OPENMP_DESC= Enable multicore processing using OpenMP (amd64) OPTIMIZED_CFLAGS_DESC= Use extra compiler optimizations (requires SSE2 support) diff --git a/graphics/sdump/Makefile b/graphics/sdump/Makefile index 78828335093d..8c0fd797c699 100644 --- a/graphics/sdump/Makefile +++ b/graphics/sdump/Makefile @@ -29,6 +29,8 @@ LDFLAGS += -L${LOCALBASE}/lib -ljpeg -lpng -lsixel PORTDOCS= README.markdown +OPTIONS_DEFINE= DOCS + post-build: @cd ${WRKSRC}/yaimg-sixel && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} diff --git a/graphics/seq2gif/Makefile b/graphics/seq2gif/Makefile index ebfe53472ab9..7e0559006087 100644 --- a/graphics/seq2gif/Makefile +++ b/graphics/seq2gif/Makefile @@ -25,6 +25,8 @@ PORTDOCS= README.md PLIST_FILES= bin/seq2gif +OPTIONS_DEFINE= DOCS + post-install: ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR} diff --git a/graphics/spectacle/Makefile b/graphics/spectacle/Makefile index 6d13441d2a09..82152fe410ef 100644 --- a/graphics/spectacle/Makefile +++ b/graphics/spectacle/Makefile @@ -21,4 +21,6 @@ USE_QT= core concurrent dbus gui network printsupport qml quick \ buildtools_build qmake_build USE_XORG= x11 xcb xext xfixes +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/graphics/vapoursynth-fmtconv/Makefile b/graphics/vapoursynth-fmtconv/Makefile index fc6b2d29031b..5fe237b59031 100644 --- a/graphics/vapoursynth-fmtconv/Makefile +++ b/graphics/vapoursynth-fmtconv/Makefile @@ -33,6 +33,8 @@ DOCSDIR= ${PREFIX}/share/doc/${PKGBASE} PLIST_FILES= %%DATADIR%%/libfmtconv.so PORTDOCS= * +OPTIONS_DEFINE= DOCS + post-patch: @${REINPLACE_CMD} -e 's/x86_64/&|amd64/' \ ${WRKSRC}/configure.ac diff --git a/graphics/vapoursynth-waifu2x-w2xc/Makefile b/graphics/vapoursynth-waifu2x-w2xc/Makefile index 5e9865adc6a8..c47bbddfb49e 100644 --- a/graphics/vapoursynth-waifu2x-w2xc/Makefile +++ b/graphics/vapoursynth-waifu2x-w2xc/Makefile @@ -36,6 +36,8 @@ PLIST_FILES= %%DATADIR%%/libwaifu2x-w2xc.so PORTDATA= models PORTDOCS= *.md +OPTIONS_DEFINE= DOCS + post-patch: @${REINPLACE_CMD} -e 's/\*linux\*/*/' \ -e 's/-O3 //; /=.*-mfpmath/d; /-msse/d' \ diff --git a/irc/ircd-ratbox/Makefile b/irc/ircd-ratbox/Makefile index 2569e62463d4..1833634f6dfb 100644 --- a/irc/ircd-ratbox/Makefile +++ b/irc/ircd-ratbox/Makefile @@ -50,7 +50,7 @@ PORTDOCS= [^i]*.txt README.* technical/[^i]*.txt Tao-of-IRC.* #-- Options ------------------------------------------------------------ OPTIONS_DEFINE= OPENSSL IPV6 ZIPLINKS SHARED_MODS ASSERT SMALL_NET \ - SERVICES SHORTCUTS + SERVICES SHORTCUTS DOCS ZIPLINKS_DESC= Support compressed server links SHARED_MODS_DESC= Support shared modules ASSERT_DESC= Enable debugging code diff --git a/irc/irssi-fish/Makefile b/irc/irssi-fish/Makefile index bbe1b3a4b1f1..704b98b39e41 100644 --- a/irc/irssi-fish/Makefile +++ b/irc/irssi-fish/Makefile @@ -27,6 +27,8 @@ USE_LDCONFIG= yes PLIST_FILES= lib/irssi/modules/libfish.so PORTDOCS= README.md FiSH-irssi.txt +OPTIONS_DEFINE= DOCS + post-patch: ${REINPLACE_CMD} -e "s,/usr/local,${LOCALBASE},g" \ -e "s,share/doc/FiSH-irssi,${DOCSDIR_REL},g" ${WRKSRC}/CMakeLists.txt diff --git a/irc/ratbox-respond/Makefile b/irc/ratbox-respond/Makefile index 0e4957aa4f34..72535af6c68e 100644 --- a/irc/ratbox-respond/Makefile +++ b/irc/ratbox-respond/Makefile @@ -22,6 +22,8 @@ PORTDOCS= challenge.txt PORTEXAMPLES= * PLIST_FILES= bin/ratbox-respond bin/makekeypair +OPTIONS_DEFINE= DOCS + do-install: ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin ${INSTALL_SCRIPT} ${WRKSRC}/makekeypair ${STAGEDIR}${PREFIX}/bin diff --git a/irc/roxirc/Makefile b/irc/roxirc/Makefile index 50f23720dbf3..093b122ad745 100644 --- a/irc/roxirc/Makefile +++ b/irc/roxirc/Makefile @@ -16,6 +16,8 @@ NO_BUILD= yes PLIST_FILES= bin/roxirc PORTDOCS= * +OPTIONS_DEFINE= DOCS + post-patch: @${REINPLACE_CMD} 's|if \[ -x .*|${WISH} "$$0" "$$@"|' ${WRKSRC}/roxirc diff --git a/japanese/canna-server/Makefile b/japanese/canna-server/Makefile index 73e5164109b4..6bb5c8e2c790 100644 --- a/japanese/canna-server/Makefile +++ b/japanese/canna-server/Makefile @@ -24,6 +24,8 @@ PORTDOCS= canna.bib canna.sty Imakefile README.jp Makefile \ intern lisp man MAKE_JOBS_UNSAFE= yes +OPTIONS_DEFINE= DOCS + post-install: @cd ${INSTALL_WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} \ ${MAKEFILE} ${MAKE_ARGS} install.man diff --git a/japanese/groff/Makefile b/japanese/groff/Makefile index 54933681ca8f..bebdebdeb1c0 100644 --- a/japanese/groff/Makefile +++ b/japanese/groff/Makefile @@ -45,6 +45,8 @@ TMACFILES= tmac.orig_me tmac.vgrind \ an-old.tmac doc.tmac e.tmac MDOCFILES= ja.eucJP doc-common doc-syms +OPTIONS_DEFINE= DOCS + post-patch: ${REINPLACE_CMD} -E -e 's|^@setfilename +groff|&.info|g;' \ ${WRKSRC}/doc/groff.texinfo diff --git a/japanese/jvim3/Makefile b/japanese/jvim3/Makefile index 848189c9138f..2dff5f65df15 100644 --- a/japanese/jvim3/Makefile +++ b/japanese/jvim3/Makefile @@ -24,7 +24,7 @@ MAKE_ARGS= FEPOPT='${FEPOPT}' \ FEPOBJS="${FEPOBJS}" \ LIBS="${LIBS}" -OPTIONS_DEFINE= X11 +OPTIONS_DEFINE= X11 DOCS OPTIONS_DEFAULT=X11 FREEWNN_CANNA OPTIONS_RADIO= FEP OPTIONS_RADIO_FEP= FREEWNN_CANNA DIRECT_CANNA WNN6 WNN7 diff --git a/japanese/kiten/Makefile b/japanese/kiten/Makefile index 53d00f16c0cf..cd1b2fc98788 100644 --- a/japanese/kiten/Makefile +++ b/japanese/kiten/Makefile @@ -15,4 +15,6 @@ USE_QT= core dbus gui network widgets xml \ buildtools_build qmake_build USE_LDCONFIG= yes +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/japanese/kon2-16dot/Makefile b/japanese/kon2-16dot/Makefile index befb2a52f1b0..fcc938c310fc 100644 --- a/japanese/kon2-16dot/Makefile +++ b/japanese/kon2-16dot/Makefile @@ -22,6 +22,9 @@ ONLY_FOR_ARCHS= i386 amd64 PORTDOCS= README README.FreeBSD SUB_LIST= KON16FONT=${KON16FONT} \ KON14FONT=${KON14FONT} + +OPTIONS_DEFINE= DOCS + .include <bsd.port.pre.mk> .if !defined(KONFONT) diff --git a/japanese/kterm/Makefile b/japanese/kterm/Makefile index d367a66d2bc8..c9c859da7632 100644 --- a/japanese/kterm/Makefile +++ b/japanese/kterm/Makefile @@ -27,7 +27,7 @@ VGAFONT_USES= fonts CFLAGS+= -Wno-return-type PORTDOCS= README.kt README.wallpaper.ja dot.termcap -OPTIONS_DEFINE= TEKTRONIXEMU VGAFONT +OPTIONS_DEFINE= TEKTRONIXEMU VGAFONT DOCS OPTIONS_DEFAULT=DEFAULT OPTIONS_SINGLE= SCROLLBAR OPTIONS_SINGLE_SCROLLBAR= DEFAULT XAW3DLIB NEXTAWLIB diff --git a/japanese/lookup/Makefile b/japanese/lookup/Makefile index a1afd4acf381..006113deed90 100644 --- a/japanese/lookup/Makefile +++ b/japanese/lookup/Makefile @@ -23,6 +23,9 @@ INFO= lookup GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-emacs=${EMACS_CMD} \ --with-lispdir=${PREFIX}/${EMACS_VERSION_SITE_LISPDIR} + +OPTIONS_DEFINE= DOCS + PORTDOCS= AUTHORS ChangeLog NEWS README.md post-install: diff --git a/japanese/onew/Makefile b/japanese/onew/Makefile index 4be843e65af3..ea422d4a56c5 100644 --- a/japanese/onew/Makefile +++ b/japanese/onew/Makefile @@ -17,7 +17,7 @@ ALL_TARGET= CFLAGS+= -I${WRKSRC} PORTDOCS= README.ONEW -OPTIONS_DEFINE= CANNA CANNA_FREEWNN CANNA_WNN6 CANNA_WNN7 FREEWNN WNN6 WNN7 +OPTIONS_DEFINE= CANNA CANNA_FREEWNN CANNA_WNN6 CANNA_WNN7 FREEWNN WNN6 WNN7 DOCS OPTIONS_DEFAULT=CANNA CANNA_FREEWNN CANNA_WNN6 CANNA_WNN7 FREEWNN WNN6 WNN7 CANNA_DESC= Build Canna-backend library CANNA_FREEWNN_DESC= Build Canna+FreeWnn-backend library diff --git a/japanese/plan/Makefile b/japanese/plan/Makefile index f6a62831bc46..d92bf8487c1d 100644 --- a/japanese/plan/Makefile +++ b/japanese/plan/Makefile @@ -17,6 +17,8 @@ EXTRA_PATCHES= ${.CURDIR}/files/patch-* PORTDOCS= plan_calEUC.ps +OPTIONS_DEFINE= DOCS + post-build: ${CAT} ${MASTERDIR}/pkg-plist >> ${WRKDIR}/PLIST diff --git a/java/castor/Makefile b/java/castor/Makefile index 0e30c5e60deb..c923ef859f04 100644 --- a/java/castor/Makefile +++ b/java/castor/Makefile @@ -28,6 +28,8 @@ PLIST_FILES= %%JAVAJARDIR%%/${PORTNAME}-anttasks.jar \ PORTDOCS= *.html *.txt *.css *.dtd *.xsd *.pdf \ ora-mar-2k images rss +OPTIONS_DEFINE= DOCS + do-install: .for f in ${PLIST_FILES:T:R} ${INSTALL_DATA} \ diff --git a/java/jaxen/Makefile b/java/jaxen/Makefile index 76a0aeea2368..b6ea26babec5 100644 --- a/java/jaxen/Makefile +++ b/java/jaxen/Makefile @@ -21,6 +21,8 @@ PLIST_FILES+= ${JARFILES:S,^lib/,,:S,^,%%JAVAJARDIR%%/,} DOCS= default.css download.html faq.html index.html javadoc status.html style PORTDOCS= LICENSE ${DOCS} +OPTIONS_DEFINE= DOCS + do-install: @${ECHO_MSG} -n ">> Installing JAR files in ${JAVAJARDIR}..." @${MKDIR} ${STAGEDIR}${JAVAJARDIR} diff --git a/java/jdk8-doc/Makefile b/java/jdk8-doc/Makefile index 962644e20b4e..9976fe268675 100644 --- a/java/jdk8-doc/Makefile +++ b/java/jdk8-doc/Makefile @@ -23,6 +23,8 @@ NO_BUILD= yes NO_ARCH= yes PORTDOCS= * +OPTIONS_DEFINE= DOCS + .include <bsd.port.pre.mk> .if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}) diff --git a/java/jdk9-doc/Makefile b/java/jdk9-doc/Makefile index 89747493432f..f481d8e870cb 100644 --- a/java/jdk9-doc/Makefile +++ b/java/jdk9-doc/Makefile @@ -23,6 +23,8 @@ NO_BUILD= yes USES= zip PORTDOCS= * +OPTIONS_DEFINE= DOCS + .include <bsd.port.pre.mk> .if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}) diff --git a/lang/alchemist.el/Makefile b/lang/alchemist.el/Makefile index 7bb933cd4650..6133ff42f69f 100644 --- a/lang/alchemist.el/Makefile +++ b/lang/alchemist.el/Makefile @@ -21,6 +21,8 @@ GH_ACCOUNT= tonini NO_ARCH= yes NO_BUILD= yes +OPTIONS_DEFINE= DOCS + do-install: @${MKDIR} ${STAGEDIR}${PREFIX}/${EMACS_SITE_LISPDIR}/alchemist-server @${MKDIR} ${STAGEDIR}${PREFIX}/${EMACS_SITE_LISPDIR}/alchemist-server/lib diff --git a/lang/cint/Makefile b/lang/cint/Makefile index 77f59a571220..4d44d3ea226a 100644 --- a/lang/cint/Makefile +++ b/lang/cint/Makefile @@ -31,6 +31,8 @@ INSTALL_ARGS= --bindir=${STAGEDIR}${PREFIX}/bin\ --mandir=${STAGEDIR}${PREFIX}/man\ --docdir=${STAGEDIR}${DOCSDIR} +OPTIONS_DEFINE= DOCS + post-patch: ${REINPLACE_CMD} 's,#!/bin/bash,#!${LOCALBASE}/bin/bash,' ${WRKSRC}/cint/lib/dll_stl/setup ${REINPLACE_CMD} 's,make ,${GMAKE} ,' ${WRKSRC}/cint/lib/*/setup diff --git a/lang/dmd2/Makefile.bootstrap b/lang/dmd2/Makefile.bootstrap index 13bf1eac1484..a3ff36822383 100644 --- a/lang/dmd2/Makefile.bootstrap +++ b/lang/dmd2/Makefile.bootstrap @@ -23,6 +23,8 @@ PORTDOCS= *.txt html/ WRKSRC= ${WRKDIR}/dmd2/src/${PORTNAME} .undef DEVELOPER +OPTIONS_DEFINE= DOCS + BROKEN_sparc64= Does not install: divide-by-zero error .include <bsd.port.pre.mk> diff --git a/lang/elixir-mode.el/Makefile b/lang/elixir-mode.el/Makefile index 729cc261c496..4166aa6e82e8 100644 --- a/lang/elixir-mode.el/Makefile +++ b/lang/elixir-mode.el/Makefile @@ -20,9 +20,13 @@ GH_PROJECT= emacs-elixir NO_ARCH= yes NO_BUILD= yes +OPTIONS_DEFINE= DOCS + do-install: @${MKDIR} ${STAGEDIR}${PREFIX}/${EMACS_SITE_LISPDIR} ${INSTALL_DATA} ${WRKSRC}/*.el ${STAGEDIR}${PREFIX}/${EMACS_SITE_LISPDIR} + +post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/*.md ${STAGEDIR}${DOCSDIR} diff --git a/lang/fasm/Makefile b/lang/fasm/Makefile index 37f1bb344750..48a8f48c0752 100644 --- a/lang/fasm/Makefile +++ b/lang/fasm/Makefile @@ -19,6 +19,8 @@ PLIST_FILES= bin/fasm PORTDOCS= * WRKSRC= ${WRKDIR}/${PORTNAME} +OPTIONS_DEFINE= DOCS + .include <bsd.port.pre.mk> .if ${ARCH} != "i386" diff --git a/lang/fpc-docs/Makefile b/lang/fpc-docs/Makefile index 363f5b8766fc..68093d874c09 100644 --- a/lang/fpc-docs/Makefile +++ b/lang/fpc-docs/Makefile @@ -21,6 +21,8 @@ PORTDOCS= chart.pdf fcl.pdf fclres.pdf fpdoc.pdf prog.pdf ref.pdf \ rtl.pdf user.pdf SUB_FILES= pkg-message +OPTIONS_DEFINE= DOCS + do-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKDIR}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} diff --git a/lang/gambit-c/Makefile b/lang/gambit-c/Makefile index ce6d06882a57..d4e6165779b7 100644 --- a/lang/gambit-c/Makefile +++ b/lang/gambit-c/Makefile @@ -31,7 +31,7 @@ USE_LDCONFIG= ${PREFIX}/lib/gambit-c INFO= gambit -OPTIONS_DEFINE= GCC +OPTIONS_DEFINE= DOCS GCC OPTIONS_DEFAULT=GCC GCC_DESC= Build with GCC diff --git a/lang/kross-interpreters/Makefile b/lang/kross-interpreters/Makefile index d5fba8662e2e..5330c4c01146 100644 --- a/lang/kross-interpreters/Makefile +++ b/lang/kross-interpreters/Makefile @@ -12,7 +12,7 @@ USE_KDE= ecm kross USE_QT= core gui script widgets xml \ buildtools_build qmake_build -OPTIONS_DEFINE= RUBY +OPTIONS_DEFINE= RUBY DOCS OPTIONS_SUB= yes OPTIONS_DEFAULT= ${OPTIONS_DEFINE} diff --git a/lang/kturtle/Makefile b/lang/kturtle/Makefile index 799f02a05839..999c91ce6a0c 100644 --- a/lang/kturtle/Makefile +++ b/lang/kturtle/Makefile @@ -14,4 +14,6 @@ USE_KDE= attica auth codecs config configwidgets coreaddons crash ecm \ USE_QT= core dbus gui network printsupport svg widgets xml \ buildtools_build qmake_build +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/lang/lfe/Makefile b/lang/lfe/Makefile index f47dafa2ade3..ed7c6138601c 100644 --- a/lang/lfe/Makefile +++ b/lang/lfe/Makefile @@ -16,6 +16,8 @@ GH_ACCOUNT= rvirding ALL_TARGET= compile PORTDOCS= README.md +OPTIONS_DEFINE= DOCS + do-build: cd ${BUILD_WRKSRC} && \ ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} ${ALL_TARGET} diff --git a/lang/linux-c6-tcl85/Makefile b/lang/linux-c6-tcl85/Makefile index f49b67e3e885..a6ab50e330be 100644 --- a/lang/linux-c6-tcl85/Makefile +++ b/lang/linux-c6-tcl85/Makefile @@ -18,4 +18,6 @@ USE_LDCONFIG= yes USE_LINUX_RPM= yes USE_LINUX_RPM_BAD_PERMS= yes +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/lang/linux-c7-tcl85/Makefile b/lang/linux-c7-tcl85/Makefile index 0705ace3c312..1730542700da 100644 --- a/lang/linux-c7-tcl85/Makefile +++ b/lang/linux-c7-tcl85/Makefile @@ -20,4 +20,6 @@ USE_LDCONFIG= yes USE_LINUX_RPM= yes USE_LINUX_RPM_BAD_PERMS= yes +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/lang/modula3/Makefile b/lang/modula3/Makefile index d8a99adc0006..3f7783a31933 100644 --- a/lang/modula3/Makefile +++ b/lang/modula3/Makefile @@ -51,6 +51,8 @@ STRIPPKG= m3staloneback/m3back \ hack/dummy \ test/test +OPTIONS_DEFINE= DOCS + .include <bsd.port.pre.mk> M3BOOT_ENV= ${MAKE_ENV:C/^LDFLAGS=.*//:C/^CPPFLAGS=.*//} \ diff --git a/lang/racket/Makefile b/lang/racket/Makefile index 576278feeba6..8e2aede06247 100644 --- a/lang/racket/Makefile +++ b/lang/racket/Makefile @@ -44,7 +44,7 @@ USE_LDCONFIG= yes REINPLACE_ARGS= -i "" USE_GNOME= cairo pango -OPTIONS_DEFINE= FUTURES +OPTIONS_DEFINE= DOCS FUTURES OPTIONS_DEFAULT=FUTURES OPTIONS_DEFINE_amd64= JIT diff --git a/lang/snobol4/Makefile b/lang/snobol4/Makefile index f67df6c4e1b2..1bb139af09a2 100644 --- a/lang/snobol4/Makefile +++ b/lang/snobol4/Makefile @@ -20,6 +20,8 @@ ALL_TARGET= xsnobol4 DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}-${PORTVERSION} PORTDOCS= * +OPTIONS_DEFINE= DOCS + post-patch: @${REINPLACE_CMD} 's:[^=]*\.tmp$$:${WRKSRC}/&:' ${WRKSRC}/configure @${REINPLACE_CMD} '/grep/s/$$/| egrep -v "built-in|command line"/' \ diff --git a/mail/archiveopteryx-devel/Makefile b/mail/archiveopteryx-devel/Makefile index 752143ca5a37..06215dae68ac 100644 --- a/mail/archiveopteryx-devel/Makefile +++ b/mail/archiveopteryx-devel/Makefile @@ -42,6 +42,8 @@ PLIST_SUB+= GROUPS="${GROUPS}" JAM?= ${LOCALBASE}/bin/jam +OPTIONS_DEFINE= DOCS + .include <bsd.port.pre.mk> # force Clang when on FreeBSD diff --git a/mail/archiveopteryx/Makefile b/mail/archiveopteryx/Makefile index b03bb1728639..2f3e3fda266f 100644 --- a/mail/archiveopteryx/Makefile +++ b/mail/archiveopteryx/Makefile @@ -36,6 +36,8 @@ PLIST_SUB+= GROUPS="${GROUPS}" JAM?= ${LOCALBASE}/bin/jam JAMARG+= -dx +OPTIONS_DEFINE= DOCS + .include <bsd.port.pre.mk> # force Clang when on FreeBSD diff --git a/mail/exim-doc-html/Makefile b/mail/exim-doc-html/Makefile index 303a20f81a18..b8721c1f1d7a 100644 --- a/mail/exim-doc-html/Makefile +++ b/mail/exim-doc-html/Makefile @@ -24,6 +24,8 @@ AVAILABLE_FORMATS= html \ postscript NO_BUILD= yes +OPTIONS_DEFINE= DOCS + .if make(makesum) && !defined(FETCH_ALL) .error "You forgot to define FETCH_ALL to create the sane distinfo" .endif diff --git a/mail/fastforward/Makefile b/mail/fastforward/Makefile index f98698d6af08..0f18cd9e7880 100644 --- a/mail/fastforward/Makefile +++ b/mail/fastforward/Makefile @@ -19,6 +19,8 @@ PORTDOCS= ALIASES PLIST_FILES= ${FILES:S,^,bin/,} ${FILES:S,^,man/man1/,:S,$,.1.gz,} ${FILES:S,^,man/cat1/,:S,$,.0.gz,} +OPTIONS_DEFINE= DOCS + do-install: .for binfile in ${FILES} ${INSTALL_PROGRAM} ${WRKSRC}/${binfile} ${STAGEDIR}${PREFIX}/bin/${binfile} diff --git a/mail/imapfilter/Makefile b/mail/imapfilter/Makefile index 62116eedac31..246560acb761 100644 --- a/mail/imapfilter/Makefile +++ b/mail/imapfilter/Makefile @@ -30,6 +30,8 @@ MAKE_ARGS= PREFIX=${PREFIX} \ MANDIR=${MANPREFIX}/man \ LIBLUA=-llua-${LUA_VER} +OPTIONS_DEFINE= DOCS + post-patch: @${REINPLACE_CMD} 's|-ldl ||' ${WRKSRC}/src/Makefile diff --git a/mail/opendkim/Makefile b/mail/opendkim/Makefile index fd05bf28ba68..5edf2dfb17f3 100644 --- a/mail/opendkim/Makefile +++ b/mail/opendkim/Makefile @@ -40,7 +40,7 @@ OPTIONS_SUB= yes OPTIONS_SINGLE= RESOLV OPTIONS_SINGLE_RESOLV= STOCK_RESOLVER UNBOUND OPTIONS_DEFINE= FILTER CURL GNUTLS JANSSON LDNS LMDB LUA MEMCACHED \ - BDB_BASE OPENDBX OPENLDAP POPAUTH QUERY_CACHE SASL + BDB_BASE OPENDBX OPENLDAP POPAUTH QUERY_CACHE SASL DOCS OPTIONS_DEFAULT= FILTER LUA UNBOUND STOCK_RESOLVER_DESC= Use the stock resolver library @@ -100,8 +100,6 @@ QUERY_CACHE_CONFIGURE_ENABLE= query_cache SASL_DESC= Enable SASL authentication with LDAP SASL_CONFIGURE_WITH= sasl -DOCS_CONFIGURE_ON= --docdir=${WRKDIR}/doc - MAKE_ARGS+= pkgconfigdir="${PREFIX}/libdata/pkgconfig" MAKE_ENV= INSTALL_STRIP_FLAG=${STRIP} diff --git a/mail/opendmarc/Makefile b/mail/opendmarc/Makefile index fdbcd20c1b9f..2a6f92f252fb 100644 --- a/mail/opendmarc/Makefile +++ b/mail/opendmarc/Makefile @@ -30,7 +30,7 @@ USE_RC_SUBR= opendmarc GNU_CONFIGURE= yes -OPTIONS_DEFINE= SPF +OPTIONS_DEFINE= SPF DOCS OPTIONS_DEFAULT= SPF SPF_DESC= Enable support for SPF record checking diff --git a/mail/openemm2013/Makefile b/mail/openemm2013/Makefile index 3422f1a239b9..4ac8bb8956fc 100644 --- a/mail/openemm2013/Makefile +++ b/mail/openemm2013/Makefile @@ -67,6 +67,8 @@ ANT_TARGETS= build ANT_BUILD_PARAM= -Dbuild=${WRKSRC}/target -Doe.home=${WRKSRC}/target -Dcatalina.home=${TOMCATDIR} -Dsrc=${WRKSRC} -f openemm_build.xml JAVA_BUILD= yes +OPTIONS_DEFINE= DOCS + do-extract: @cd ${WRKDIR} && ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${_DISTDIR}/${DISTNAME}.tar.gz ${EXTRACT_AFTER_ARGS} diff --git a/mail/openemm2015/Makefile b/mail/openemm2015/Makefile index 71a7c916fe01..aa04b8766248 100644 --- a/mail/openemm2015/Makefile +++ b/mail/openemm2015/Makefile @@ -64,6 +64,8 @@ ANT_TARGETS= build ANT_BUILD_PARAM= -Dbuild=${WRKSRC}/target -Doe.home=${WRKSRC}/target -Dbin=${WRKSRC}/target/bin -Dcatalina.home=${TOMCATDIR} -Dsrc=${WRKSRC} -f openemm_build.xml JAVA_BUILD= yes +OPTIONS_DEFINE= DOCS + do-extract: @cd ${WRKDIR} && ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${_DISTDIR}/${DISTNAME}.tar.gz ${EXTRACT_AFTER_ARGS} diff --git a/mail/ovs/Makefile b/mail/ovs/Makefile index fcf0f6921fd6..85d9e8904c9b 100644 --- a/mail/ovs/Makefile +++ b/mail/ovs/Makefile @@ -35,6 +35,8 @@ PLIST_SUB= CGIDIR=${CGIDIR:S,${PREFIX}/,,} WWWROOT=${WWWROOT:S,${PREFIX}/,,} \ PORTDOCS= README CHANGES COPYING CHANGES.old README.old +OPTIONS_DEFINE= DOCS + pre-everything:: @${ECHO_MSG} "" @${ECHO_MSG} "You may set following options:" diff --git a/mail/policyd2/Makefile b/mail/policyd2/Makefile index b87eda5c6908..599d76d131de 100644 --- a/mail/policyd2/Makefile +++ b/mail/policyd2/Makefile @@ -32,7 +32,7 @@ SHEBANG_FILES= cbpadmin \ WWWDIR= ${PREFIX}/www/policyd PORTDOCS= AUTHORS ChangeLog INSTALL TODO WISHLIST -OPTIONS_DEFINE= MYSQL PGSQL SQLITE WEBUI +OPTIONS_DEFINE= MYSQL PGSQL SQLITE WEBUI DOCS OPTIONS_DEFAULT=MYSQL WEBUI MYSQL_DESC= Add a dependency on DBD::mysql PGSQL_DESC= Add a dependency on DBD::Pg diff --git a/mail/postfix-policyd-sf/Makefile b/mail/postfix-policyd-sf/Makefile index 033e4dde8292..d782040804df 100644 --- a/mail/postfix-policyd-sf/Makefile +++ b/mail/postfix-policyd-sf/Makefile @@ -34,6 +34,8 @@ PLIST_FILES= sbin/${REALNAME}-cleanup \ sbin/${REALNAME} \ etc/${REALNAME}.conf.sample +OPTIONS_DEFINE= DOCS + post-patch: @${REINPLACE_CMD} -e 's,policyd.pid,postfix-policyd-sf.pid,' \ ${WRKSRC}/policyd.conf diff --git a/mail/pysieved/Makefile b/mail/pysieved/Makefile index ff5a2718b441..c5fbe4da9ced 100644 --- a/mail/pysieved/Makefile +++ b/mail/pysieved/Makefile @@ -23,6 +23,8 @@ SUB_LIST= PORTNAME=${PORTNAME} PYTHON_CMD=${PYTHON_CMD} PORTDOCS= COPYING README README.Dovecot THANKS +OPTIONS_DEFINE= DOCS + post-patch: ${REINPLACE_CMD} \ 's!/usr/bin/env python!${PYTHON_CMD}!' \ diff --git a/mail/ratelimit-policyd/Makefile b/mail/ratelimit-policyd/Makefile index 5c04d9670b0a..1f921908300c 100644 --- a/mail/ratelimit-policyd/Makefile +++ b/mail/ratelimit-policyd/Makefile @@ -36,6 +36,8 @@ PLIST_FILES= bin/ratelimit-policyd.pl \ PORTDATA= mysql-schema.sql PORTDOCS= README.md +OPTIONS_DEFINE= DOCS + post-patch: ${REINPLACE_CMD} -e "s|/usr/local|${PREFIX}|g" ${WRKSRC}/rc.d/ratelimit-policyd ${REINPLACE_CMD} -e "s|/usr/local|${PREFIX}|g" ${WRKSRC}/ratelimit-policyd.pl diff --git a/mail/sieve-connect/Makefile b/mail/sieve-connect/Makefile index c77405a87619..6b39d8000f8b 100644 --- a/mail/sieve-connect/Makefile +++ b/mail/sieve-connect/Makefile @@ -30,6 +30,8 @@ PLIST_FILES= bin/sieve-connect \ PORTDOCS= ChangeLog README.md TODO +OPTIONS_DEFINE= DOCS + do-install: ${INSTALL_SCRIPT} ${WRKSRC}/sieve-connect \ ${STAGEDIR}${PREFIX}/bin/sieve-connect diff --git a/mail/slapd-cyrus/Makefile b/mail/slapd-cyrus/Makefile index 9537f9ad0430..73995b4682ba 100644 --- a/mail/slapd-cyrus/Makefile +++ b/mail/slapd-cyrus/Makefile @@ -28,6 +28,8 @@ PLIST_SUB= SITE_PERL_REL=${SITE_PERL_REL} \ PORTDOCS= slapd-cyrus.conf.sample +OPTIONS_DEFINE= DOCS + do-install: ${MKDIR} ${STAGEDIR}${DOCSDIR} ${STAGEDIR}${PREFIX}/${SITE_PERL_REL} ${INSTALL_DATA} -m 0444 ${WRKSRC}/t/etc/slapd.conf.dist \ diff --git a/mail/spmfilter-clamav/Makefile b/mail/spmfilter-clamav/Makefile index 409fe463e407..d831b21db94e 100644 --- a/mail/spmfilter-clamav/Makefile +++ b/mail/spmfilter-clamav/Makefile @@ -19,7 +19,7 @@ CMAKE_ARGS+= --no-warn-unused-cli \ USE_LDCONFIG= ${PREFIX}/lib/spmfilter -OPTIONS_DEFINE= DEBUG +OPTIONS_DEFINE= DEBUG DOCS DEBUG_CMAKE_ON= -DENABLE_DEBUG=TRUE diff --git a/mail/sympa/Makefile b/mail/sympa/Makefile index 0d85773c254f..ae6ff7413c88 100644 --- a/mail/sympa/Makefile +++ b/mail/sympa/Makefile @@ -99,7 +99,7 @@ USE_RC_SUBR= sympa CONFLICTS= sympa-5* -OPTIONS_DEFINE= FASTCGI APACHE +OPTIONS_DEFINE= FASTCGI APACHE DOCS OPTIONS_DEFAULT=APACHE OPTIONS_RADIO= DATABASE OPTIONS_RADIO_DATABASE= PGSQL SYBASE MYSQL diff --git a/math/analitza/Makefile b/math/analitza/Makefile index 69761577d45b..159ac3011919 100644 --- a/math/analitza/Makefile +++ b/math/analitza/Makefile @@ -24,4 +24,6 @@ SHLIB_VER= 8.0.0 PLIST_SUB+= SHLIB_VER="${SHLIB_VER}" \ SHLIB_SHVER="${SHLIB_VER:R:R}" +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/math/blacs/Makefile b/math/blacs/Makefile index 12a68f691bc3..276d44288f5e 100644 --- a/math/blacs/Makefile +++ b/math/blacs/Makefile @@ -18,6 +18,8 @@ SUB_FILES= pkg-message USES= fortran gmake USE_LDCONFIG= yes +OPTIONS_DEFINE= DOCS + .include <bsd.port.pre.mk> .if ! ${PORT_OPTIONS:MDOCS} diff --git a/math/blocksolve95/Makefile b/math/blocksolve95/Makefile index e71d6b1df7be..ec1d5a24222d 100644 --- a/math/blocksolve95/Makefile +++ b/math/blocksolve95/Makefile @@ -23,6 +23,7 @@ LIB_DEPENDS= libf2c.so:lang/f2c \ USES= fortran gmake tar:Z +OPTIONS_DEFINE= DOCS OPTIONS_RADIO= BLAS OPTIONS_RADIO_BLAS= REFERENCE ATLAS OPTIONS_DEFAULT= REFERENCE diff --git a/math/cantor/Makefile b/math/cantor/Makefile index 3944753544a0..971f4eb226ea 100644 --- a/math/cantor/Makefile +++ b/math/cantor/Makefile @@ -24,7 +24,7 @@ USE_QT= core dbus gui network printsupport widgets xml xmlpatterns \ buildtools_build qmake_build USE_LDCONFIG= yes -OPTIONS_DEFINE= LUAJIT MAXIMA OCTAVE R SAGE SCILAB +OPTIONS_DEFINE= LUAJIT MAXIMA OCTAVE R SAGE SCILAB DOCS OPTIONS_SUB= yes # R LUAJIT LUAJIT_DESC= Build LuaJIT backend and install LuaJIT diff --git a/math/ccmath/Makefile b/math/ccmath/Makefile index e260ca32ad10..bc8596e475b4 100644 --- a/math/ccmath/Makefile +++ b/math/ccmath/Makefile @@ -20,6 +20,8 @@ PORTDOCS= * SRC_DIRS= cfit complex fft geom intg matrix roots sfunc simu sort statf \ tseries util xarm +OPTIONS_DEFINE= DOCS + .include <bsd.port.pre.mk> .if ${ARCH} == "amd64" diff --git a/math/clp/Makefile b/math/clp/Makefile index 8b4ed821b27d..4c1a014d72b8 100644 --- a/math/clp/Makefile +++ b/math/clp/Makefile @@ -27,7 +27,7 @@ CONFIGURE_ARGS= --with-lapack-lib="${LAPACKLIB} -L${LOCALBASE}/lib" \ --with-blas-lib="${BLASLIB} -L${LOCALBASE}/lib" \ --datadir=${DATADIR} -OPTIONS_DEFINE= DEBUG +OPTIONS_DEFINE= DEBUG DOCS PORTDOCS= * DEBUG_CXXFLAGS= -fomit-frame-pointer diff --git a/math/ggobi/Makefile b/math/ggobi/Makefile index aef1dc8779cd..fb3389e2a127 100644 --- a/math/ggobi/Makefile +++ b/math/ggobi/Makefile @@ -26,6 +26,8 @@ SUB_FILES= pkg-message ALL_TARGET= all ggobirc INSTALL_TARGET= install-strip +OPTIONS_DEFINE= DOCS + post-build: @${REINPLACE_CMD} -e 's|plugin.la|plugin.so|g' ${WRKSRC}/ggobirc diff --git a/math/gracetmpl/Makefile b/math/gracetmpl/Makefile index 9db940395e97..f89e4bc10bf8 100644 --- a/math/gracetmpl/Makefile +++ b/math/gracetmpl/Makefile @@ -34,6 +34,8 @@ USE_GCC= yes PLIST_SUB+= PYTHON_VER=${PYTHON_VER} +OPTIONS_DEFINE= DOCS + post-extract: @${ECHO_CMD} -n > ${WRKSRC}/Makefile.defs diff --git a/math/kalgebra/Makefile b/math/kalgebra/Makefile index 37e1cac1a4a0..d0bd43f91037 100644 --- a/math/kalgebra/Makefile +++ b/math/kalgebra/Makefile @@ -20,4 +20,6 @@ USE_QT= core dbus gui location network opengl printsupport qml quick \ svg testlib webchannel webengine widgets xml \ buildtools_build qmake_build +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/math/kbruch/Makefile b/math/kbruch/Makefile index 24018e8a090c..b07898091eb0 100644 --- a/math/kbruch/Makefile +++ b/math/kbruch/Makefile @@ -16,4 +16,6 @@ USE_KDE= auth config crash codecs configwidgets coreaddons doctools ecm \ USE_QT= core dbus gui xml widgets \ buildtools_build qmake_build +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/math/kcalc/Makefile b/math/kcalc/Makefile index 1c788bb3f850..c3c3104aacab 100644 --- a/math/kcalc/Makefile +++ b/math/kcalc/Makefile @@ -18,4 +18,6 @@ USE_KDE= auth codecs coreaddons ecm config configwidgets doctools \ USE_QT= core dbus gui widgets xml \ buildtools_build qmake_build +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/math/kig/Makefile b/math/kig/Makefile index f5eb67b521f2..9013792d1421 100644 --- a/math/kig/Makefile +++ b/math/kig/Makefile @@ -19,4 +19,6 @@ USE_QT= core dbus gui network printsupport svg widgets xml xmlpatterns \ buildtools_build qmake_build SHEBANG_FILES= pykig/pykig.py +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/math/kmplot/Makefile b/math/kmplot/Makefile index 073f191c8c3f..001cf56282b0 100644 --- a/math/kmplot/Makefile +++ b/math/kmplot/Makefile @@ -16,4 +16,6 @@ USE_KDE= auth bookmarks codecs completion config configwidgets \ USE_QT= core dbus gui network printsupport svg widgets xml \ buildtools_build qmake_build +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/math/liborigin/Makefile b/math/liborigin/Makefile index f7d5eaee240c..e1756df6f17f 100644 --- a/math/liborigin/Makefile +++ b/math/liborigin/Makefile @@ -23,7 +23,9 @@ WRKSRC= ${WRKDIR}/${PORTNAME} PORTDOCS= * -OPTIONS_DEFINE= DOXYGEN +OPTIONS_DEFINE= DOXYGEN DOCS + +DOXYGEN_IMPLIES= DOCS DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen post-patch-DOXYGEN-off: diff --git a/math/librsb/Makefile b/math/librsb/Makefile index 1e307fb1d469..ce77473f1a6d 100644 --- a/math/librsb/Makefile +++ b/math/librsb/Makefile @@ -28,6 +28,8 @@ USE_LDCONFIG= yes MANUAL_PACKAGE_BUILD= Optimizes for the local machine +OPTIONS_DEFINE= DOCS + post-patch: @${REINPLACE_CMD} -E s/sed/gsed/g ${WRKSRC}/scripts/*.sh diff --git a/math/mpfr/Makefile b/math/mpfr/Makefile index 2820612631e2..541f64840454 100644 --- a/math/mpfr/Makefile +++ b/math/mpfr/Makefile @@ -35,4 +35,6 @@ INFO= mpfr PORTDOCS= * +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/math/muparser/Makefile b/math/muparser/Makefile index dbb0772fc80a..41600a1b57d0 100644 --- a/math/muparser/Makefile +++ b/math/muparser/Makefile @@ -23,13 +23,12 @@ GNU_CONFIGURE= yes # otherwise it fails to build when the EXAMPLES option is ON MAKE_JOBS_UNSAFE= yes -OPTIONS_DEFINE= DOXYGEN EXAMPLES +OPTIONS_DEFINE= DOCS DOXYGEN EXAMPLES DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen \ dot:graphics/graphviz DOXYGEN_ALL_TARGET= documentation DOXYGEN_PORTDOCS= * -# PORTDOCS macro won't work if NOPORTDOCS is defined or if DOCS is disabled DOXYGEN_IMPLIES= DOCS EXAMPLES_CONFIGURE_ENABLE= samples diff --git a/math/nfft/Makefile b/math/nfft/Makefile index 188a99c74c7c..ccecccb94e31 100644 --- a/math/nfft/Makefile +++ b/math/nfft/Makefile @@ -21,11 +21,12 @@ TEST_TARGET= check USE_GITHUB= yes GH_ACCOUNT= NFFT -OPTIONS_DEFINE= DOXYGEN +OPTIONS_DEFINE= DOCS DOXYGEN OPTIONS_SUB= DOXYGEN DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen DOXYGEN_ALL_TARGET= all doc +DOXYGEN_IMPLIES= DOCS INSTALL_TARGET=install-strip diff --git a/math/py-bitvector/Makefile b/math/py-bitvector/Makefile index 2cdf7e586fab..3267dfbe16a9 100644 --- a/math/py-bitvector/Makefile +++ b/math/py-bitvector/Makefile @@ -19,6 +19,8 @@ PYDISTUTILS_PKGNAME= BitVector PORTDOCS= README BitVector-${PORTVERSION}.html +OPTIONS_DEFINE= DOCS + post-extract: @${RM} ${WRKSRC}/test.py diff --git a/math/reduce-psl/Makefile b/math/reduce-psl/Makefile index e9c987d649d9..c414070a1f95 100644 --- a/math/reduce-psl/Makefile +++ b/math/reduce-psl/Makefile @@ -35,6 +35,8 @@ CONFIGURE_ARGS= --with-psl REDUCE_BINS= ${WRKSRC}/pslbuild/${TARGET_SDIR} +OPTIONS_DEFINE= DOCS + .include <bsd.port.options.mk> do-install: diff --git a/math/reduce/Makefile b/math/reduce/Makefile index 957d1328243b..27de2a16d776 100644 --- a/math/reduce/Makefile +++ b/math/reduce/Makefile @@ -44,6 +44,8 @@ LDFLAGS+= `freetype-config --libs` REDUCE_BINS= ${WRKSRC}/cslbuild/${TARGET_SDIR} +OPTIONS_DEFINE= DOCS + .include <bsd.port.options.mk> do-install: diff --git a/math/rocs/Makefile b/math/rocs/Makefile index 2b15e50b0e07..d13c3af89bd5 100644 --- a/math/rocs/Makefile +++ b/math/rocs/Makefile @@ -25,4 +25,6 @@ USE_LDCONFIG= yes # _graphScene->views().at(0)->setRenderHints(QPainter::Antialiasing USE_CXXSTD= gnu++98 +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/math/scalapack/Makefile b/math/scalapack/Makefile index 9a5418791f40..c6a6cca61644 100644 --- a/math/scalapack/Makefile +++ b/math/scalapack/Makefile @@ -32,6 +32,8 @@ EXAMPLESDIR= ${PREFIX}/share/examples/${PORTNAME:tu} SUB_FILES= pkg-message PLIST_SUB= SVERSION=${SVERSION} PORTVERSION=${PORTVERSION} +OPTIONS_DEFINE= DOCS + .include <bsd.port.pre.mk> .if ${PORT_OPTIONS:MDOCS} diff --git a/misc/artikulate/Makefile b/misc/artikulate/Makefile index 48314c630d84..98f91fe9219f 100644 --- a/misc/artikulate/Makefile +++ b/misc/artikulate/Makefile @@ -19,4 +19,6 @@ USE_QT= core dbus gui multimedia network qml quick sql testlib widgets \ buildtools_build qmake_build USE_LDCONFIG= yes +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/misc/elixir-mime/Makefile b/misc/elixir-mime/Makefile index a3373256b69e..2a1612b1b470 100644 --- a/misc/elixir-mime/Makefile +++ b/misc/elixir-mime/Makefile @@ -17,4 +17,6 @@ GH_ACCOUNT= elixir-lang MIX_REWRITE= yes +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/misc/elixir-uuid/Makefile b/misc/elixir-uuid/Makefile index 5cfcdf2f8dee..b7cf2825f656 100644 --- a/misc/elixir-uuid/Makefile +++ b/misc/elixir-uuid/Makefile @@ -16,4 +16,6 @@ GH_ACCOUNT= zyro ELIXIR_APP_NAME=uuid +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/misc/erlang-mimerl/Makefile b/misc/erlang-mimerl/Makefile index 63319acc4b1d..f50951aff412 100644 --- a/misc/erlang-mimerl/Makefile +++ b/misc/erlang-mimerl/Makefile @@ -14,4 +14,6 @@ USES= erlang:rebar3 USE_GITHUB= yes GH_ACCOUNT= benoitc +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/misc/erlang-mimetypes/Makefile b/misc/erlang-mimetypes/Makefile index 79bf86a2afdc..39c9bf76b597 100644 --- a/misc/erlang-mimetypes/Makefile +++ b/misc/erlang-mimetypes/Makefile @@ -14,4 +14,6 @@ USES= erlang:rebar3 USE_GITHUB= yes GH_ACCOUNT= spawngrid +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/misc/kdeedu-data/Makefile b/misc/kdeedu-data/Makefile index 700983b4bdc2..dff312190d21 100644 --- a/misc/kdeedu-data/Makefile +++ b/misc/kdeedu-data/Makefile @@ -18,4 +18,6 @@ USE_QT= buildtools_build qmake_build CMAKE_ARGS= -DCMAKE_DISABLE_FIND_PACKAGE_Qt5Core=TRUE \ -DQMAKE_EXECUTABLE:PATH=${QMAKE} +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/misc/kgeography/Makefile b/misc/kgeography/Makefile index d53a5186ae49..f67228e06268 100644 --- a/misc/kgeography/Makefile +++ b/misc/kgeography/Makefile @@ -13,4 +13,6 @@ USE_KDE= auth codecs config configwidgets coreaddons crash doctools ecm \ USE_QT= core dbus gui widgets xml \ buildtools_build qmake_build +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/misc/klettres/Makefile b/misc/klettres/Makefile index 832f18ae6149..00dc2c26f9ae 100644 --- a/misc/klettres/Makefile +++ b/misc/klettres/Makefile @@ -14,4 +14,6 @@ USE_KDE= attica auth codecs completion config configwidgets coreaddons \ USE_QT= core dbus gui network phonon4 svg widgets xml \ buildtools_build qmake_build +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/misc/ktouch/Makefile b/misc/ktouch/Makefile index 060bc9054eea..99a72b6367b9 100644 --- a/misc/ktouch/Makefile +++ b/misc/ktouch/Makefile @@ -17,4 +17,6 @@ USE_QT= core dbus gui network qml quick script sql testlib widgets \ buildtools_build qmake_build USE_XORG= ice sm x11 xcb xext xkbfile +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/misc/kwordquiz/Makefile b/misc/kwordquiz/Makefile index 86d6b3406ce6..64c60763b79d 100644 --- a/misc/kwordquiz/Makefile +++ b/misc/kwordquiz/Makefile @@ -17,4 +17,6 @@ USE_KDE= attica auth bookmarks codecs completion config configwidgets \ USE_QT= core dbus gui network phonon4 printsupport widgets xml \ buildtools_build qmake_build +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/misc/libkeduvocdocument/Makefile b/misc/libkeduvocdocument/Makefile index 4213eef6d7f0..b4624d4cd9bb 100644 --- a/misc/libkeduvocdocument/Makefile +++ b/misc/libkeduvocdocument/Makefile @@ -12,4 +12,6 @@ USE_KDE= archive config coreaddons ecm i18n kio service USE_QT= core gui xml \ buildtools_build qmake_build +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/misc/parley/Makefile b/misc/parley/Makefile index 413ddd5499c7..f5ee3c8aa3b5 100644 --- a/misc/parley/Makefile +++ b/misc/parley/Makefile @@ -22,4 +22,6 @@ USE_QT= concurrent core dbus gui location network multimedia qml quick \ buildtools_build qmake_build USE_XORG= x11 xrender +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/misc/qbrew/Makefile b/misc/qbrew/Makefile index 540a73b9f94f..912f17190ca2 100644 --- a/misc/qbrew/Makefile +++ b/misc/qbrew/Makefile @@ -19,6 +19,8 @@ QMAKE_ENV+= BINDIR="${PREFIX}/bin" \ DATADIR="${DATADIR}" \ DOCDIR="${DOCSDIR}" +OPTIONS_DEFINE= DOCS + post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/qbrew diff --git a/misc/sloccount/Makefile b/misc/sloccount/Makefile index e16c0435b8ae..0789813c9836 100644 --- a/misc/sloccount/Makefile +++ b/misc/sloccount/Makefile @@ -21,6 +21,8 @@ INSTALL_TARGET= install_programs install_man PORTDOCS= ChangeLog README TODO sloccount.html +OPTIONS_DEFINE= DOCS + post-install: .for file in lexcount1 c_count java_count php_count @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${file} diff --git a/misc/susv2/Makefile b/misc/susv2/Makefile index 2f34848fa66a..26749c2b6737 100644 --- a/misc/susv2/Makefile +++ b/misc/susv2/Makefile @@ -16,6 +16,8 @@ USES= tar:bzip2 NO_BUILD= yes PORTDOCS= * +OPTIONS_DEFINE= DOCS + .include <bsd.port.pre.mk> .if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}) diff --git a/misc/susv3/Makefile b/misc/susv3/Makefile index 23eb460dc3ae..e78307f40341 100644 --- a/misc/susv3/Makefile +++ b/misc/susv3/Makefile @@ -16,6 +16,8 @@ USES= tar:bzip2 NO_BUILD= yes PORTDOCS= * +OPTIONS_DEFINE= DOCS + .include <bsd.port.pre.mk> .if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}) diff --git a/misc/susv4/Makefile b/misc/susv4/Makefile index ea54aac7e40b..6c33773db9bd 100644 --- a/misc/susv4/Makefile +++ b/misc/susv4/Makefile @@ -20,6 +20,8 @@ NO_ARCH= yes NO_BUILD= yes PORTDOCS= * +OPTIONS_DEFINE= DOCS + .include <bsd.port.pre.mk> .if !exists(${DISTDIR}/${DIST_SUBDIR}/${DISTNAME}${EXTRACT_SUFX}) diff --git a/misc/vdmfec/Makefile b/misc/vdmfec/Makefile index 5f084954cb9b..6c6e941a3fe9 100644 --- a/misc/vdmfec/Makefile +++ b/misc/vdmfec/Makefile @@ -24,6 +24,8 @@ PLIST_FILES= bin/vdm_decode \ bin/vdmfec \ man/man1/vdmfec.1.gz +OPTIONS_DEFINE= DOCS + do-install: ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} diff --git a/misc/vifm/Makefile b/misc/vifm/Makefile index e439d03dc42e..c5b79d5d5ef9 100644 --- a/misc/vifm/Makefile +++ b/misc/vifm/Makefile @@ -18,4 +18,6 @@ CONFIGURE_ARGS= --without-gtk USE_GITHUB= yes +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/multimedia/avinfo/Makefile b/multimedia/avinfo/Makefile index 3343ac78dc87..1b5d484e8ba7 100644 --- a/multimedia/avinfo/Makefile +++ b/multimedia/avinfo/Makefile @@ -20,6 +20,8 @@ PLIST_FILES= bin/${PORTNAME} \ PORTDOCS= * +OPTIONS_DEFINE= DOCS + post-patch: @${REINPLACE_CMD} -e '/^CC=/ d; /^CFLAGS=/ d; /^PREFIX=/ d' \ ${WRKSRC}/config.mk diff --git a/multimedia/cheese/Makefile b/multimedia/cheese/Makefile index 36f6cfcee07f..30c17c725e15 100644 --- a/multimedia/cheese/Makefile +++ b/multimedia/cheese/Makefile @@ -39,7 +39,7 @@ DOCS= AUTHORS COPYING ChangeLog NEWS README GLIB_SCHEMAS= org.gnome.Cheese.gschema.xml OPTIONS_SUB= yes -OPTIONS_DEFINE= MANPAGES +OPTIONS_DEFINE= MANPAGES DOCS OPTIONS_DEFAULT=MANPAGES MANPAGES_CONFIGURE_ENABLE= man diff --git a/multimedia/devede/Makefile b/multimedia/devede/Makefile index ad9c9bc1435a..3fb82008f382 100644 --- a/multimedia/devede/Makefile +++ b/multimedia/devede/Makefile @@ -31,7 +31,7 @@ NO_BUILD= yes PORTDOCS= * -OPTIONS_DEFINE= IBUS NLS +OPTIONS_DEFINE= DOCS IBUS NLS OPTIONS_DEFAULT= IBUS OPTIONS_SUB= yes diff --git a/multimedia/dragon/Makefile b/multimedia/dragon/Makefile index c91a7a7dfc54..5583287d6a74 100644 --- a/multimedia/dragon/Makefile +++ b/multimedia/dragon/Makefile @@ -18,4 +18,6 @@ USE_KDE= auth codecs completion config configwidgets coreaddons crash \ USE_QT= core dbus gui network phonon4 widgets xml \ buildtools_build qmake_build +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/multimedia/dvd-slideshow/Makefile b/multimedia/dvd-slideshow/Makefile index c4ba26b8b1af..b4c22a9dc1d6 100644 --- a/multimedia/dvd-slideshow/Makefile +++ b/multimedia/dvd-slideshow/Makefile @@ -28,7 +28,7 @@ RUN_DEPENDS= bash:shells/bash \ NO_BUILD= yes DATADIR= ${PREFIX}/share/apps/${PORTNAME} -OPTIONS_DEFINE= LAME THEMES TOOLAME VORBIS +OPTIONS_DEFINE= DOCS LAME THEMES TOOLAME VORBIS THEMES_DESC= Install optional themes LAME_RUN_DEPENDS= lame:audio/lame diff --git a/multimedia/ffms2/Makefile b/multimedia/ffms2/Makefile index 9e8e6bb6d9bf..6a6f30f3af88 100644 --- a/multimedia/ffms2/Makefile +++ b/multimedia/ffms2/Makefile @@ -28,6 +28,8 @@ INSTALL_TARGET= install-strip USE_LDCONFIG= yes DATADIR= ${PREFIX}/lib/vapoursynth +OPTIONS_DEFINE= DOCS + post-patch: @${REINPLACE_CMD} -e '/^dist_doc_DATA/s,=,& \ doc/${PORTNAME}-vapoursynth.md,' \ diff --git a/multimedia/gpodder/Makefile b/multimedia/gpodder/Makefile index 57db5325195c..219be587bf1e 100644 --- a/multimedia/gpodder/Makefile +++ b/multimedia/gpodder/Makefile @@ -21,7 +21,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlite3>=0:databases/py-sqlite3@${PY_FLAVOR} ${PYTHON_PKGNAMEPREFIX}dbus>=0:devel/py-dbus@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}eyed3>=0:audio/py-eyed3@${PY_FLAVOR} -OPTIONS_DEFINE= GTK2 NOTIFY MUTAGEN OGG2MP3 +OPTIONS_DEFINE= GTK2 NOTIFY MUTAGEN OGG2MP3 DOCS OPTIONS_DEFAULT= GTK2 OPTIONS_SUB= yes MUTAGEN_DESC= Allow metadata manipulation diff --git a/multimedia/kamoso/Makefile b/multimedia/kamoso/Makefile index 8106239e54fc..f4eca119ba3d 100644 --- a/multimedia/kamoso/Makefile +++ b/multimedia/kamoso/Makefile @@ -18,4 +18,6 @@ USE_KDE= auth bookmarks codecs completion config configwidgets \ USE_QT= core dbus gui network qml quick widgets xml \ buildtools_build qmake_build +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/multimedia/kdemultimedia-ffmpegthumbs/Makefile b/multimedia/kdemultimedia-ffmpegthumbs/Makefile index 7906c3163b4a..7ddb4afe656f 100644 --- a/multimedia/kdemultimedia-ffmpegthumbs/Makefile +++ b/multimedia/kdemultimedia-ffmpegthumbs/Makefile @@ -17,4 +17,6 @@ USE_KDE= completion config coreaddons i18n jobwidgets kio service widgetsaddons USE_QT= core dbus gui network widgets xml \ buildtools_build qmake_build +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/multimedia/kdenlive/Makefile b/multimedia/kdenlive/Makefile index 0d845adbe698..bca3c2bfbdff 100644 --- a/multimedia/kdenlive/Makefile +++ b/multimedia/kdenlive/Makefile @@ -33,7 +33,7 @@ CMAKE_ARGS= -DFFMPEG_SUFFIX:STRING="${FFMPEG_SUFX}" # Keep in sync with multimedia/mlt, possibly. FFMPEG_SUFX= # Currently empty. -OPTIONS_DEFINE= DVDWIZARD FREI0R LADSPA SCREENCAST V4L XINE +OPTIONS_DEFINE= DVDWIZARD FREI0R LADSPA SCREENCAST V4L XINE DOCS OPTIONS_DEFAULT=DVDWIZARD FREI0R LADSPA SCREENCAST V4L XINE OPTIONS_SUB= yes diff --git a/multimedia/kvazaar/Makefile b/multimedia/kvazaar/Makefile index 99cbc8477e21..6ca84abfce12 100644 --- a/multimedia/kvazaar/Makefile +++ b/multimedia/kvazaar/Makefile @@ -29,7 +29,7 @@ TEST_TARGET= check INSTALL_TARGET= install-strip USE_LDCONFIG= yes -OPTIONS_DEFINE= ASM CRYPTOPP +OPTIONS_DEFINE= ASM CRYPTOPP DOCS OPTIONS_DEFAULT=ASM ASM_BUILD_DEPENDS= ${ASM_BUILD_DEPENDS_${ARCH}} diff --git a/multimedia/libdvdnav/Makefile b/multimedia/libdvdnav/Makefile index 4d0bdbf56dc8..f407442bedd9 100644 --- a/multimedia/libdvdnav/Makefile +++ b/multimedia/libdvdnav/Makefile @@ -23,4 +23,6 @@ USE_LDCONFIG= yes PORTDOCS= AUTHORS COPYING ChangeLog README TODO +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/multimedia/libdvdread/Makefile b/multimedia/libdvdread/Makefile index 090c3720709b..0fc9b3bada54 100644 --- a/multimedia/libdvdread/Makefile +++ b/multimedia/libdvdread/Makefile @@ -21,7 +21,7 @@ USE_LDCONFIG= yes PORTDOCS= AUTHORS COPYING ChangeLog NEWS README TODO -OPTIONS_DEFINE= DVDCSS +OPTIONS_DEFINE= DVDCSS DOCS .if !defined(PACKAGE_BUILDING) OPTIONS_DEFAULT= DVDCSS .endif diff --git a/multimedia/linux-c6-libtheora/Makefile b/multimedia/linux-c6-libtheora/Makefile index 3cdef9b8bf0b..d59a3a716d76 100644 --- a/multimedia/linux-c6-libtheora/Makefile +++ b/multimedia/linux-c6-libtheora/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/multimedia/linux-c6-libv4l/Makefile b/multimedia/linux-c6-libv4l/Makefile index cda377f15c93..0caabd0c7699 100644 --- a/multimedia/linux-c6-libv4l/Makefile +++ b/multimedia/linux-c6-libv4l/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/multimedia/linux-c7-libtheora/Makefile b/multimedia/linux-c7-libtheora/Makefile index f513bd00a9d8..2085d50bf50e 100644 --- a/multimedia/linux-c7-libtheora/Makefile +++ b/multimedia/linux-c7-libtheora/Makefile @@ -19,4 +19,6 @@ USES= linux:c7 USE_LDCONFIG= yes USE_LINUX_RPM= yes +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/multimedia/linux-c7-libv4l/Makefile b/multimedia/linux-c7-libv4l/Makefile index 7cd889b2cf5b..2432339b9035 100644 --- a/multimedia/linux-c7-libv4l/Makefile +++ b/multimedia/linux-c7-libv4l/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/multimedia/mpc-qt/Makefile b/multimedia/mpc-qt/Makefile index 02c31959c1a0..78b3fa203004 100644 --- a/multimedia/mpc-qt/Makefile +++ b/multimedia/mpc-qt/Makefile @@ -24,4 +24,6 @@ USE_GL= gl CXXFLAGS+= -D_GLIBCXX_USE_C99 -D_GLIBCXX_USE_C99_MATH_TR1 \ -D_DECLARE_C99_LDBL_MATH # XXX ports/193528 +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/multimedia/sms1xxx-kmod/Makefile b/multimedia/sms1xxx-kmod/Makefile index 4b8749534d88..0811e7ef61f1 100644 --- a/multimedia/sms1xxx-kmod/Makefile +++ b/multimedia/sms1xxx-kmod/Makefile @@ -22,7 +22,7 @@ WRKSRC= ${WRKDIR}/siano-${PORTVERSION} NO_PACKAGE= should be recompiled for a particular FreeBSD kernel NO_OPTIONS_SORT= yes -OPTIONS_DEFINE= RC5WATCH DEBUG +OPTIONS_DEFINE= DOCS RC5WATCH DEBUG OPTIONS_MULTI= FIRMWARE OPTIONS_MULTI_FIRMWARE= STELLAR NOVA OPTIONS_DEFAULT= RC5WATCH NOVA diff --git a/multimedia/vapoursynth-l-smash-works/Makefile b/multimedia/vapoursynth-l-smash-works/Makefile index 3efaec5a87c8..cbecf92a31bb 100644 --- a/multimedia/vapoursynth-l-smash-works/Makefile +++ b/multimedia/vapoursynth-l-smash-works/Makefile @@ -45,6 +45,8 @@ PLIST_FILES= lib/libvslsmashsource.so.${PORTVERSION:E} \ %%DATADIR%%/libvslsmashsource.so PORTDOCS= README +OPTIONS_DEFINE= DOCS + post-patch: @${REINPLACE_CMD} -Ee '/CROSS/!s/^(CC|LD|REV|HASH)=.*/: $${&}/' \ -e 's/pushd/cd/; s/popd/cd -/' \ diff --git a/multimedia/winff/Makefile b/multimedia/winff/Makefile index 5ede31e7eacf..a0762546fe84 100644 --- a/multimedia/winff/Makefile +++ b/multimedia/winff/Makefile @@ -46,6 +46,8 @@ USE_GNOME+= cairo INSTALLS_ICONS=yes .endif +OPTIONS_DEFINE= DOCS + pre-configure: ${REINPLACE_CMD} -e 's|/usr/share|${PREFIX}/share|g' ${BUILD_WRKSRC}/unit1.pas .for fp in unit1.pas unit4.pas scripts/check_presets.sh diff --git a/net-im/centerim-devel/Makefile b/net-im/centerim-devel/Makefile index 29e71591b30d..38402c1b504e 100644 --- a/net-im/centerim-devel/Makefile +++ b/net-im/centerim-devel/Makefile @@ -29,7 +29,7 @@ SHEBANG_LANG= gawk gawk_OLD_CMD= /bin/gawk gawk_CMD= /usr/bin/awk -OPTIONS_DEFINE= NLS MULTIBYTE FRIBIDI MSN YAHOO IRC JABBER GPGME RSS LJ GG +OPTIONS_DEFINE= NLS MULTIBYTE FRIBIDI MSN YAHOO IRC JABBER GPGME RSS LJ GG DOCS FRIBIDI_DESC= Fribidi Support MSN_DESC= MSN Protocol diff --git a/net-im/centerim/Makefile b/net-im/centerim/Makefile index 3e87f9d199d4..d372b0b3138d 100644 --- a/net-im/centerim/Makefile +++ b/net-im/centerim/Makefile @@ -29,7 +29,7 @@ SHEBANG_FILES= misc/CenterIMLog2HTML.py misc/cimformathistory misc/cimextracthis gawk_OLD_CMD= /bin/gawk gawk_CMD= /usr/bin/awk -OPTIONS_DEFINE= NLS MULTIBYTE FRIBIDI MSN YAHOO IRC JABBER GPGME RSS LJ GG +OPTIONS_DEFINE= NLS MULTIBYTE FRIBIDI MSN YAHOO IRC JABBER GPGME RSS LJ GG DOCS FRIBIDI_DESC= Fribidi Support MSN_DESC= MSN Protocol diff --git a/net-im/kaccounts-integration/Makefile b/net-im/kaccounts-integration/Makefile index d5cbfbdc9ae4..1961b0612e78 100644 --- a/net-im/kaccounts-integration/Makefile +++ b/net-im/kaccounts-integration/Makefile @@ -21,4 +21,6 @@ USE_KDE= auth codecs config configwidgets coreaddons dbusaddons ecm \ USE_QT= dbus core gui network qml widgets xml \ buildtools_build qmake_build +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/net-im/kaccounts-providers/Makefile b/net-im/kaccounts-providers/Makefile index 6b423a4e34ec..96165e0508ea 100644 --- a/net-im/kaccounts-providers/Makefile +++ b/net-im/kaccounts-providers/Makefile @@ -18,6 +18,8 @@ USE_KDE= config coreaddons i18n kdeclarative kio package service USE_QT= core gui network qml xml \ buildtools_build qmake_build +OPTIONS_DEFINE= DOCS + #install to ${LOCALBASE}: pre-configure: ${REINPLACE_CMD} -e 's,/etc,${PREFIX}/etc,' \ diff --git a/net-im/kopete/Makefile b/net-im/kopete/Makefile index 5dcac3bdb59c..2f604b7fb422 100644 --- a/net-im/kopete/Makefile +++ b/net-im/kopete/Makefile @@ -34,4 +34,6 @@ SHEBANG_FILES= protocols/winpopup/winpopup-install \ protocols/winpopup/winpopup-send \ kopete/kconf_update/*.pl +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/net-im/ktp-accounts-kcm/Makefile b/net-im/ktp-accounts-kcm/Makefile index c710ee9abc62..bc9c58654ce8 100644 --- a/net-im/ktp-accounts-kcm/Makefile +++ b/net-im/ktp-accounts-kcm/Makefile @@ -27,7 +27,7 @@ USE_QT= core dbus gui network qml sql widgets xml \ buildtools_build qmake_build USE_LDCONFIG= yes -OPTIONS_DEFINE= HAZE IRC JABBER SALUT +OPTIONS_DEFINE= HAZE IRC JABBER SALUT DOCS OPTIONS_DEFAULT=JABBER HAZE_DESC= libpurple protocols support diff --git a/net-im/ktp-approver/Makefile b/net-im/ktp-approver/Makefile index f2aa6a6a371a..1362ea87d920 100644 --- a/net-im/ktp-approver/Makefile +++ b/net-im/ktp-approver/Makefile @@ -16,4 +16,6 @@ USE_KDE= config coreaddons ecm dbusaddons service i18n notifications USE_QT= core dbus gui network widgets xml \ buildtools_build qmake_build +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/net-im/ktp-auth-handler/Makefile b/net-im/ktp-auth-handler/Makefile index 530106515197..faa51062d6d3 100644 --- a/net-im/ktp-auth-handler/Makefile +++ b/net-im/ktp-auth-handler/Makefile @@ -20,4 +20,6 @@ USE_KDE= completion config coreaddons ecm i18n jobwidgets kdewebkit \ USE_QT= core dbus gui network webkit widgets xml \ buildtools_build qmake_build +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/net-im/ktp-call-ui/Makefile b/net-im/ktp-call-ui/Makefile index 259fa9ec9848..290e61ba7d18 100644 --- a/net-im/ktp-call-ui/Makefile +++ b/net-im/ktp-call-ui/Makefile @@ -25,4 +25,6 @@ USE_QT= core dbus gui network qml quick widgets xml \ buildtools_build qmake_build USE_LDCONFIG= yes +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/net-im/ktp-common-internals/Makefile b/net-im/ktp-common-internals/Makefile index 60644a228215..0de901f12ec8 100644 --- a/net-im/ktp-common-internals/Makefile +++ b/net-im/ktp-common-internals/Makefile @@ -27,4 +27,6 @@ USE_QT= core dbus gui network qml sql widgets xml \ buildtools_build qmake_build USE_LDCONFIG= yes +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/net-im/ktp-contact-list/Makefile b/net-im/ktp-contact-list/Makefile index ad30cd9300d6..73ac7955a3b5 100644 --- a/net-im/ktp-contact-list/Makefile +++ b/net-im/ktp-contact-list/Makefile @@ -19,4 +19,6 @@ USE_KDE= auth codecs completion config configwidgets coreaddons \ USE_QT= core dbus gui network widgets xml \ buildtools_build qmake_build +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/net-im/ktp-contact-runner/Makefile b/net-im/ktp-contact-runner/Makefile index ab3afb7859ec..8ad683526983 100644 --- a/net-im/ktp-contact-runner/Makefile +++ b/net-im/ktp-contact-runner/Makefile @@ -16,4 +16,6 @@ USE_KDE= config coreaddons ecm i18n package plasma-framework runner \ USE_QT= core dbus gui network widgets xml\ buildtools_build qmake_build +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/net-im/ktp-desktop-applets/Makefile b/net-im/ktp-desktop-applets/Makefile index 9794bdfd8dcc..1c683762933e 100644 --- a/net-im/ktp-desktop-applets/Makefile +++ b/net-im/ktp-desktop-applets/Makefile @@ -14,4 +14,6 @@ USE_KDE= ecm plasma-framework windowsystem USE_QT= core dbus gui network qml widgets \ buildtools_build qmake_build +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/net-im/ktp-filetransfer-handler/Makefile b/net-im/ktp-filetransfer-handler/Makefile index 507df8f28dc4..99b2471d00d9 100644 --- a/net-im/ktp-filetransfer-handler/Makefile +++ b/net-im/ktp-filetransfer-handler/Makefile @@ -17,4 +17,6 @@ USE_KDE= auth bookmarks codecs completion config configwidgets \ USE_QT= core dbus gui network xml widgets \ buildtools_build qmake_build +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/net-im/ktp-kded-module/Makefile b/net-im/ktp-kded-module/Makefile index 9614ef704e3e..74c55782fbd3 100644 --- a/net-im/ktp-kded-module/Makefile +++ b/net-im/ktp-kded-module/Makefile @@ -17,4 +17,6 @@ USE_KDE= activities auth codecs completion config configwidgets coreaddons \ USE_QT= concurrent core dbus gui network sql widgets xml \ buildtools_build qmake_build +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/net-im/ktp-send-file/Makefile b/net-im/ktp-send-file/Makefile index cab72ca872ff..12eff9f09f55 100644 --- a/net-im/ktp-send-file/Makefile +++ b/net-im/ktp-send-file/Makefile @@ -19,4 +19,6 @@ USE_KDE= auth codecs completion config configwidgets coreaddons ecm \ USE_QT= core dbus gui network widgets xml \ buildtools_build qmake_build +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/net-im/ktp-text-ui/Makefile b/net-im/ktp-text-ui/Makefile index f169825ef22e..85aeb6835ab9 100644 --- a/net-im/ktp-text-ui/Makefile +++ b/net-im/ktp-text-ui/Makefile @@ -23,4 +23,6 @@ USE_QT= core dbus gui location network qml quick speech webchannel \ buildtools_build qmake_build USE_LDCONFIG= yes +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/net-im/prosody-modules/Makefile b/net-im/prosody-modules/Makefile index 31dff4e878b5..dcadf1ccec5e 100644 --- a/net-im/prosody-modules/Makefile +++ b/net-im/prosody-modules/Makefile @@ -23,6 +23,8 @@ PLIST_SUB= INSTALLPATH=${INSTALLPATH} WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTNAME} INSTALLPATH= ${PREFIX}/lib/${PORTNAME} +OPTIONS_DEFINE= DOCS + do-install: ${MKDIR} ${STAGEDIR}${INSTALLPATH} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} mod_*/*.lua ${STAGEDIR}${INSTALLPATH} diff --git a/net-im/sayaka/Makefile b/net-im/sayaka/Makefile index f306d326d848..8e837cb0fc20 100644 --- a/net-im/sayaka/Makefile +++ b/net-im/sayaka/Makefile @@ -22,7 +22,7 @@ PORTDOCS= README.md WRKSRC_SUBDIR= vala -OPTIONS_DEFINE= COLORMAP +OPTIONS_DEFINE= COLORMAP DOCS OPTIONS_DEFAULT=COLORMAP OPTIONS_SUB= yes diff --git a/net-im/skype-devel/Makefile b/net-im/skype-devel/Makefile index 257fee4403e2..7da7354e4227 100644 --- a/net-im/skype-devel/Makefile +++ b/net-im/skype-devel/Makefile @@ -14,7 +14,7 @@ COMMENT= P2P VoIP software, development version CONFLICTS= skype-[0-9]* -OPTIONS_DEFINE= VIDEO +OPTIONS_DEFINE= DOCS VIDEO OPTIONS_DEFAULT=VIDEO VIDEO_DESC= [broken] Video support diff --git a/net-im/skype/Makefile b/net-im/skype/Makefile index a91cba9cc398..7b334f0af19e 100644 --- a/net-im/skype/Makefile +++ b/net-im/skype/Makefile @@ -14,7 +14,7 @@ COMMENT= P2P VoIP software CONFLICTS= skype-devel-[0-9]* -OPTIONS_DEFINE= VIDEO +OPTIONS_DEFINE= DOCS VIDEO OPTIONS_DEFAULT=VIDEO NO_BUILD= yes diff --git a/net-im/skype4/Makefile b/net-im/skype4/Makefile index f1c6a5a71329..f8fda8f48077 100644 --- a/net-im/skype4/Makefile +++ b/net-im/skype4/Makefile @@ -16,7 +16,7 @@ RUN_DEPENDS= ${LINUXBASE}/lib/skype_oss_wrapper/libpulse.so.0:audio/linux-skype_ CONFLICTS= skype-devel-[0-9]* -OPTIONS_DEFINE= VIDEO +OPTIONS_DEFINE= DOCS VIDEO OPTIONS_DEFAULT=VIDEO NO_BUILD= yes diff --git a/net-im/talkatu/Makefile b/net-im/talkatu/Makefile index bf9f7d0b13b9..798d30546e02 100644 --- a/net-im/talkatu/Makefile +++ b/net-im/talkatu/Makefile @@ -22,4 +22,6 @@ USE_LDCONFIG= yes MESON_ARGS= -Dgobject-introspection=false WRKSRC= ${WRKDIR}/rw_grim-talkatu-${DISTNAME} +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/net-im/telegram/Makefile b/net-im/telegram/Makefile index 6161cc855e14..9283d5b85e85 100644 --- a/net-im/telegram/Makefile +++ b/net-im/telegram/Makefile @@ -33,6 +33,8 @@ PLIST_FILES= bin/telegram-cli \ etc/telegram-cli/server.pub PORTDOCS= * +OPTIONS_DEFINE= DOCS + do-install: @${MKDIR} ${STAGEDIR}${PREFIX}/etc/telegram-cli ${INSTALL_PROGRAM} ${WRKSRC}/bin/telegram-cli ${STAGEDIR}${PREFIX}/bin diff --git a/net-im/vacuum-im/Makefile b/net-im/vacuum-im/Makefile index e72b78352727..0bcbca5466ae 100644 --- a/net-im/vacuum-im/Makefile +++ b/net-im/vacuum-im/Makefile @@ -29,4 +29,6 @@ DESKTOP_ENTRIES="Vacuum-IM" "Modular, crossplatform Jabber client" \ "${PREFIX}/share/pixmaps/vacuum.png" "${PORTNAME}" \ "Qt;Network;InstantMessaging;" false +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/net-mgmt/adcli/Makefile b/net-mgmt/adcli/Makefile index a04e13cac701..b8b7284ed816 100644 --- a/net-mgmt/adcli/Makefile +++ b/net-mgmt/adcli/Makefile @@ -20,6 +20,7 @@ BUILD_DEPENDS= xsltproc:textproc/libxslt \ GNU_CONFIGURE= yes TEST_TARGET= check +OPTIONS_DEFINE= DOCS OPTIONS_SINGLE= GSSAPI OPTIONS_SINGLE_GSSAPI= GSSAPI_BASE GSSAPI_HEIMDAL GSSAPI_MIT OPTIONS_DEFAULT= GSSAPI_BASE diff --git a/net-mgmt/dnsmap/Makefile b/net-mgmt/dnsmap/Makefile index e9a25768c032..1e9ca285d572 100644 --- a/net-mgmt/dnsmap/Makefile +++ b/net-mgmt/dnsmap/Makefile @@ -19,6 +19,8 @@ PORTDOCS= Changelog.txt README.txt CREDITS.txt use_cases.txt PLIST_FILES= bin/dnsmap bin/dnsmap-bulk ${DATADIR}/wordlist_TLAs.txt +OPTIONS_DEFINE= DOCS + do-build: ${CC} ${CFLAGS} ${WRKSRC}/dnsmap.c -o ${WRKSRC}/dnsmap diff --git a/net-mgmt/driftnet/Makefile b/net-mgmt/driftnet/Makefile index f3510ada8451..28c4b2d74609 100644 --- a/net-mgmt/driftnet/Makefile +++ b/net-mgmt/driftnet/Makefile @@ -29,4 +29,6 @@ PORTDOCS= * INSTALL_TARGET= install-strip +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/net-mgmt/fetchconfig/Makefile b/net-mgmt/fetchconfig/Makefile index dd87340545cd..503853b3b925 100644 --- a/net-mgmt/fetchconfig/Makefile +++ b/net-mgmt/fetchconfig/Makefile @@ -31,6 +31,8 @@ MODULES= model/3ComMSR.pm model/Abstract.pm model/Acme.pm \ model/TellabsMSR.pm model/Terayon.pm Constants.pm Logger.pm PORTDOCS= CHANGES README device_table.example +OPTIONS_DEFINE= DOCS + do-install: ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.pl \ ${STAGEDIR}${PREFIX}/bin/${PORTNAME} diff --git a/net-mgmt/hastmon/Makefile b/net-mgmt/hastmon/Makefile index aeb1ac91d477..10d7112a7133 100644 --- a/net-mgmt/hastmon/Makefile +++ b/net-mgmt/hastmon/Makefile @@ -21,6 +21,8 @@ INSTALL_TARGET= installdirs install PORTDOCS= ChangeLog COPYRIGHT README +OPTIONS_DEFINE= DOCS + post-patch: ${REINPLACE_CMD} \ -e "s|\(-lcrypto\)|-L${OPENSSLLIB} \1|g" \ diff --git a/net-mgmt/iftop/Makefile b/net-mgmt/iftop/Makefile index 4c015ab6e554..63be88d437ea 100644 --- a/net-mgmt/iftop/Makefile +++ b/net-mgmt/iftop/Makefile @@ -17,6 +17,8 @@ GNU_CONFIGURE= yes PORTDOCS= README PLIST_FILES= sbin/iftop man/man8/iftop.8.gz +OPTIONS_DEFINE= DOCS + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/sbin ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.8 ${STAGEDIR}${MANPREFIX}/man/man8 diff --git a/net-mgmt/nsca-ng/Makefile b/net-mgmt/nsca-ng/Makefile index 807549e76167..5b67eebbce36 100644 --- a/net-mgmt/nsca-ng/Makefile +++ b/net-mgmt/nsca-ng/Makefile @@ -33,6 +33,8 @@ CONFIGURE_ARGS+= --enable-server PORTDOCS= NEWS COPYING README PROTOCOL TODO +OPTIONS_DEFINE= DOCS + .include <bsd.port.pre.mk> .if ${SSL_DEFAULT:Mlibressl*} diff --git a/net-mgmt/p5-Monitoring-Plugin/Makefile b/net-mgmt/p5-Monitoring-Plugin/Makefile index f0bad744cd14..d28299bd3411 100644 --- a/net-mgmt/p5-Monitoring-Plugin/Makefile +++ b/net-mgmt/p5-Monitoring-Plugin/Makefile @@ -25,6 +25,8 @@ USE_PERL5= configure PORTDOCS= Changes README +OPTIONS_DEFINE= DOCS + post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} @${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} diff --git a/net-mgmt/p5-Nagios-Plugin/Makefile b/net-mgmt/p5-Nagios-Plugin/Makefile index d332b198707b..a5e183223756 100644 --- a/net-mgmt/p5-Nagios-Plugin/Makefile +++ b/net-mgmt/p5-Nagios-Plugin/Makefile @@ -23,6 +23,8 @@ USE_PERL5= configure PORTDOCS= Changes README +OPTIONS_DEFINE= DOCS + post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} @${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} diff --git a/net-mgmt/py-snmp4/Makefile b/net-mgmt/py-snmp4/Makefile index 2dd51a9abb88..82a9a49f3e84 100644 --- a/net-mgmt/py-snmp4/Makefile +++ b/net-mgmt/py-snmp4/Makefile @@ -28,6 +28,8 @@ DOCSDIR= ${PREFIX}/share/doc/${PYTHON_PKGNAMEPREFIX}${PORTNAME} PORTDOCS= * PORTEXAMPLES= * +OPTIONS_DEFINE= DOCS + post-install: ${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC}/docs/source/docs && \ diff --git a/net-p2p/cpuminer/Makefile b/net-p2p/cpuminer/Makefile index 0ef07ca21bbe..dd6f212f4e7c 100644 --- a/net-p2p/cpuminer/Makefile +++ b/net-p2p/cpuminer/Makefile @@ -16,7 +16,7 @@ LICENSE= GPLv2 LIB_DEPENDS= libcurl.so:ftp/curl \ libjansson.so:devel/jansson -OPTIONS_DEFINE= GCC +OPTIONS_DEFINE= GCC DOCS OPTIONS_DEFAULT=GCC USES= autoreconf cpe diff --git a/net-p2p/libswift/Makefile b/net-p2p/libswift/Makefile index 54d3d54a2609..2b6798c4d2ab 100644 --- a/net-p2p/libswift/Makefile +++ b/net-p2p/libswift/Makefile @@ -43,6 +43,8 @@ SWIFT_PIDDIR= /var/run/${PORTNAME}/ USE_RC_SUBR= ${PORTNAME} +OPTIONS_DEFINE= DOCS + do-install: ${MKDIR} ${STAGEDIR}${DOCSDIR} \ ${STAGEDIR}${SWIFT_SHAREDIR} \ diff --git a/net-p2p/linuxdcpp/Makefile b/net-p2p/linuxdcpp/Makefile index b70ebf70708f..4ba454ff8cb9 100644 --- a/net-p2p/linuxdcpp/Makefile +++ b/net-p2p/linuxdcpp/Makefile @@ -19,7 +19,7 @@ USE_GNOME= libglade2 PORTDOCS= * DESTDIRNAME= FAKE_ROOT -OPTIONS_DEFINE= NOTIFY +OPTIONS_DEFINE= NOTIFY DOCS OPTIONS_DEFAULT=NOTIFY .if defined(WITH_DEBUG) 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> diff --git a/news/husky-fidoconf/Makefile b/news/husky-fidoconf/Makefile index dd258c6972f7..69979a3c609a 100644 --- a/news/husky-fidoconf/Makefile +++ b/news/husky-fidoconf/Makefile @@ -20,6 +20,8 @@ PORTDOCS= fidoconfig.html DOCSDIR= ${PREFIX}/share/doc/husky INFO= fidoconfig +OPTIONS_DEFINE= DOCS + post-patch: ${REINPLACE_CMD} -e 's^/path/to/config^${PREFIX}/etc/fido/config^' \ ${WRKSRC}/man/linkedto.1 diff --git a/news/husky-hpt/Makefile b/news/husky-hpt/Makefile index 2f5b7bc5772b..f2710179d071 100644 --- a/news/husky-hpt/Makefile +++ b/news/husky-hpt/Makefile @@ -15,6 +15,8 @@ INFO= hpt MASTERDIR= ${.CURDIR}/../husky COMPONENT_SUBDIR= hpt +OPTIONS_DEFINE= DOCS + post-patch: ${REINPLACE_CMD} -e 's^/path/to/config^${PREFIX}/etc/fido/config^' \ ${WRKSRC}/man/hptlink.1 diff --git a/news/husky-htick/Makefile b/news/husky-htick/Makefile index 6a9a8741c6c4..17fe85c0b66f 100644 --- a/news/husky-htick/Makefile +++ b/news/husky-htick/Makefile @@ -23,6 +23,8 @@ PORTDOCS= htick.html DOCSDIR= ${PREFIX}/share/doc/husky INFO= htick +OPTIONS_DEFINE= DOCS + post-patch: ${REINPLACE_CMD} -e 's^/fido/etc/config^${PREFIX}/etc/fido/config^' \ ${WRKSRC}/man/htick.1 diff --git a/news/husky-huskylib/Makefile b/news/husky-huskylib/Makefile index 8df055464560..00fe96816a93 100644 --- a/news/husky-huskylib/Makefile +++ b/news/husky-huskylib/Makefile @@ -10,4 +10,6 @@ USE_LDCONFIG= yes MASTERDIR= ${.CURDIR}/../husky COMPONENT_SUBDIR= huskylib +OPTIONS_DEFINE= DOCS + .include "${MASTERDIR}/Makefile" diff --git a/news/inn/Makefile b/news/inn/Makefile index e74ac9943ef6..cf0a32a84e37 100644 --- a/news/inn/Makefile +++ b/news/inn/Makefile @@ -24,7 +24,7 @@ CONFLICTS?= inn-stable-[0-9]* inn-current-[0-9]* OPTIONS_DEFINE= BERKELEYDB GNUPG KERBEROS SASL KEYWORDS \ LARGE_FILES OPENSSL SETGID_INEWS TAGGED_HASH \ - UUCP_RNEWS + UUCP_RNEWS DOCS OPTIONS_DEFAULT= BERKELEYDB GNUPG KEYWORDS OPENSSL LARGE_FILES \ SETGID_INEW UUCP_RNEWS OPTIONS_SUB= yes diff --git a/news/mail2nntp/Makefile b/news/mail2nntp/Makefile index 5143946934bf..36ff8d19fa23 100644 --- a/news/mail2nntp/Makefile +++ b/news/mail2nntp/Makefile @@ -21,6 +21,8 @@ SHEBANG_FILES= mail2nntp.pl PORTDOCS= * PLIST_FILES= bin/mail2nntp.pl +OPTIONS_DEFINE= DOCS + do-install: ${INSTALL_SCRIPT} ${WRKSRC}/mail2nntp.pl ${STAGEDIR}${PREFIX}/bin @${MKDIR} ${STAGEDIR}${DOCSDIR} diff --git a/polish/qfaktury/Makefile b/polish/qfaktury/Makefile index 9c794c9f54d1..3468a4d6f94d 100644 --- a/polish/qfaktury/Makefile +++ b/polish/qfaktury/Makefile @@ -15,6 +15,8 @@ USE_QT= uic_build moc_build rcc_build corelib gui xml qt3support PORTDOCS= ChangeLog.txt ReadMe.txt ReleaseNotes.txt TODO.txt +OPTIONS_DEFINE= DOCS + post-patch: @cd ${WRKSRC} && ${REINPLACE_CMD} -e 's|@PREFIX@|${PREFIX}|g' qfaktury.pro \ QFaktury.desktop diff --git a/ports-mgmt/bsdadminscripts2/Makefile b/ports-mgmt/bsdadminscripts2/Makefile index 9bc6f618f712..99d587035fc2 100644 --- a/ports-mgmt/bsdadminscripts2/Makefile +++ b/ports-mgmt/bsdadminscripts2/Makefile @@ -19,6 +19,8 @@ NO_ARCH= yes CONFLICTS_INSTALL= bsdadminscripts +OPTIONS_DEFINE= DOCS + do-install: @cd ${WRKSRC} && ${SH} install.sh \ -destdir="${STAGEDIR}" -prefix="${PREFIX}" \ diff --git a/ports-mgmt/pkg-devel/Makefile b/ports-mgmt/pkg-devel/Makefile index 626ddc13b341..414c94434874 100644 --- a/ports-mgmt/pkg-devel/Makefile +++ b/ports-mgmt/pkg-devel/Makefile @@ -27,6 +27,8 @@ CONFIGURE_ARGS= --mandir=${PREFIX}/man # so that pkg-static is used from the wrkdir USE_SUBMAKE= yes +OPTIONS_DEFINE= DOCS + .if !exists(/usr/include/jail.h) EXTRA_PATCHES= ${FILESDIR}/extra-patch-docs_pkg.8 .endif diff --git a/ports-mgmt/pkg/Makefile b/ports-mgmt/pkg/Makefile index fddf0a1d922e..36ac998733da 100644 --- a/ports-mgmt/pkg/Makefile +++ b/ports-mgmt/pkg/Makefile @@ -28,6 +28,8 @@ PORTSCOUT= ignore:1 USE_SUBMAKE= yes CFLAGS+= -Wno-error +OPTIONS_DEFINE= DOCS + .if !exists(/usr/include/jail.h) EXTRA_PATCHES= ${FILESDIR}/extra-patch-docs_pkg.8 .endif @@ -79,9 +81,11 @@ PKG_BIN= ${WRKSRC}/src/pkg-static .endif post-install: - @${MKDIR} ${STAGEDIR}${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/NEWS ${STAGEDIR}${DOCSDIR}/NEWS @${MV} ${STAGEDIR}${PREFIX}/lib/libpkg_static.a \ ${STAGEDIR}${PREFIX}/lib/libpkg.a +post-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/NEWS ${STAGEDIR}${DOCSDIR}/NEWS + .include <bsd.port.post.mk> diff --git a/ports-mgmt/pkgcompare/Makefile b/ports-mgmt/pkgcompare/Makefile index 90cd2d0407de..d3d227b19669 100644 --- a/ports-mgmt/pkgcompare/Makefile +++ b/ports-mgmt/pkgcompare/Makefile @@ -28,6 +28,8 @@ PLIST_FILES= man/man8/pkg-compare.8.gz \ sbin/pkg-compare SUB_FILES= pkg-message +OPTIONS_DEFINE= DOCS + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${BINARY} ${STAGEDIR}${PREFIX}/sbin ${INSTALL_MAN} ${WRKSRC}/pkg-compare.8 \ diff --git a/ports-mgmt/portell/Makefile b/ports-mgmt/portell/Makefile index 064739c70ceb..51485dc30971 100644 --- a/ports-mgmt/portell/Makefile +++ b/ports-mgmt/portell/Makefile @@ -19,6 +19,8 @@ NO_BUILD= yes PLIST_FILES= bin/portell PORTDOCS= README.txt +OPTIONS_DEFINE= DOCS + post-extract: ${REINPLACE_CMD} -e 's/[[:cntrl:]]*$$//' ${WRKSRC}/portell.py ${REINPLACE_CMD} -e 's/free/freebsd/' ${WRKSRC}/portell.py diff --git a/print/linux-c7-cups-libs/Makefile b/print/linux-c7-cups-libs/Makefile index 29e053c31aa4..9fd458087c49 100644 --- a/print/linux-c7-cups-libs/Makefile +++ b/print/linux-c7-cups-libs/Makefile @@ -22,4 +22,6 @@ USE_LDCONFIG= yes USE_LINUX= avahi-libs openssl USE_LINUX_RPM= yes +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/print/linux-c7-harfbuzz/Makefile b/print/linux-c7-harfbuzz/Makefile index ca26434b0280..6c76554216ad 100644 --- a/print/linux-c7-harfbuzz/Makefile +++ b/print/linux-c7-harfbuzz/Makefile @@ -14,4 +14,6 @@ USE_LDCONFIG= yes USE_LINUX= graphite2 USE_LINUX_RPM= yes +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/print/muttprint/Makefile b/print/muttprint/Makefile index 407f6102fb5b..19ff530e11a4 100644 --- a/print/muttprint/Makefile +++ b/print/muttprint/Makefile @@ -26,7 +26,7 @@ USE_TEX= latex dvipsk NO_BUILD= yes REINPLACE_ARGS= -i "" -OPTIONS_DEFINE= CUPS X11 +OPTIONS_DEFINE= CUPS X11 DOCS OPTIONS_DEFAULT= X11 X11_DESC= graphics/ImageMagick[-nox11] dependency diff --git a/print/pdflib/Makefile b/print/pdflib/Makefile index 1efb64137991..14bb85c69cc5 100644 --- a/print/pdflib/Makefile +++ b/print/pdflib/Makefile @@ -13,7 +13,7 @@ COMMENT= C library for dynamically generating PDF RESTRICTED= Many odd restrictions on usage and distribution -OPTIONS_DEFINE= PERL JAVA +OPTIONS_DEFINE= PERL JAVA DOCS PERL_DESC= Build perl bindings JAVA_DESC= Build Java bindings diff --git a/print/pdfstitch/Makefile b/print/pdfstitch/Makefile index de8a2bc0f449..c90e8e1acea8 100644 --- a/print/pdfstitch/Makefile +++ b/print/pdfstitch/Makefile @@ -23,6 +23,8 @@ GH_ACCOUNT= sur5r NO_ARCH= yes NO_BUILD= yes +OPTIONS_DEFINE= DOCS + do-install: ${INSTALL_SCRIPT} ${WRKSRC}/pdfstitch ${STAGEDIR}${PREFIX}/bin/pdfstitch ${MKDIR} ${STAGEDIR}${DOCSDIR} diff --git a/print/print-manager/Makefile b/print/print-manager/Makefile index a6f2c33ec8b1..af5de6217b4c 100644 --- a/print/print-manager/Makefile +++ b/print/print-manager/Makefile @@ -17,4 +17,6 @@ USE_KDE= auth codecs completion config configwidgets coreaddons \ USE_QT= core dbus gui network qml quick widgets xml \ buildtools_build qmake_build +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/science/afni/Makefile b/science/afni/Makefile index ca06f8c947ee..2400136c5fd9 100644 --- a/science/afni/Makefile +++ b/science/afni/Makefile @@ -48,6 +48,8 @@ SHEBANG_FILES= suma_change_spec \ pkundu/meica.libs/mdp/test/run_tests.py USE_GNOME= glib20 +OPTIONS_DEFINE= DOCS + .include <bsd.port.options.mk> USE_GL= gl glu glw diff --git a/science/aircraft-datcom/Makefile b/science/aircraft-datcom/Makefile index 176a47e08847..e651970395ea 100644 --- a/science/aircraft-datcom/Makefile +++ b/science/aircraft-datcom/Makefile @@ -16,10 +16,10 @@ GH_TAGNAME= ed877bb USES= fortran cmake -.include <bsd.port.pre.mk> +OPTIONS_DEFINE= DOCS -post-install: +post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/doc/* ${STAGEDIR}${DOCSDIR} -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/science/jstrack/Makefile b/science/jstrack/Makefile index 8898cb2ad5d7..9980b967e89c 100644 --- a/science/jstrack/Makefile +++ b/science/jstrack/Makefile @@ -30,6 +30,8 @@ SUB_LIST= WISH=${WISH} PORTDOCS= 00-README_FIRST.txt HISTORY install.txt jstrackdoc-v2.pdf +OPTIONS_DEFINE= DOCS + post-patch: ${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|' ${WRKSRC}/paths.tcl diff --git a/science/kalzium/Makefile b/science/kalzium/Makefile index 774b8c3606e9..a12be4b6c2fb 100644 --- a/science/kalzium/Makefile +++ b/science/kalzium/Makefile @@ -28,4 +28,6 @@ USE_QT= core dbus gui network opengl printsupport qml quick script svg \ USE_LDCONFIG= yes +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/science/sigrok-firmware-fx2lafw/Makefile b/science/sigrok-firmware-fx2lafw/Makefile index bbed862173d9..2f605d3f1924 100644 --- a/science/sigrok-firmware-fx2lafw/Makefile +++ b/science/sigrok-firmware-fx2lafw/Makefile @@ -32,6 +32,8 @@ FW_FILES= fx2lafw-braintechnology-usb-lps.fw \ PORTDOCS= README NEWS PLIST_FILES= ${FW_FILES:S,^,share/sigrok-firmware/,} +OPTIONS_DEFINE= DOCS + do-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for docfile in README NEWS diff --git a/science/sigrok-firmware-utils/Makefile b/science/sigrok-firmware-utils/Makefile index bc5438af9d18..473e4951d610 100644 --- a/science/sigrok-firmware-utils/Makefile +++ b/science/sigrok-firmware-utils/Makefile @@ -32,6 +32,8 @@ PLIST_FILES= ${PY_FILES:S,^,bin/,} \ ${EX_FILES:S,^,bin/,} \ ${EX_FILES:S,^,man/man1/,:S,$,.1.gz,} +OPTIONS_DEFINE= DOCS + do-extract: @${MKDIR} ${WRKSRC} @${CP} ${FILESDIR}/* ${WRKSRC} diff --git a/science/step/Makefile b/science/step/Makefile index 7e29eb7ec0dc..ee86b37c62c2 100644 --- a/science/step/Makefile +++ b/science/step/Makefile @@ -22,6 +22,8 @@ USE_QT= core dbus gui network opengl printsupport qml quick svg \ widgets xml \ buildtools_build qmake_build +OPTIONS_DEFINE= DOCS + pre-configure: # Avoid building translations, should the user pass # CURRENT_LANG to CMake. diff --git a/security/amavisd-milter/Makefile b/security/amavisd-milter/Makefile index 877e37f1dd1f..cb66efbba0bc 100644 --- a/security/amavisd-milter/Makefile +++ b/security/amavisd-milter/Makefile @@ -42,6 +42,8 @@ PLIST_SUB= ${SUB_LIST} PORTDOCS= AUTHORS CHANGES INSTALL LICENSE README TODO +OPTIONS_DEFINE= DOCS + .include <bsd.port.pre.mk> .include "${PORTSDIR}/mail/sendmail/bsd.milter.mk" diff --git a/security/cisco-torch/Makefile b/security/cisco-torch/Makefile index ed098af1f377..65caa86ad788 100644 --- a/security/cisco-torch/Makefile +++ b/security/cisco-torch/Makefile @@ -31,6 +31,8 @@ FILELIST= brutefile.txt \ tfingerprint.db \ users.txt +OPTIONS_DEFINE= DOCS + do-install: ${INSTALL_SCRIPT} ${WRKSRC}/cisco-torch.pl ${STAGEDIR}${PREFIX}/bin/cisco-torch ${MKDIR} ${STAGEDIR}${DATADIR}/include diff --git a/security/courier-authlib/Makefile b/security/courier-authlib/Makefile index ca057989dbe8..95c47f4e9a31 100644 --- a/security/courier-authlib/Makefile +++ b/security/courier-authlib/Makefile @@ -75,6 +75,8 @@ CONFIGURE_ARGS+=--with-base --with-authpam --with-authpipe USERS= ${MAILOWN} GROUPS= ${MAILGRP} +OPTIONS_DEFINE+= DOCS + DOCS= AUTHORS COPYING ChangeLog INSTALL NEWS README \ README.authdebug.html README_authlib.html @@ -108,6 +110,8 @@ REMOVE_SUBDIRS+=makedat userdb .if ${AUTHMOD} == authldap RUN_DEPENDS+= ${LOCALBASE}/share/sysconftool/sysconftool:devel/sysconftool +OPTIONS_DEFINE+= DOCS + DOCS= README.ldap USE_OPENLDAP= yes CONFIGURE_ARGS+=--with-authldap @@ -117,6 +121,8 @@ CONFIGURE_ARGS+=--without-authldap .if ${AUTHMOD} == authmysql RUN_DEPENDS+= ${LOCALBASE}/share/sysconftool/sysconftool:devel/sysconftool +OPTIONS_DEFINE+= DOCS + DOCS= README.authmysql.html README.authmysql.myownquery USE_MYSQL= yes CONFIGURE_ARGS+=--with-authmysql \ @@ -128,6 +134,8 @@ CONFIGURE_ARGS+=--without-authmysql .if ${AUTHMOD} == authpgsql RUN_DEPENDS+= ${LOCALBASE}/share/sysconftool/sysconftool:devel/sysconftool +OPTIONS_DEFINE+= DOCS + DOCS= README.authpostgres.html USES+= pgsql CONFIGURE_ARGS+=--with-authpgsql diff --git a/security/cvechecker/Makefile b/security/cvechecker/Makefile index 3d65f2efad55..024430a7e152 100644 --- a/security/cvechecker/Makefile +++ b/security/cvechecker/Makefile @@ -26,6 +26,7 @@ CONFIGURE_ARGS= --localstatedir=/var/db bash_OLD_CMD+= /bin/sh +OPTIONS_DEFINE= DOCS OPTIONS_MULTI= DB OPTIONS_MULTI_DB= MYSQL SQLITE OPTIONS_DEFAULT= SQLITE diff --git a/security/elixir-comeonin/Makefile b/security/elixir-comeonin/Makefile index 8080cb4b7861..d1d79d543e2d 100644 --- a/security/elixir-comeonin/Makefile +++ b/security/elixir-comeonin/Makefile @@ -20,6 +20,8 @@ MIX_BUILD_DEPS= devel/elixir-make \ security/elixir-comeonin_i18n MIX_RUN_DEPS:= security/elixir-comeonin_i18n +OPTIONS_DEFINE= DOCS + post-build: ${STRIP_CMD} ${WRKSRC}/priv/bcrypt_nif.so diff --git a/security/elixir-comeonin_i18n/Makefile b/security/elixir-comeonin_i18n/Makefile index 4493b697aa45..4abf239582e3 100644 --- a/security/elixir-comeonin_i18n/Makefile +++ b/security/elixir-comeonin_i18n/Makefile @@ -16,4 +16,6 @@ GH_ACCOUNT= riverrun MIX_BUILD_DEPS= devel/elixir-gettext MIX_RUN_DEPS:= ${MIX_BUILD_DEPS} +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/security/elixir-jose/Makefile b/security/elixir-jose/Makefile index 13f76537c99e..7bf2408a57a5 100644 --- a/security/elixir-jose/Makefile +++ b/security/elixir-jose/Makefile @@ -21,4 +21,6 @@ MIX_BUILD_DEPS= converters/erlang-base64url \ security/erlang-jose MIX_RUN_DEPS:= ${MIX_BUILD_DEPS} +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/security/erlang-fast_tls/Makefile b/security/erlang-fast_tls/Makefile index caa6133b5e4e..280e30d36bbc 100644 --- a/security/erlang-fast_tls/Makefile +++ b/security/erlang-fast_tls/Makefile @@ -24,6 +24,8 @@ CPPFLAGS+= -I${OPENSSLINC} CFLAGS+= -I${OPENSSLINC} LDFLAGS+= -L${OPENSSLLIB} +OPTIONS_DEFINE= DOCS + post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/erlang/lib/${PORTNAME}-${PORTVERSION}/priv/lib/*.so diff --git a/security/erlang-jose/Makefile b/security/erlang-jose/Makefile index 54b63e4e5528..25de1abf6ab6 100644 --- a/security/erlang-jose/Makefile +++ b/security/erlang-jose/Makefile @@ -21,4 +21,6 @@ NO_ARCH= yes ERL_BUILD_DEPS= converters/erlang-base64url ERL_RUN_DEPS:= ${ERL_BUILD_DEPS} +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/security/fwbuilder/Makefile b/security/fwbuilder/Makefile index bc1f920e025b..4272bd428693 100644 --- a/security/fwbuilder/Makefile +++ b/security/fwbuilder/Makefile @@ -16,7 +16,7 @@ BROKEN_powerpc64= fails to configure: libz library not found LIB_DEPENDS= libxslt.so:textproc/libxslt \ libnetsnmp.so:net-mgmt/net-snmp -#OPTIONS_DEFINE= DOCS +OPTIONS_DEFINE= DOCS BUILD= 3599 diff --git a/security/gorilla/Makefile b/security/gorilla/Makefile index 2f069e0754df..257fbef4243a 100644 --- a/security/gorilla/Makefile +++ b/security/gorilla/Makefile @@ -17,6 +17,8 @@ LICENSE= GPLv2 RUN_DEPENDS= itcl>=3.4:lang/itcl \ wish:x11-toolkits/tk-wrapper +OPTIONS_DEFINE= DOCS + .include <bsd.port.options.mk> .if ${ARCH} == i386 diff --git a/security/govpn/Makefile b/security/govpn/Makefile index f1875e7df175..ab6fa1c7ab21 100644 --- a/security/govpn/Makefile +++ b/security/govpn/Makefile @@ -24,4 +24,6 @@ INSTALL_TARGET= install-strip PLIST_FILES= bin/govpn-server bin/govpn-client bin/govpn-verifier \ share/govpn/newclient.sh +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/security/gtkpasman/Makefile b/security/gtkpasman/Makefile index 357d07f34aac..453953ae6f57 100644 --- a/security/gtkpasman/Makefile +++ b/security/gtkpasman/Makefile @@ -24,6 +24,8 @@ SUB_FILES= pkg-message PORTDOCS= * PLIST_FILES= bin/gtkpasman share/applications/gtkpasman.desktop +OPTIONS_DEFINE= DOCS + .include <bsd.port.options.mk> post-patch: diff --git a/security/hamachi/Makefile b/security/hamachi/Makefile index e8e8319870b2..2f014148dedc 100644 --- a/security/hamachi/Makefile +++ b/security/hamachi/Makefile @@ -21,6 +21,8 @@ PLIST_FILES= bin/hamachi bin/hamachi-init sbin/hamachi-tuncfg PORTDOCS= README CHANGES MAKE_ENV= HAMACHI_DST=${STAGEDIR}${PREFIX}/bin TUNCFG_DST=${STAGEDIR}${PREFIX}/sbin +OPTIONS_DEFINE= DOCS + post-patch: ${RM} ${WRKSRC}/tuncfg/tuncfg ${LOCALBASE}/bin/upx -d ${WRKSRC}/hamachi diff --git a/security/hashcat-legacy/Makefile b/security/hashcat-legacy/Makefile index 0715f65b710e..bc53afb01550 100644 --- a/security/hashcat-legacy/Makefile +++ b/security/hashcat-legacy/Makefile @@ -26,6 +26,8 @@ ONLY_FOR_ARCHS_REASON= uses amd64 instructions ALL_TARGET= posix64 posixXOP +OPTIONS_DEFINE= DOCS + post-patch: @${REINPLACE_CMD} -r 's|^(CC_.*[[:blank:]]*=[[:blank:]]*)gcc[[:blank:]]*$$|\1${CC}|' ${WRKSRC}/src/Makefile diff --git a/security/hashcat/Makefile b/security/hashcat/Makefile index 2f2686ba19c2..e4e8d2118d5a 100644 --- a/security/hashcat/Makefile +++ b/security/hashcat/Makefile @@ -32,6 +32,8 @@ MAKE_ARGS= SHARED=1 \ LFLAGS_NATIVE="${LDFLAGS} -lpthread -lm" \ CFLAGS_NATIVE="${CFLAGS} -Iinclude -IOpenCL -Ideps/lzma_sdk" +OPTIONS_DEFINE= DOCS + pre-install: ${STRIP_CMD} ${WRKSRC}/libhashcat.so.${PORTVERSION} ${STRIP_CMD} ${WRKSRC}/hashcat diff --git a/security/hitch/Makefile b/security/hitch/Makefile index 936fa68f41a1..3954df6bfdaf 100644 --- a/security/hitch/Makefile +++ b/security/hitch/Makefile @@ -28,6 +28,8 @@ USE_RC_SUBR= ${PORTNAME} CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -lcrypto -lssl +OPTIONS_DEFINE= DOCS + post-install: ${MKDIR} ${STAGEDIR}${PREFIX}/etc ${INSTALL_DATA} ${FILESDIR}/${PORTNAME}.conf.sample ${STAGEDIR}${PREFIX}/etc/ diff --git a/security/ipguard/Makefile b/security/ipguard/Makefile index 9333e39fdce0..d5e2a049843c 100644 --- a/security/ipguard/Makefile +++ b/security/ipguard/Makefile @@ -19,6 +19,8 @@ PORTDOCS= COPYRIGHT NEWS README README.tcpdump README.log ethers.sample rfc826.t PLIST_FILES= sbin/ipguard \ man/man8/${PORTNAME}.8.gz +OPTIONS_DEFINE= DOCS + post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/doc/|} ${STAGEDIR}${DOCSDIR} diff --git a/security/kgpg/Makefile b/security/kgpg/Makefile index 38d818c4b615..abb37c1796f1 100644 --- a/security/kgpg/Makefile +++ b/security/kgpg/Makefile @@ -18,4 +18,6 @@ USE_KDE= akonadi akonadicontacts archive auth bookmarks codecs \ USE_QT= core dbus gui network printsupport widgets xml \ buildtools_build qmake_build +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/security/kleopatra/Makefile b/security/kleopatra/Makefile index 469d74301fb9..45c371608e19 100644 --- a/security/kleopatra/Makefile +++ b/security/kleopatra/Makefile @@ -22,4 +22,6 @@ USE_KDE= auth codecs config configwidgets coreaddons dbusaddons \ USE_QT= core dbus gui network printsupport testlib widgets xml \ buildtools_build qmake_build +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/security/kpkpass/Makefile b/security/kpkpass/Makefile index 466e4d4d730b..6a66ce436d58 100644 --- a/security/kpkpass/Makefile +++ b/security/kpkpass/Makefile @@ -14,4 +14,6 @@ USE_QT= core gui testlib \ DESCR= ${.CURDIR:H:H}/deskutils/kdepim/pkg-descr +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/security/kwalletmanager/Makefile b/security/kwalletmanager/Makefile index 455f2a63c999..2eb3334575b6 100644 --- a/security/kwalletmanager/Makefile +++ b/security/kwalletmanager/Makefile @@ -16,4 +16,6 @@ USE_KDE= archive auth codecs config configwidgets coreaddons crash \ USE_QT= core dbus gui network widgets xml \ buildtools_build qmake_build +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/security/libkleo/Makefile b/security/libkleo/Makefile index 16a42afc3481..a8ed37b63345 100644 --- a/security/libkleo/Makefile +++ b/security/libkleo/Makefile @@ -23,6 +23,9 @@ USE_QT= core gui widgets \ buildtools_build qmake_build _CORETOOLS= md5sum sha1sum sha256sum sha512sum + +OPTIONS_DEFINE= DOCS + post-extract: # use the binaries of coreutils . for ct in ${_CORETOOLS} diff --git a/security/libntlm/Makefile b/security/libntlm/Makefile index 6433417a3c16..b495c5715eb0 100644 --- a/security/libntlm/Makefile +++ b/security/libntlm/Makefile @@ -18,7 +18,9 @@ USE_LDCONFIG= yes PORTDOCS= AUTHORS ChangeLog NEWS README THANKS -post-install: +OPTIONS_DEFINE= DOCS + +post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} diff --git a/security/linux-c6-cyrus-sasl2/Makefile b/security/linux-c6-cyrus-sasl2/Makefile index c4da1d446430..4ba6d1025d23 100644 --- a/security/linux-c6-cyrus-sasl2/Makefile +++ b/security/linux-c6-cyrus-sasl2/Makefile @@ -19,4 +19,6 @@ USES= linux:c6 USE_LDCONFIG= yes USE_LINUX_RPM= yes +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/security/linux-c6-libgcrypt/Makefile b/security/linux-c6-libgcrypt/Makefile index 41f3c3da6bf1..aee3f2140e38 100644 --- a/security/linux-c6-libgcrypt/Makefile +++ b/security/linux-c6-libgcrypt/Makefile @@ -16,4 +16,6 @@ USE_LDCONFIG= yes USE_LINUX= libgpg-error USE_LINUX_RPM= yes +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/security/linux-c6-libssh2/Makefile b/security/linux-c6-libssh2/Makefile index 0b33b4fe59c5..9d97ab328fe5 100644 --- a/security/linux-c6-libssh2/Makefile +++ b/security/linux-c6-libssh2/Makefile @@ -16,4 +16,6 @@ USE_LDCONFIG= yes USE_LINUX= openssl USE_LINUX_RPM= yes +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/security/linux-c6-libtasn1/Makefile b/security/linux-c6-libtasn1/Makefile index c8533b88f3b3..d8487f8e1b83 100644 --- a/security/linux-c6-libtasn1/Makefile +++ b/security/linux-c6-libtasn1/Makefile @@ -16,4 +16,6 @@ CPE_VENDOR= gnu USE_LDCONFIG= yes USE_LINUX_RPM= yes +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/security/linux-c6-openssl/Makefile b/security/linux-c6-openssl/Makefile index 60ba11bf4f5a..dfebecd5351c 100644 --- a/security/linux-c6-openssl/Makefile +++ b/security/linux-c6-openssl/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/security/linux-c7-cyrus-sasl2/Makefile b/security/linux-c7-cyrus-sasl2/Makefile index 34f641dcfa8f..5e3e5ea70714 100644 --- a/security/linux-c7-cyrus-sasl2/Makefile +++ b/security/linux-c7-cyrus-sasl2/Makefile @@ -21,4 +21,6 @@ USES= linux:c7 USE_LDCONFIG= yes USE_LINUX_RPM= yes +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/security/linux-c7-libgcrypt/Makefile b/security/linux-c7-libgcrypt/Makefile index 576d571c4cf4..9837ac751ac1 100644 --- a/security/linux-c7-libgcrypt/Makefile +++ b/security/linux-c7-libgcrypt/Makefile @@ -20,4 +20,6 @@ USE_LDCONFIG= yes USE_LINUX= libgpg-error USE_LINUX_RPM= yes +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/security/linux-c7-libssh2/Makefile b/security/linux-c7-libssh2/Makefile index d838dc2a0f5d..fd63e2babc98 100644 --- a/security/linux-c7-libssh2/Makefile +++ b/security/linux-c7-libssh2/Makefile @@ -18,4 +18,6 @@ USE_LDCONFIG= yes USE_LINUX= openssl USE_LINUX_RPM= yes +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/security/linux-c7-libtasn1/Makefile b/security/linux-c7-libtasn1/Makefile index 7b6d4d22b073..198af538efdf 100644 --- a/security/linux-c7-libtasn1/Makefile +++ b/security/linux-c7-libtasn1/Makefile @@ -19,4 +19,6 @@ CPE_VENDOR= gnu USE_LDCONFIG= yes USE_LINUX_RPM= yes +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/security/linux-c7-nettle/Makefile b/security/linux-c7-nettle/Makefile index 1a527a04cae3..8239e2c38c27 100644 --- a/security/linux-c7-nettle/Makefile +++ b/security/linux-c7-nettle/Makefile @@ -13,4 +13,6 @@ USES= linux:c7 USE_LDCONFIG= yes USE_LINUX_RPM= yes +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/security/linux-c7-openssl/Makefile b/security/linux-c7-openssl/Makefile index bb1bc9006550..f68542c938d4 100644 --- a/security/linux-c7-openssl/Makefile +++ b/security/linux-c7-openssl/Makefile @@ -23,4 +23,6 @@ USES= linux:c7 USE_LDCONFIG= yes USE_LINUX_RPM= yes +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/security/linux-c7-p11-kit/Makefile b/security/linux-c7-p11-kit/Makefile index 31b7f43e6a7a..9c1b7b74658c 100644 --- a/security/linux-c7-p11-kit/Makefile +++ b/security/linux-c7-p11-kit/Makefile @@ -13,4 +13,6 @@ USES= linux:c7 USE_LDCONFIG= yes USE_LINUX_RPM= yes +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/security/linux-c7-trousers/Makefile b/security/linux-c7-trousers/Makefile index cd548a557e4a..6751d02a7676 100644 --- a/security/linux-c7-trousers/Makefile +++ b/security/linux-c7-trousers/Makefile @@ -14,4 +14,6 @@ USE_LDCONFIG= yes USE_LINUX= openssl USE_LINUX_RPM= yes +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/security/logcheck/Makefile b/security/logcheck/Makefile index 3fef7bd0f9f2..6fc647d4c91f 100644 --- a/security/logcheck/Makefile +++ b/security/logcheck/Makefile @@ -27,7 +27,7 @@ BASEDIR?= # None. portlint compliance DBDIR= ${BASEDIR}/var/db/${PORTNAME} RUNDIR= ${BASEDIR}/var/run/${PORTNAME} -OPTIONS_DEFINE= CRON +OPTIONS_DEFINE= CRON DOCS CRON_DESC= Install cron script automatically .if !defined(BATCH) OPTIONS_DEFAULT=CRON diff --git a/security/lynis/Makefile b/security/lynis/Makefile index cd30c62d0b10..b3ee5165952c 100644 --- a/security/lynis/Makefile +++ b/security/lynis/Makefile @@ -22,6 +22,8 @@ NO_ARCH= yes PORTDOCS= FAQ README +OPTIONS_DEFINE= DOCS + post-patch: @${REINPLACE_CMD} -e '/tINCLUDE_TARGETS/ s|".*"|"${DATADIR}/include"|; \ /tPLUGIN_TARGETS/ s|".*"|"${DATADIR}/plugins"|; \ diff --git a/security/obfsclient/Makefile b/security/obfsclient/Makefile index 2cf6c63050bc..eb5b3de624af 100644 --- a/security/obfsclient/Makefile +++ b/security/obfsclient/Makefile @@ -28,6 +28,8 @@ PLIST_FILES= bin/${PORTNAME} PORTDOCS= COPYING +OPTIONS_DEFINE= DOCS + post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/COPYING ${STAGEDIR}${DOCSDIR} diff --git a/security/openconnect/Makefile b/security/openconnect/Makefile index 0e2d163caab7..84c00d2ed7f0 100644 --- a/security/openconnect/Makefile +++ b/security/openconnect/Makefile @@ -27,7 +27,7 @@ INSTALL_TARGET= install-strip USE_LDCONFIG= yes PORTDOCS= * -OPTIONS_DEFINE= PROXY GNUTLS GSSAPI LZ4 P11 STOKEN +OPTIONS_DEFINE= DOCS PROXY GNUTLS GSSAPI LZ4 P11 STOKEN OPTIONS_DEFAULT=GSSAPI LZ4_DESC= LZ4-based compression diff --git a/security/openssh-portable/Makefile b/security/openssh-portable/Makefile index 282dee25cc93..945c4678350f 100644 --- a/security/openssh-portable/Makefile +++ b/security/openssh-portable/Makefile @@ -39,6 +39,7 @@ OPTIONS_DEFINE= PAM TCP_WRAPPERS LIBEDIT BSM \ LDNS NONECIPHER XMSS OPTIONS_DEFAULT= LIBEDIT PAM TCP_WRAPPERS LDNS .if ${FLAVOR:U} == hpn +OPTIONS_DEFINE+= DOCS OPTIONS_DEFAULT+= HPN NONECIPHER .endif OPTIONS_RADIO= KERBEROS diff --git a/security/pad/Makefile b/security/pad/Makefile index e58ace3c0192..9b24454c593f 100644 --- a/security/pad/Makefile +++ b/security/pad/Makefile @@ -20,6 +20,8 @@ PORTDOCS= COPYING README ChangeLog CFLAGS+= -I${OPENSSLINC} LDFLAGS+= -L${OPENSSLLIB} +OPTIONS_DEFINE= DOCS + post-patch: ${REINPLACE_CMD} -e "s|\(-lcrypto\)|${LDFLAGS} \1|g" \ ${WRKSRC}/Makefile.in diff --git a/security/pam-mysql/Makefile b/security/pam-mysql/Makefile index 9f4c3e87bc9c..ead530d66bde 100644 --- a/security/pam-mysql/Makefile +++ b/security/pam-mysql/Makefile @@ -26,7 +26,7 @@ SUB_FILES= pkg-message PORTDOCS= * PLIST_FILES= lib/pam_mysql.so lib/pam_mysql.la -OPTIONS_DEFINE= SSL +OPTIONS_DEFINE= DOCS SSL SSL_DESC= Build with OpenSSL support (non-crypt()ish MD5 hash) SSL_CONFIGURE_WITH= openssl diff --git a/security/pkcs11-gateway/Makefile b/security/pkcs11-gateway/Makefile index 5f2452b3bf0f..7fb72b36caf3 100644 --- a/security/pkcs11-gateway/Makefile +++ b/security/pkcs11-gateway/Makefile @@ -20,6 +20,8 @@ PLIST_FILES= bin/pkcs11-gateway lib/libpkcs11-gateway.so \ PORTDOCS= README +OPTIONS_DEFINE= DOCS + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/pkcs11-gateway ${STAGEDIR}${PREFIX}/bin ${INSTALL_LIB} ${WRKSRC}/libpkcs11-gateway.so.1 ${STAGEDIR}${PREFIX}/lib diff --git a/security/pkesh/Makefile b/security/pkesh/Makefile index 0d279d71ceab..93d9f507a52d 100644 --- a/security/pkesh/Makefile +++ b/security/pkesh/Makefile @@ -16,6 +16,8 @@ NO_BUILD= yes PLIST_FILES= bin/pkesh PORTDOCS= README +OPTIONS_DEFINE= DOCS + do-install: ${INSTALL_SCRIPT} ${WRKSRC}/pkesh.sh ${STAGEDIR}${PREFIX}/bin/pkesh ${MKDIR} ${STAGEDIR}${DOCSDIR} diff --git a/security/rcracki_mt/Makefile b/security/rcracki_mt/Makefile index 2e97d8df9fe8..1db5eac7a7b5 100644 --- a/security/rcracki_mt/Makefile +++ b/security/rcracki_mt/Makefile @@ -21,6 +21,8 @@ USES= 7z gmake ssl PLIST_FILES= bin/${PORTNAME} PORTDOCS= ChangeLog.txt README.txt +OPTIONS_DEFINE= DOCS + post-patch: @${REINPLACE_CMD} \ -e 's,CC = g++,CXX ?= g++,' \ diff --git a/security/signing-party/Makefile b/security/signing-party/Makefile index 3b359effd3dc..73983ad482ad 100644 --- a/security/signing-party/Makefile +++ b/security/signing-party/Makefile @@ -44,6 +44,8 @@ PORTEXAMPLES= ${EXAMPLES:T} PORTDOCS= * +OPTIONS_DEFINE= DOCS + post-patch: @${REINPLACE_CMD} -e 's|/usr/share/doc/signing-party/caff/caffrc\.sample|${EXAMPLESDIR}/caffrc.sample|' \ ${WRKSRC}/caff/caff diff --git a/security/stoken/Makefile b/security/stoken/Makefile index 2406f39eb414..c8915af6dea3 100644 --- a/security/stoken/Makefile +++ b/security/stoken/Makefile @@ -20,7 +20,7 @@ USE_GNOME= libxml2 USE_LDCONFIG= yes INSTALL_TARGET= install-strip -OPTIONS_DEFINE= X11 +OPTIONS_DEFINE= DOCS X11 OPTIONS_SUB= yes X11_CONFIGURE_WITH= gtk diff --git a/security/tclsasl/Makefile b/security/tclsasl/Makefile index 17d09394e7a7..cdcf27c203d1 100644 --- a/security/tclsasl/Makefile +++ b/security/tclsasl/Makefile @@ -20,6 +20,8 @@ CONFIGURE_ENV= INSTALL="${INSTALL_DATA}" STAGEDIR="${STAGEDIR}" PORTDOCS= tclsasl.html +OPTIONS_DEFINE= DOCS + post-install: ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/doc/tclsasl.html ${STAGEDIR}${DOCSDIR} diff --git a/security/tmux-cssh/Makefile b/security/tmux-cssh/Makefile index fea1c6888e60..80092b5419d9 100644 --- a/security/tmux-cssh/Makefile +++ b/security/tmux-cssh/Makefile @@ -19,7 +19,10 @@ USE_GITHUB= yes GH_ACCOUNT= dennishafemann GH_TAGNAME= 2175073 -PLIST_FILES= bin/tmux-cssh %%PORTDOCS%%%%DOCSDIR%%/README.md +PLIST_FILES= bin/tmux-cssh +PORTDOCS= README.md + +OPTIONS_DEFINE= DOCS do-install: ${INSTALL_SCRIPT} ${WRKSRC}/tmux-cssh ${STAGEDIR}${PREFIX}/bin diff --git a/security/vlock/Makefile b/security/vlock/Makefile index f159e7a86b84..b290c0f28460 100644 --- a/security/vlock/Makefile +++ b/security/vlock/Makefile @@ -24,7 +24,7 @@ CONFIGURE_ARGS= --enable-plugins --enable-pam \ USES= gmake USE_CSTD= gnu99 -OPTIONS_DEFINE= ROOTPWD VLOCKSCRIPTS CACASAVER +OPTIONS_DEFINE= ROOTPWD VLOCKSCRIPTS CACASAVER DOCS OPTIONS_DEFAULT= ROOTPWD OPTIONS_SUB= yes ROOTPWD_DESC= Enable unlock using root password diff --git a/security/whatweb/Makefile b/security/whatweb/Makefile index 4175b20b02fd..7f2488bde8d1 100644 --- a/security/whatweb/Makefile +++ b/security/whatweb/Makefile @@ -21,6 +21,8 @@ NO_BUILD= yes NO_ARCH= yes PORTDOCS= CHANGELOG INSTALL README whatweb.xsl +OPTIONS_DEFINE= DOCS + post-patch: ${REINPLACE_CMD} -e \ 's!/usr/share/whatweb/!${RUBY_SITELIBDIR}/whatweb!' \ diff --git a/security/wolfssl/Makefile b/security/wolfssl/Makefile index 7c84acfd45f9..d61d322a328d 100644 --- a/security/wolfssl/Makefile +++ b/security/wolfssl/Makefile @@ -28,6 +28,8 @@ CONFIGURE_ARGS= --disable-dependency-tracking \ USE_LDCONFIG= yes PORTDOCS= * +OPTIONS_DEFINE= DOCS + post-configure: @${REINPLACE_CMD} \ -e 's|$${prefix}/cyassl/include|$${prefix}/include/cyassl|' \ diff --git a/security/xmlsec1/Makefile b/security/xmlsec1/Makefile index ca240a3a40ec..bb7625b886f8 100644 --- a/security/xmlsec1/Makefile +++ b/security/xmlsec1/Makefile @@ -31,7 +31,7 @@ MAKE_ENV= ABS_BUILDDIR=${WRKSRC} TMPFOLDER=${WRKSRC} INSTALL_TARGET= install-strip PORTDOCS= * -OPTIONS_DEFINE= GNUTLS NSS +OPTIONS_DEFINE= DOCS GNUTLS NSS OPTIONS_DEFAULT= NSS OPTIONS_SUB= yes diff --git a/shells/44bsd-csh/Makefile b/shells/44bsd-csh/Makefile index 6f1e877f1baf..7d96705c1499 100644 --- a/shells/44bsd-csh/Makefile +++ b/shells/44bsd-csh/Makefile @@ -18,6 +18,8 @@ USES= tar:bzip2 NO_WRKSUBDIR= yes PORTDOCS= paper.ascii.gz +OPTIONS_DEFINE= DOCS + post-extract: cd ${WRKSRC} ; co RCS/*,v; chmod u+w * cd ${WRKSRC}/USD.doc ; co RCS/*,v diff --git a/shells/heirloom-sh/Makefile b/shells/heirloom-sh/Makefile index e810852c83ab..becc941cf370 100644 --- a/shells/heirloom-sh/Makefile +++ b/shells/heirloom-sh/Makefile @@ -20,6 +20,8 @@ PORTDOCS= CALDERA.LICENSE OPENSOLARIS.LICENSE CHANGES README PKGINSTALL= pkg-install PKGDEINSTALL= pkg-deinstall +OPTIONS_DEFINE= DOCS + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/jsh ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/sh.1.out ${STAGEDIR}${MANPREFIX}/man/man1/jsh.1 diff --git a/shells/jailkit/Makefile b/shells/jailkit/Makefile index 45b3a82e3ad9..40021bddb8ce 100644 --- a/shells/jailkit/Makefile +++ b/shells/jailkit/Makefile @@ -19,6 +19,8 @@ CONFIGURE_ENV= PYTHONINTERPRETER=${PYTHON_CMD} PORTDOCS= COPYRIGHT README.txt +OPTIONS_DEFINE= DOCS + post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} diff --git a/shells/lshell/Makefile b/shells/lshell/Makefile index d74e66a80fee..00efead8d1bc 100644 --- a/shells/lshell/Makefile +++ b/shells/lshell/Makefile @@ -19,6 +19,8 @@ USES= python:2.7 USE_GITHUB= yes USE_PYTHON= distutils +OPTIONS_DEFINE= DOCS + post-patch: @${REINPLACE_CMD} -e \ "s|(.*lshell.conf.*),|| ; \ diff --git a/shells/osh/Makefile b/shells/osh/Makefile index 98e6ffe8abd3..0743a8fa3f9b 100644 --- a/shells/osh/Makefile +++ b/shells/osh/Makefile @@ -18,6 +18,8 @@ PORTEXAMPLES= * INSTALL_TARGET= install install-doc install-exp PLIST_SUB+= VER=${DISTVERSION} +OPTIONS_DEFINE= DOCS + post-patch: @${REINPLACE_CMD} -E -e 's|(DESTEXPDIR)=|\1?=|' \ ${WRKSRC}/Makefile diff --git a/sysutils/atop/Makefile b/sysutils/atop/Makefile index adec2a1fb552..aa991aa0f008 100644 --- a/sysutils/atop/Makefile +++ b/sysutils/atop/Makefile @@ -31,6 +31,8 @@ PORTDOCS= AUTHOR \ README \ README.FreeBSD +OPTIONS_DEFINE= DOCS + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/atop ${STAGEDIR}${PREFIX}/bin ${LN} -sf atop ${STAGEDIR}${PREFIX}/bin/atopsar diff --git a/sysutils/backupchecker/Makefile b/sysutils/backupchecker/Makefile index 4ce96b94f5f8..77ace41585df 100644 --- a/sysutils/backupchecker/Makefile +++ b/sysutils/backupchecker/Makefile @@ -19,6 +19,8 @@ USE_PYTHON= autoplist distutils PORTDOCS= README.md +OPTIONS_DEFINE= DOCS + post-patch: @${REINPLACE_CMD} "s|'share','man'|'${MANPREFIX}/man'|" ${WRKSRC}/setup.py diff --git a/sysutils/bacula-docs/Makefile b/sysutils/bacula-docs/Makefile index 5ae310ee58cd..92c1e36c9831 100644 --- a/sysutils/bacula-docs/Makefile +++ b/sysutils/bacula-docs/Makefile @@ -14,6 +14,8 @@ NO_BUILD= yes PORTDOCS= *.pdf +OPTIONS_DEFINE= DOCS + do-install: ${MKDIR} ${STAGEDIR}${DOCSDIR} ${FIND} ${WRKSRC}/manuals/en \ diff --git a/sysutils/bacula9-docs/Makefile b/sysutils/bacula9-docs/Makefile index 813afddfe8e1..f2f9518235d3 100644 --- a/sysutils/bacula9-docs/Makefile +++ b/sysutils/bacula9-docs/Makefile @@ -18,6 +18,8 @@ NO_BUILD= yes PORTDOCS= *.pdf +OPTIONS_DEFINE= DOCS + do-install: ${MKDIR} ${STAGEDIR}${DOCSDIR} ${FIND} ${WRKSRC}/manuals/en \ diff --git a/sysutils/baloo-widgets/Makefile b/sysutils/baloo-widgets/Makefile index 7e3db182a83f..84d43d147f9a 100644 --- a/sysutils/baloo-widgets/Makefile +++ b/sysutils/baloo-widgets/Makefile @@ -15,4 +15,6 @@ USE_QT= core dbus gui network testlib widgets xml \ buildtools_build qmake_build USE_LDCONFIG= yes +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/sysutils/bareos-docs/Makefile b/sysutils/bareos-docs/Makefile index 5a8c31bd292d..5b0977c8f7e3 100644 --- a/sysutils/bareos-docs/Makefile +++ b/sysutils/bareos-docs/Makefile @@ -14,6 +14,8 @@ NO_BUILD= yes PORTDOCS= *.pdf +OPTIONS_DEFINE= DOCS + do-extract: ${MKDIR} ${WRKSRC} ${CP} ${DISTDIR}/${PORTNAME}-manual-main-reference.pdf ${WRKSRC} diff --git a/sysutils/catfish/Makefile b/sysutils/catfish/Makefile index 63da9c907917..ab1d3f931fab 100644 --- a/sysutils/catfish/Makefile +++ b/sysutils/catfish/Makefile @@ -22,7 +22,7 @@ USES= desktop-file-utils python:2.7 tar:bz2 USE_PYTHON= distutils USE_GNOME= gtk30 intltool pygobject3 -OPTIONS_DEFINE= ZEITGEIST +OPTIONS_DEFINE= DOCS ZEITGEIST OPTIONS_DEFAULT=ZEITGEIST ZEITGEIST_DESC= Provide recent search suggestions diff --git a/sysutils/cdbkup/Makefile b/sysutils/cdbkup/Makefile index cde5ca310838..be8380373019 100644 --- a/sysutils/cdbkup/Makefile +++ b/sysutils/cdbkup/Makefile @@ -23,4 +23,6 @@ CONFIGURE_ENV+= PATH=${PATH}:${LOCALBASE}/sbin PORTDOCS= README TODO COMPLIANCE +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/sysutils/clonehdd/Makefile b/sysutils/clonehdd/Makefile index 49796ec8040c..6889e37c26d6 100644 --- a/sysutils/clonehdd/Makefile +++ b/sysutils/clonehdd/Makefile @@ -18,6 +18,8 @@ PLIST_FILES= sbin/clonehdd man/man8/${PORTNAME}.8.gz NO_BUILD= yes PORTDOCS= CHANGES README +OPTIONS_DEFINE= DOCS + do-install: ${INSTALL_SCRIPT} ${WRKSRC}/clonehdd ${STAGEDIR}${PREFIX}/sbin ${INSTALL_MAN} ${WRKSRC}/clonehdd.8 ${STAGEDIR}${MAN8PREFIX}/man/man8 diff --git a/sysutils/cmockery2/Makefile b/sysutils/cmockery2/Makefile index 7729aef01638..bf8b9cfc4a1e 100644 --- a/sysutils/cmockery2/Makefile +++ b/sysutils/cmockery2/Makefile @@ -22,6 +22,8 @@ INSTALL_TARGET= install-strip # Disable gcov on FreeBSD # CONFIGURE_ARGS= --enable-gcov +OPTIONS_DEFINE= DOCS + post-patch: @${REINPLACE_CMD} -e '/^docdir =/s|-$$(VERSION)||' \ -e '/^pkgconfigdir =/s|$$(libdir)|$$(prefix)/libdata|' \ diff --git a/sysutils/deltup/Makefile b/sysutils/deltup/Makefile index dae02d72d762..0f68f4b3a326 100644 --- a/sysutils/deltup/Makefile +++ b/sysutils/deltup/Makefile @@ -37,6 +37,8 @@ WRKSRC_BZIP2_103= ${WRKDIR}/bzip2-${BZIP2_103} PORTDOCS= ChangeLog README +OPTIONS_DEFINE= DOCS + post-patch: @${REINPLACE_CMD} -e 's/CC/CXX/' -e 's,gcc,$${CXX},' \ -e "s|\(-lcrypto\)|-L${OPENSSLLIB} \1|g" ${WRKSRC}/Makefile diff --git a/sysutils/detox/Makefile b/sysutils/detox/Makefile index cf22e702282e..bbaa03145435 100644 --- a/sysutils/detox/Makefile +++ b/sysutils/detox/Makefile @@ -17,6 +17,8 @@ USE_GITHUB= yes GNU_CONFIGURE= yes GH_ACCOUNT= dharple +OPTIONS_DEFINE= DOCS + post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/detox ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/inline-detox diff --git a/sysutils/djmount/Makefile b/sysutils/djmount/Makefile index 0cd771d9e0b3..cd4e80690572 100644 --- a/sysutils/djmount/Makefile +++ b/sysutils/djmount/Makefile @@ -23,6 +23,8 @@ CONFIGURE_ARGS= ${ICONV_CONFIGURE_ARG} \ PORTDOCS= AUTHORS ChangeLog NEWS README TODO +OPTIONS_DEFINE= DOCS + post-install: @${INSTALL} -d ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} diff --git a/sysutils/duff/Makefile b/sysutils/duff/Makefile index f742c56a81e3..1f13a2131c50 100644 --- a/sysutils/duff/Makefile +++ b/sysutils/duff/Makefile @@ -19,7 +19,7 @@ SHEBANG_FILES= join-duplicates.sh PORTDOCS= README.SHA -OPTIONS_DEFINE= JOIN NLS +OPTIONS_DEFINE= DOCS JOIN NLS OPTIONS_SUB= yes JOIN_DESC= Add run-dependencies for join-duplicates.sh diff --git a/sysutils/duply/Makefile b/sysutils/duply/Makefile index cda544e0d230..9b510da53d31 100644 --- a/sysutils/duply/Makefile +++ b/sysutils/duply/Makefile @@ -27,6 +27,8 @@ PERIODICFILE?= 300.duply PERIODICDIR?= ${PREFIX}/etc/periodic/backup SUB_FILES= pkg-message periodic_duply +OPTIONS_DEFINE= DOCS + post-patch: ${REINPLACE_CMD} -e "s,/etc/duply,${ETCDIR},g" ${WRKSRC}/duply diff --git a/sysutils/fanout/Makefile b/sysutils/fanout/Makefile index eddcda514155..b53f47da9d33 100644 --- a/sysutils/fanout/Makefile +++ b/sysutils/fanout/Makefile @@ -17,6 +17,8 @@ NO_BUILD= yes PLIST_FILES= bin/fanout bin/fanterm bin/fanmux PORTDOCS= README index.html +OPTIONS_DEFINE= DOCS + post-patch: @${REINPLACE_CMD} -e 's,%%LOCALBASE%%,${LOCALBASE},g' \ ${WRKSRC}/fanterm diff --git a/sysutils/filelight/Makefile b/sysutils/filelight/Makefile index 1bc3d26ac58c..b21db5884587 100644 --- a/sysutils/filelight/Makefile +++ b/sysutils/filelight/Makefile @@ -19,4 +19,6 @@ USE_KDE= auth codecs completion config configwidgets coreaddons doctools \ USE_QT= core dbus gui network script widgets xml \ buildtools_build qmake_build +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/sysutils/fpart/Makefile b/sysutils/fpart/Makefile index 74a683739c69..653d86db8a8c 100644 --- a/sysutils/fpart/Makefile +++ b/sysutils/fpart/Makefile @@ -18,7 +18,7 @@ CONFIGURE_ARGS= --disable-embfts PLIST_FILES= bin/fpart man/man1/fpart.1.gz PORTDOCS= Changelog README TODO -OPTIONS_DEFINE= FPSYNC +OPTIONS_DEFINE= FPSYNC DOCS OPTIONS_DEFAULT= FPSYNC FPSYNC_DESC= Install fpsync tool FPSYNC_RUN_DEPENDS= rsync:net/rsync \ diff --git a/sysutils/fswatch-mon/Makefile b/sysutils/fswatch-mon/Makefile index 098292f6e157..634fa78c29eb 100644 --- a/sysutils/fswatch-mon/Makefile +++ b/sysutils/fswatch-mon/Makefile @@ -21,7 +21,7 @@ INFO= fswatch CONFLICTS_INSTALL= fswatch-[0-9]* -OPTIONS_DEFINE= NLS +OPTIONS_DEFINE= DOCS NLS OPTIONS_SUB= yes NLS_USES= gettext diff --git a/sysutils/hfm/Makefile b/sysutils/hfm/Makefile index 9a7c616f3b37..012c281066e5 100644 --- a/sysutils/hfm/Makefile +++ b/sysutils/hfm/Makefile @@ -33,6 +33,8 @@ MAKE_ARGS+= ETCDIR=${ETCDIR} TAG=${DISTVERSIONPREFIX}${PORTVERSION} ALL_TARGET= test build +OPTIONS_DEFINE= DOCS + do-patch: (cd ${WRKSRC}; ${PATCH} vendor/src/github.com/mitchellh/go-libucl/libucl.go < vendor/patches/github.com/mitchellh/go-libucl/libucl.go.patch ) diff --git a/sysutils/k3b/Makefile b/sysutils/k3b/Makefile index 2b23b8ccc391..48eed0ad7946 100644 --- a/sysutils/k3b/Makefile +++ b/sysutils/k3b/Makefile @@ -34,7 +34,7 @@ USE_QT= core dbus gui network webkit widgets xml \ # The ffmpeg-plugin needs patching CMAKE_ARGS= -DK3B_BUILD_FFMPEG_DECODER_PLUGIN:BOOL=FALSE -OPTIONS_DEFINE= CDRDAO DVDPLUSRW EMOVIX VCDIMAGER +OPTIONS_DEFINE= CDRDAO DVDPLUSRW EMOVIX VCDIMAGER DOCS OPTIONS_DEFAULT= ${OPTIONS_DEFINE} CDRDAO_DESC= Burning: cdrdao diff --git a/sysutils/kbackup/Makefile b/sysutils/kbackup/Makefile index 5a26f720ba51..5a2e01472e66 100644 --- a/sysutils/kbackup/Makefile +++ b/sysutils/kbackup/Makefile @@ -14,4 +14,6 @@ USE_KDE= archive auth bookmarks codecs completion config configwidgets \ USE_QT= core dbus gui network widgets xml \ buildtools_build qmake_build +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/sysutils/kcron/Makefile b/sysutils/kcron/Makefile index e2e9fe61a75b..8a7fde9b8a7c 100644 --- a/sysutils/kcron/Makefile +++ b/sysutils/kcron/Makefile @@ -17,4 +17,6 @@ USE_KDE= auth codecs completion config configwidgets coreaddons ecm \ USE_QT= core gui network printsupport widgets xml \ buildtools_build qmake_build +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/sysutils/kdebugsettings/Makefile b/sysutils/kdebugsettings/Makefile index 7c034fdf1333..ab53641bc662 100644 --- a/sysutils/kdebugsettings/Makefile +++ b/sysutils/kdebugsettings/Makefile @@ -13,4 +13,6 @@ USE_KDE= completion config configwidgets coreaddons dbusaddons \ USE_QT= core dbus gui testlib widgets \ buildtools_build qmake_build +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/sysutils/kdf/Makefile b/sysutils/kdf/Makefile index b0c743d4e637..a204ff06d422 100644 --- a/sysutils/kdf/Makefile +++ b/sysutils/kdf/Makefile @@ -14,4 +14,6 @@ USE_KDE= auth codecs completion config configwidgets coreaddons doctools \ USE_QT= core dbus gui network widgets xml \ buildtools_build qmake_build +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/sysutils/kdialog/Makefile b/sysutils/kdialog/Makefile index d1d8c90a5255..229a9965e8da 100644 --- a/sysutils/kdialog/Makefile +++ b/sysutils/kdialog/Makefile @@ -17,4 +17,6 @@ USE_QT= core dbus gui network printsupport widgets xml \ buildtools_build qmake_build USE_XORG= x11 +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/sysutils/kfloppy/Makefile b/sysutils/kfloppy/Makefile index 391cf8321ea8..bb2b441638b3 100644 --- a/sysutils/kfloppy/Makefile +++ b/sysutils/kfloppy/Makefile @@ -14,4 +14,6 @@ USE_KDE= auth codecs completion config configwidgets coreaddons crash \ USE_QT= core dbus gui widgets xml \ buildtools_build qmake_build +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/sysutils/khelpcenter/Makefile b/sysutils/khelpcenter/Makefile index e62eb4712972..31b667a652f3 100644 --- a/sysutils/khelpcenter/Makefile +++ b/sysutils/khelpcenter/Makefile @@ -21,4 +21,6 @@ USE_QT= core dbus gui network widgets xml \ buildtools_build qmake_build SHEBANG_FILES= searchhandlers/khc_mansearch.pl +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/sysutils/ksystemlog/Makefile b/sysutils/ksystemlog/Makefile index 7c0287f757d9..32bd2cd49c5e 100644 --- a/sysutils/ksystemlog/Makefile +++ b/sysutils/ksystemlog/Makefile @@ -14,4 +14,6 @@ USE_KDE= archive auth codecs completion config configwidgets coreaddons \ USE_QT= core dbus gui network printsupport testlib widgets xml \ buildtools_build qmake_build +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/sysutils/lava/Makefile b/sysutils/lava/Makefile index 33e3a88661a0..f4211cadb8dc 100644 --- a/sysutils/lava/Makefile +++ b/sysutils/lava/Makefile @@ -23,6 +23,8 @@ NO_ARCH= yes PLIST_FILES= bin/${PORTNAME}.sh PORTDOCS= README.md +OPTIONS_DEFINE= DOCS + do-install: ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}/ diff --git a/sysutils/liburcu/Makefile b/sysutils/liburcu/Makefile index f05e3f5eb9c0..d2605b01ef87 100644 --- a/sysutils/liburcu/Makefile +++ b/sysutils/liburcu/Makefile @@ -26,4 +26,6 @@ CONFIGURE_ARGS+= --docdir=${DOCSDIR} INSTALL_TARGET= install-strip TEST_TARGET= check +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/sysutils/lttng-tools/Makefile b/sysutils/lttng-tools/Makefile index db64664869f1..53e8c2ed3e26 100644 --- a/sysutils/lttng-tools/Makefile +++ b/sysutils/lttng-tools/Makefile @@ -31,6 +31,8 @@ CONFIGURE_ARGS= --with-lttng-ust-prefix=${LOCALBASE} \ --disable-maintainer-mode INSTALL_TARGET= install-strip +OPTIONS_DEFINE= DOCS + post-install: ${INSTALL_MAN} ${WRKSRC}/doc/man/*.1 ${STAGEDIR}${MANPREFIX}/man/man1/ ${INSTALL_MAN} ${WRKSRC}/doc/man/*.3 ${STAGEDIR}${MANPREFIX}/man/man3/ diff --git a/sysutils/lttng-ust/Makefile b/sysutils/lttng-ust/Makefile index 4d2df52acf22..a569eccbba3f 100644 --- a/sysutils/lttng-ust/Makefile +++ b/sysutils/lttng-ust/Makefile @@ -25,6 +25,8 @@ GNU_CONFIGURE= yes INSTALL_TARGET= install-strip TEST_TARGET= check +OPTIONS_DEFINE= DOCS + post-patch: @${REINPLACE_CMD} -e 's|%%PYTHON_VERSION%%|${PYTHON_VERSION}|g' \ ${PATCH_WRKSRC}/tools/lttng-gen-tp diff --git a/sysutils/memdump/Makefile b/sysutils/memdump/Makefile index e91d516cf493..cdbcade6de73 100644 --- a/sysutils/memdump/Makefile +++ b/sysutils/memdump/Makefile @@ -20,6 +20,8 @@ MAKE_ARGS= OPT="${CFLAGS}" DEBUG='' PORTDOCS= README PLIST_FILES= bin/memdump man/man1/memdump.1.gz +OPTIONS_DEFINE= DOCS + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/memdump ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/memdump.1 ${STAGEDIR}${MANPREFIX}/man/man1 diff --git a/sysutils/monitorix/Makefile b/sysutils/monitorix/Makefile index 5d0f6c867680..73cf54a4e280 100644 --- a/sysutils/monitorix/Makefile +++ b/sysutils/monitorix/Makefile @@ -53,6 +53,8 @@ WWW_FILES= logo_top.png \ PORTDOCS= * PORTDATA= *.pm +OPTIONS_DEFINE= DOCS + .include <bsd.port.options.mk> pre-everything:: diff --git a/sysutils/most/Makefile b/sysutils/most/Makefile index 94f1ad0432f1..17e7526a6b52 100644 --- a/sysutils/most/Makefile +++ b/sysutils/most/Makefile @@ -25,6 +25,8 @@ PORTDOCS= README changes.txt lesskeys.rc most-fun.txt most.doc most.rc PORTSCOUT= skipv:5.0.0a +OPTIONS_DEFINE= DOCS + post-patch: @${REINPLACE_CMD} -e 's|<malloc\.h>|<stdlib.h>|' \ ${WRKSRC}/src/jdmacros.h diff --git a/sysutils/nbosd/Makefile b/sysutils/nbosd/Makefile index aa81465aa292..11ff52ca16e0 100644 --- a/sysutils/nbosd/Makefile +++ b/sysutils/nbosd/Makefile @@ -15,6 +15,8 @@ LIB_DEPENDS= libxosd.so:misc/xosd PLIST_FILES= bin/nbosd PORTDOCS= * +OPTIONS_DEFINE= DOCS + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/nbosd ${STAGEDIR}${PREFIX}/bin ${MKDIR} ${STAGEDIR}${DOCSDIR} diff --git a/sysutils/openhpi/Makefile b/sysutils/openhpi/Makefile index 20bdc52b7c54..ba55ba2b0b4a 100644 --- a/sysutils/openhpi/Makefile +++ b/sysutils/openhpi/Makefile @@ -29,6 +29,8 @@ USE_LDCONFIG= yes USE_PERL5= build USE_RC_SUBR= openhpid +OPTIONS_DEFINE= DOCS + post-patch: @${REINPLACE_CMD} 's/-lstdc++//' \ ${WRKSRC}/baselib/Makefile.in \ diff --git a/sysutils/py-bcfg2/Makefile b/sysutils/py-bcfg2/Makefile index 735341b719a0..cce0af9995bc 100644 --- a/sysutils/py-bcfg2/Makefile +++ b/sysutils/py-bcfg2/Makefile @@ -17,7 +17,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}daemon>=0:devel/py-daemon@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}lockfile>=0:devel/py-lockfile@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}lxml>=0:devel/py-lxml@${PY_FLAVOR} -OPTIONS_DEFINE= CHEETAH GENSHI +OPTIONS_DEFINE= CHEETAH GENSHI DOCS CHEETAH_DESC= Support Cheetah Templates GENSHI_DESC= Support Genshi Templates diff --git a/sysutils/py-supervisor/Makefile b/sysutils/py-supervisor/Makefile index b63008b3fc5e..78e1b2d864f8 100644 --- a/sysutils/py-supervisor/Makefile +++ b/sysutils/py-supervisor/Makefile @@ -31,6 +31,8 @@ SHEBANG_FILES= supervisor/scripts/*.py supervisor/tests/fixtures/*.py python_OLD_CMD= "/usr/bin/env python" python_OLD_CMD+= "<<PYTHON>>" +OPTIONS_DEFINE= DOCS + post-patch: @${REINPLACE_CMD} -e 's!%%PREFIX%%!${PREFIX}!' ${WRKSRC}/supervisor/options.py diff --git a/sysutils/qdirstat/Makefile b/sysutils/qdirstat/Makefile index feb71726ff3d..b0055f3943c8 100644 --- a/sysutils/qdirstat/Makefile +++ b/sysutils/qdirstat/Makefile @@ -18,6 +18,8 @@ USE_GL= gl USE_QT= buildtools_build core gui widgets SHEBANG_FILES= scripts/qdirstat-cache-writer +OPTIONS_DEFINE= DOCS + pre-configure: ${REINPLACE_CMD} -e 's,/usr/,${PREFIX}/,g' \ ${WRKSRC}/doc/doc.pro diff --git a/sysutils/read-edid/Makefile b/sysutils/read-edid/Makefile index d2a9870cffa9..c5c1a31e26a3 100644 --- a/sysutils/read-edid/Makefile +++ b/sysutils/read-edid/Makefile @@ -16,4 +16,6 @@ USES= cmake localbase PLIST_FILES= bin/get-edid bin/parse-edid man/man1/get-edid.1.gz PORTDOCS= AUTHORS ChangeLog LICENSE README +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/sysutils/sas2ircu/Makefile b/sysutils/sas2ircu/Makefile index f9968ed5b0a6..d02e320a12ea 100644 --- a/sysutils/sas2ircu/Makefile +++ b/sysutils/sas2ircu/Makefile @@ -26,17 +26,17 @@ NO_WRKSRC= yes ONLY_FOR_ARCHS= i386 amd64 ONLY_FOR_ARCHS_REASON= Binaries only available for i386 and amd64 from Broadcom -.include <bsd.port.pre.mk> +OPTIONS_DEFINE= DOCS do-install: -.if ${PORT_OPTIONS:MDOCS} + ${INSTALL_PROGRAM} ${WRKSRC}/sas2ircu_freebsd_${ARCH}_rel/sas2ircu\ + ${STAGEDIR}${PREFIX}/sbin + +post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/Readme_Release_Notes_SAS2IRCU_Phase_${PORTVERSION}.txt\ ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/SAS2IRCU_Phase20.0-${PORTVERSION}.pdf\ ${STAGEDIR}${DOCSDIR} -.endif - ${INSTALL_PROGRAM} ${WRKSRC}/sas2ircu_freebsd_${ARCH}_rel/sas2ircu\ - ${STAGEDIR}${PREFIX}/sbin -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/sysutils/scct/Makefile b/sysutils/scct/Makefile index 3b3f85890f7f..0f91697c67ad 100644 --- a/sysutils/scct/Makefile +++ b/sysutils/scct/Makefile @@ -20,6 +20,8 @@ GH_ACCOUNT= Jehops PLIST_FILES= bin/scct PORTDOCS= README.org +OPTIONS_DEFINE= DOCS + do-install: ${INSTALL_SCRIPT} ${WRKSRC}/scct ${STAGEDIR}${PREFIX}/bin ${MKDIR} ${STAGEDIR}${DOCSDIR} diff --git a/sysutils/signon-kwallet-extension/Makefile b/sysutils/signon-kwallet-extension/Makefile index 76c5a7dc3c36..a8934525537b 100644 --- a/sysutils/signon-kwallet-extension/Makefile +++ b/sysutils/signon-kwallet-extension/Makefile @@ -17,4 +17,6 @@ USE_LDCONFIG= ${KDE_PREFIX}/${SE_DIR} PLIST_FILES= ${SE_DIR}/libkeyring-kwallet.so SE_DIR= lib/signon/extensions +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/sysutils/signon-qt5/Makefile b/sysutils/signon-qt5/Makefile index 1a979e70610a..825faa704fa0 100644 --- a/sysutils/signon-qt5/Makefile +++ b/sysutils/signon-qt5/Makefile @@ -22,6 +22,8 @@ GL_ACCOUNT= accounts-sso GL_PROJECT= signond GL_COMMIT= aa1bcf3c9218addbdb376a40151b689409046125 +OPTIONS_DEFINE= DOCS + pre-configure: #make it find qdbusxml2ccp (as ${QT_BINDIR} is not in PATH) ${REINPLACE_CMD} -e 's,qdbusxml2cpp,${QT_BINDIR}/qdbusxml2cpp,' \ diff --git a/sysutils/sweeper/Makefile b/sysutils/sweeper/Makefile index 7b0b7d83550a..6f4fbe99ed9e 100644 --- a/sysutils/sweeper/Makefile +++ b/sysutils/sweeper/Makefile @@ -14,4 +14,6 @@ USE_KDE= activities-stats auth bookmarks codecs config configwidgets \ USE_QT= core dbus gui widgets xml \ buildtools_build qmake_build +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/sysutils/tkdvd/Makefile b/sysutils/tkdvd/Makefile index fcd8eb4464b7..ee7d7eea5142 100644 --- a/sysutils/tkdvd/Makefile +++ b/sysutils/tkdvd/Makefile @@ -28,6 +28,8 @@ DESKTOP_ENTRIES="TkDVD" \ "AudioVideo;DiscBurning;" \ true +OPTIONS_DEFINE= DOCS + .include <bsd.port.options.mk> post-patch: diff --git a/sysutils/tree/Makefile b/sysutils/tree/Makefile index 4e64b9eec67a..07b8fe5bd00d 100644 --- a/sysutils/tree/Makefile +++ b/sysutils/tree/Makefile @@ -19,6 +19,8 @@ PLIST_FILES= bin/tree \ PORTDOCS= CHANGES README +OPTIONS_DEFINE= DOCS + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/tree ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/doc/*.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 diff --git a/sysutils/ts/Makefile b/sysutils/ts/Makefile index 0dae8c5e8612..6391a68524bb 100644 --- a/sysutils/ts/Makefile +++ b/sysutils/ts/Makefile @@ -16,6 +16,8 @@ PLIST_FILES= bin/ts \ man/man8/ts.8.gz PORTDOCS= OBJECTIVES PROTOCOL README TRICKS +OPTIONS_DEFINE= DOCS + post-patch: ${REINPLACE_CMD} -e '/^GLIBCFLAGS/d;/^CFLAGS/d'\ ${WRKSRC}/Makefile diff --git a/sysutils/tw_cli/Makefile b/sysutils/tw_cli/Makefile index a32ff9fe60e7..423441a8d854 100644 --- a/sysutils/tw_cli/Makefile +++ b/sysutils/tw_cli/Makefile @@ -29,6 +29,8 @@ PORTDOCS= tw_cli.8.html PLIST_FILES= etc/periodic/daily/407.status-3ware-raid\ man/man8/tw_cli.8.gz sbin/tw_cli +OPTIONS_DEFINE= DOCS + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${ARCH:S,i386,x86,:S,amd64,x86_64,}/tw_cli\ ${STAGEDIR}${PREFIX}/sbin/tw_cli diff --git a/sysutils/ucspi-ssl/Makefile b/sysutils/ucspi-ssl/Makefile index 4d4ab5763444..d6b7c58917b8 100644 --- a/sysutils/ucspi-ssl/Makefile +++ b/sysutils/ucspi-ssl/Makefile @@ -21,6 +21,8 @@ WRKSRC= ${WRKDIR}/host/superscript.com/net/${DISTNAME} SCRIPTS_TO_INSTALL= https@ sslcat sslconnect +OPTIONS_DEFINE= DOCS + .include <bsd.port.pre.mk> post-patch: diff --git a/sysutils/watchman/Makefile b/sysutils/watchman/Makefile index 0c1c76522b8e..b58c916239ac 100644 --- a/sysutils/watchman/Makefile +++ b/sysutils/watchman/Makefile @@ -27,7 +27,7 @@ PLIST_FILES= bin/${PORTNAME} \ "@dir(,,2777) /var/run/${PORTNAME}" PORTDOCS= README.markdown -OPTIONS_DEFINE= BACKTRACE PCRE +OPTIONS_DEFINE= BACKTRACE PCRE DOCS OPTIONS_DEFAULT=BACKTRACE PCRE BACKTRACE_DESC= Stack backtrace support via (lib)execinfo diff --git a/sysutils/xjobs/Makefile b/sysutils/xjobs/Makefile index bfe93bca5644..d6f8a8ebefad 100644 --- a/sysutils/xjobs/Makefile +++ b/sysutils/xjobs/Makefile @@ -17,6 +17,8 @@ USES= tar:tgz PORTDOCS= ChangeLog README +OPTIONS_DEFINE= DOCS + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 diff --git a/sysutils/zap/Makefile b/sysutils/zap/Makefile index 77dd96cacc73..4278181ea093 100644 --- a/sysutils/zap/Makefile +++ b/sysutils/zap/Makefile @@ -21,6 +21,8 @@ PORTDOCS= README.org USERS= ${PORTNAME} GROUPS= ${PORTNAME} +OPTIONS_DEFINE= DOCS + do-install: ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${PREFIX}/man/man1 diff --git a/sysutils/zfsnap2/Makefile b/sysutils/zfsnap2/Makefile index dee524ffef40..f17ba3d31bdf 100644 --- a/sysutils/zfsnap2/Makefile +++ b/sysutils/zfsnap2/Makefile @@ -16,7 +16,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE NO_BUILD= yes USE_GITHUB= yes -OPTIONS_DEFINE= BASH ZSH +OPTIONS_DEFINE= BASH ZSH DOCS OPTIONS_DEFAULT= BASH ZSH OPTIONS_SUB= yes diff --git a/textproc/bibtool/Makefile b/textproc/bibtool/Makefile index a45f7d1b6c5d..122056a258b8 100644 --- a/textproc/bibtool/Makefile +++ b/textproc/bibtool/Makefile @@ -23,6 +23,8 @@ INSTALL_TARGET= install install.man PORTDOCS= bibtool.pdf ref_card.pdf c_lib.pdf +OPTIONS_DEFINE= DOCS + post-patch: ${REINPLACE_CMD} 's/bibtex$$/&8/' ${WRKSRC}/doc/Makefile diff --git a/textproc/docbook-utils/Makefile b/textproc/docbook-utils/Makefile index 95ad8d246720..9c16e6a27ba5 100644 --- a/textproc/docbook-utils/Makefile +++ b/textproc/docbook-utils/Makefile @@ -30,6 +30,8 @@ perl_OLD_CMD= @perl_bindir@/perl PORTDOCS= * +OPTIONS_DEFINE= DOCS + post-patch: @${REINPLACE_CMD} -e 's|/etc/sgml/catalog|${PREFIX}/share/sgml/catalog|g' \ ${WRKSRC}/doc/HTML/Makefile.in diff --git a/textproc/elixir-earmark/Makefile b/textproc/elixir-earmark/Makefile index 145e5ddfa3e9..7c976bc6c023 100644 --- a/textproc/elixir-earmark/Makefile +++ b/textproc/elixir-earmark/Makefile @@ -17,4 +17,6 @@ GH_ACCOUNT= pragdave MIX_REWRITE= yes +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/textproc/elixir-ex_doc/Makefile b/textproc/elixir-ex_doc/Makefile index ddd2a7278e52..d151ea29d270 100644 --- a/textproc/elixir-ex_doc/Makefile +++ b/textproc/elixir-ex_doc/Makefile @@ -22,4 +22,6 @@ MIX_BUILD_DEPS= textproc/elixir-earmark MIX_RUN_DEPS:= ${MIX_BUILD_DEPS} MIX_REWRITE= yes +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/textproc/elixir-funnel/Makefile b/textproc/elixir-funnel/Makefile index 9daad4ef44e2..6adc1c4cd66b 100644 --- a/textproc/elixir-funnel/Makefile +++ b/textproc/elixir-funnel/Makefile @@ -21,4 +21,6 @@ MIX_BUILD_DEPS= devel/elixir-poison \ www/elixir-httpoison MIX_RUN_DEPS:= ${MIX_BUILD_DEPS} +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/textproc/elixir-sweet_xml/Makefile b/textproc/elixir-sweet_xml/Makefile index 327980b84578..18fd0aab33c2 100644 --- a/textproc/elixir-sweet_xml/Makefile +++ b/textproc/elixir-sweet_xml/Makefile @@ -15,4 +15,6 @@ USES= elixir USE_GITHUB= yes GH_ACCOUNT= gniquil +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/textproc/erlang-edown/Makefile b/textproc/erlang-edown/Makefile index 4d23577bfa8c..484dc9f8506c 100644 --- a/textproc/erlang-edown/Makefile +++ b/textproc/erlang-edown/Makefile @@ -14,4 +14,6 @@ GH_ACCOUNT= uwiger ERL_DOCS= doc/* +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/textproc/erlang-fast_xml/Makefile b/textproc/erlang-fast_xml/Makefile index a39b462ad800..16f88173472f 100644 --- a/textproc/erlang-fast_xml/Makefile +++ b/textproc/erlang-fast_xml/Makefile @@ -22,6 +22,8 @@ ERL_RUN_DEPS:= ${ERL_BUILD_DEPS} CFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -l expat +OPTIONS_DEFINE= DOCS + pre-install: ${STRIP_CMD} ${WRKSRC}/priv/lib/*.so diff --git a/textproc/erlang-p1_utils/Makefile b/textproc/erlang-p1_utils/Makefile index 09c89dd55e34..0b5314b4c7f9 100644 --- a/textproc/erlang-p1_utils/Makefile +++ b/textproc/erlang-p1_utils/Makefile @@ -14,4 +14,6 @@ USES= erlang:rebar USE_GITHUB= yes GH_ACCOUNT= processone +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/textproc/erlang-yamerl/Makefile b/textproc/erlang-yamerl/Makefile index 516de1f38ca0..9d862fde8ac6 100644 --- a/textproc/erlang-yamerl/Makefile +++ b/textproc/erlang-yamerl/Makefile @@ -17,4 +17,6 @@ GH_ACCOUNT= yakaz ERL_DOCS= README.md doc +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/textproc/expat2/Makefile b/textproc/expat2/Makefile index 4d211683e70b..215dc10c0aa3 100644 --- a/textproc/expat2/Makefile +++ b/textproc/expat2/Makefile @@ -19,4 +19,6 @@ USE_LDCONFIG= yes CONFIGURE_ARGS= --without-docbook INSTALL_TARGET= install-strip +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/textproc/highlight/Makefile b/textproc/highlight/Makefile index 39aa1c5788c3..b9d6f94a3e52 100644 --- a/textproc/highlight/Makefile +++ b/textproc/highlight/Makefile @@ -25,6 +25,8 @@ MAKE_ARGS= CXX="${CXX}" \ PORTDOCS= * +OPTIONS_DEFINE= DOCS + post-patch: @${REINPLACE_CMD} \ -e 's|^PREFIX =|PREFIX ?=|' \ diff --git a/textproc/html-xml-utils/Makefile b/textproc/html-xml-utils/Makefile index da3838a8f4da..2e998addc93f 100644 --- a/textproc/html-xml-utils/Makefile +++ b/textproc/html-xml-utils/Makefile @@ -21,7 +21,7 @@ SHEBANG_FILES= ${WRKSRC}/hxcite-mkbib CONFIGURE_ARGS= LDFLAGS=${ICONV_LIB} OPTIONS_SUB= yes -OPTIONS_DEFINE= CURL IDN IDN2 +OPTIONS_DEFINE= CURL IDN IDN2 DOCS CURL_CONFIGURE_WITH= libcurl=${LOCALBASE} CURL_LIB_DEPENDS= libcurl.so:ftp/curl IDN_CONFIGURE_WITH= libidn=${LOCALBASE} diff --git a/textproc/htmlc/Makefile b/textproc/htmlc/Makefile index 114016f24214..ce610b712945 100644 --- a/textproc/htmlc/Makefile +++ b/textproc/htmlc/Makefile @@ -21,6 +21,8 @@ PORTDOCS= LICENSE INSTALL README JoeCaml.gif rocq.gif copyright-eng.htm \ HAS_CONFIGURE= yes CONFIGURE_ARGS= --prefix ${LOCALBASE} +OPTIONS_DEFINE= DOCS + post-patch: ${RM} ${WRKSRC}/doc/Makefile ${TOUCH} ${WRKSRC}/doc/Makefile diff --git a/textproc/java2html/Makefile b/textproc/java2html/Makefile index 3015897136d7..91da197f2a0c 100644 --- a/textproc/java2html/Makefile +++ b/textproc/java2html/Makefile @@ -16,6 +16,8 @@ GNU_CONFIGURE= yes PORTDOCS= AUTHORS NEWS README PLIST_FILES= bin/java2html man/man1/java2html.1.gz +OPTIONS_DEFINE= DOCS + post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR} diff --git a/textproc/kompare/Makefile b/textproc/kompare/Makefile index 41d75dbbd9e9..2c85690bfe52 100644 --- a/textproc/kompare/Makefile +++ b/textproc/kompare/Makefile @@ -16,4 +16,6 @@ USE_KDE= auth codecs completion config configwidgets coreaddons \ USE_QT= core dbus gui network printsupport widgets xml \ buildtools_build qmake_build +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/textproc/libepubgen/Makefile b/textproc/libepubgen/Makefile index 1dbce5f6bbf7..bf89fdc446be 100644 --- a/textproc/libepubgen/Makefile +++ b/textproc/libepubgen/Makefile @@ -28,7 +28,7 @@ USES= compiler:c++11-lang libtool pathfix pkgconfig tar:xz USE_LDCONFIG= yes INSTALL_TARGET= install-strip -OPTIONS_DEFINE= DOXYGEN TEST +OPTIONS_DEFINE= DOCS DOXYGEN TEST OPTIONS_DEFAULT= OPTIONS_SUB= yes @@ -40,5 +40,6 @@ TEST_CONFIGURE_ENABLE= tests PORTDOCS= * DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen DOXYGEN_CONFIGURE_OFF= --without-docs +DOXYGEN_IMPLIES= DOCS .include <bsd.port.mk> diff --git a/textproc/libkomparediff2/Makefile b/textproc/libkomparediff2/Makefile index 9a857ea53e6c..beb714784a90 100644 --- a/textproc/libkomparediff2/Makefile +++ b/textproc/libkomparediff2/Makefile @@ -14,4 +14,6 @@ USE_QT= core dbus gui widgets xml \ buildtools_build qmake_build USE_LDCONFIG= yes +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/textproc/libqxp/Makefile b/textproc/libqxp/Makefile index 14cb2ddcafe0..270505828345 100644 --- a/textproc/libqxp/Makefile +++ b/textproc/libqxp/Makefile @@ -30,7 +30,7 @@ USES= compiler:c++11-lang libtool pathfix pkgconfig tar:xz USE_LDCONFIG= yes INSTALL_TARGET= install-strip -OPTIONS_DEFINE= DOXYGEN TEST +OPTIONS_DEFINE= DOCS DOXYGEN TEST OPTIONS_DEFAULT= OPTIONS_SUB= yes @@ -41,5 +41,6 @@ TEST_CONFIGURE_ENABLE= tests PORTDOCS= * DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen DOXYGEN_CONFIGURE_OFF= --without-docs +DOXYGEN_IMPLIES= DOCS .include <bsd.port.mk> diff --git a/textproc/librevenge/Makefile b/textproc/librevenge/Makefile index b3a97b6b43d1..6f7d70c49bc9 100644 --- a/textproc/librevenge/Makefile +++ b/textproc/librevenge/Makefile @@ -19,12 +19,13 @@ INSTALL_TARGET= install-strip BUILD_DEPENDS= ${LOCALBASE}/include/boost/algorithm/string.hpp:devel/boost-libs -OPTIONS_DEFINE= DOXYGEN +OPTIONS_DEFINE= DOXYGEN DOCS CPPFLAGS= -I${LOCALBASE}/include CONFIGURE_ARGS= -disable-werror --disable-tests PORTDOCS= * +DOXYGEN_IMPLIES= DOCS DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen DOXYGEN_CONFIGURE_OFF= --without-docs diff --git a/textproc/linux-c6-expat/Makefile b/textproc/linux-c6-expat/Makefile index b212984d9b50..ba96f1190c6b 100644 --- a/textproc/linux-c6-expat/Makefile +++ b/textproc/linux-c6-expat/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/textproc/linux-c6-libxml2/Makefile b/textproc/linux-c6-libxml2/Makefile index a7a519b0040c..ba6641234886 100644 --- a/textproc/linux-c6-libxml2/Makefile +++ b/textproc/linux-c6-libxml2/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/textproc/linux-c7-expat/Makefile b/textproc/linux-c7-expat/Makefile index 958712c37409..272d3914ec72 100644 --- a/textproc/linux-c7-expat/Makefile +++ b/textproc/linux-c7-expat/Makefile @@ -19,4 +19,6 @@ USES= linux:c7 USE_LDCONFIG= yes USE_LINUX_RPM= yes +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/textproc/linux-c7-libxml2/Makefile b/textproc/linux-c7-libxml2/Makefile index be3580c9d024..c0baf1ac538f 100644 --- a/textproc/linux-c7-libxml2/Makefile +++ b/textproc/linux-c7-libxml2/Makefile @@ -19,4 +19,6 @@ USES= linux:c7 USE_LDCONFIG= yes USE_LINUX_RPM= yes +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/textproc/metauml/Makefile b/textproc/metauml/Makefile index 8075c5448940..0037645a2af5 100644 --- a/textproc/metauml/Makefile +++ b/textproc/metauml/Makefile @@ -32,6 +32,8 @@ WRKSRC= ${WRKDIR}/${PORTNAME}_lib PORTDOCS= ${PORTNAME}_manual_${PORTVERSION}.pdf PORTEXAMPLES= *.1 *.jpg *.mp lop lop.html lop.pdf lop.tex +OPTIONS_DEFINE= DOCS + do-install: @${MKDIR} ${STAGEDIR}${PREFIX}/${MPDIR} ${INSTALL_DATA} ${WRKSRC}/thrunk/*.mp ${STAGEDIR}${PREFIX}/${MPDIR} diff --git a/textproc/rss2html/Makefile b/textproc/rss2html/Makefile index d00a3044ffed..d110416fc2d2 100644 --- a/textproc/rss2html/Makefile +++ b/textproc/rss2html/Makefile @@ -20,6 +20,8 @@ CFLAGS+= "-I${LOCALBASE}/include" "-L${LOCALBASE}/lib" PLIST_FILES= bin/rss2html man/man1/rss2html.1.gz PORTDOCS= rss2html.links usage.example rss2html.template +OPTIONS_DEFINE= DOCS + post-patch: @${REINPLACE_CMD} -e '16,20d' ${WRKSRC}/Makefile.acr diff --git a/textproc/smi/Makefile b/textproc/smi/Makefile index 85edf5fc535b..55dcf418a01f 100644 --- a/textproc/smi/Makefile +++ b/textproc/smi/Makefile @@ -24,6 +24,8 @@ MAKE_ENV= PROG="${PORTNAME}" FILES="${PORTDOCS}" \ MANDIR="${MANPREFIX}/man/man" CFLAGS+= -DVERSION=${PORTVERSION} +OPTIONS_DEFINE= DOCS + pre-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} diff --git a/textproc/xerces-j/Makefile b/textproc/xerces-j/Makefile index 8197a835c219..4cce8e4bff5d 100644 --- a/textproc/xerces-j/Makefile +++ b/textproc/xerces-j/Makefile @@ -26,6 +26,8 @@ JARFILES= xercesImpl.jar xml-apis.jar PLIST_FILES= ${JARFILES:S,^,%%JAVAJARDIR%%/,} +OPTIONS_DEFINE= DOCS + do-install: @${ECHO_MSG} -n ">> Installing JAR files in ${JAVAJARDIR}..." .for JARFILE in ${JARFILES} diff --git a/textproc/xp/Makefile b/textproc/xp/Makefile index 3c36ee841ae4..950b5b57cc90 100644 --- a/textproc/xp/Makefile +++ b/textproc/xp/Makefile @@ -23,6 +23,8 @@ PORTDOCS= api copying.txt index.html JARFILE= ${PORTNAME}.jar PLIST_FILES+= %%JAVAJARDIR%%/${JARFILE} +OPTIONS_DEFINE= DOCS + do-install: @${ECHO_CMD} -n ">> Installing JAR as ${JAVAJARDIR}/${JARFILE}..." @${MKDIR} ${STAGEDIR}${JAVAJARDIR} diff --git a/www/amphetadesk/Makefile b/www/amphetadesk/Makefile index 94d572475d75..bea32ca64edc 100644 --- a/www/amphetadesk/Makefile +++ b/www/amphetadesk/Makefile @@ -38,6 +38,8 @@ SUB_LIST+= PERL="${PERL}" PORTDOCS= * +OPTIONS_DEFINE= DOCS + .include <bsd.port.pre.mk> post-patch: diff --git a/www/apache24/Makefile.options b/www/apache24/Makefile.options index 4980ae71e634..14828e0c7be3 100644 --- a/www/apache24/Makefile.options +++ b/www/apache24/Makefile.options @@ -85,6 +85,7 @@ ALL_MODULES= ${MOST_ENABLED_MODULES} ${MOST_DISABLED_MODULES} \ ${EXAMPLE_MODULES} ${META_MODULES} OPTIONS_DEFINE= \ + DOCS \ ${MOST_ENABLED_MODULES} \ ${MOST_DISABLED_MODULES}\ ${ADDITIONAL_OPT} \ diff --git a/www/axis/Makefile b/www/axis/Makefile index a60ea613c41e..928dd48fc5aa 100644 --- a/www/axis/Makefile +++ b/www/axis/Makefile @@ -13,6 +13,7 @@ COMMENT= Java SOAP implementation by Apache LICENSE= APACHE20 +OPTIONS_DEFINE= DOCS OPTIONS_SINGLE= AS OPTIONS_SINGLE_AS= TOMCAT6 TOMCAT7 OPTIONS_DEFAULT= TOMCAT6 diff --git a/www/cgicc/Makefile b/www/cgicc/Makefile index f2756ffd48a7..ac1c0f53824d 100644 --- a/www/cgicc/Makefile +++ b/www/cgicc/Makefile @@ -11,7 +11,7 @@ COMMENT= C++ class library for writing CGI applications LICENSE= LGPL3+ -OPTIONS_DEFINE= DOXYGEN +OPTIONS_DEFINE= DOXYGEN DOCS USES= gmake pathfix libtool GNU_CONFIGURE= yes @@ -24,6 +24,7 @@ CXXFLAGS+= -Wno-unknown-pragmas PORTDOCS= * +DOXYGEN_IMPLIES= DOCS DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen DOXYGEN_CONFIGURE_ENV_OFF= ac_cv_prog_DOXYGEN="${ECHO_CMD}" diff --git a/www/elixir-html_entities/Makefile b/www/elixir-html_entities/Makefile index 08296be23d89..f012ebc95ceb 100644 --- a/www/elixir-html_entities/Makefile +++ b/www/elixir-html_entities/Makefile @@ -17,4 +17,6 @@ GH_ACCOUNT= martinsvalin MIX_REWRITE= yes +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/www/elixir-html_sanitize_ex/Makefile b/www/elixir-html_sanitize_ex/Makefile index 7f81788da679..f1e08952ae49 100644 --- a/www/elixir-html_sanitize_ex/Makefile +++ b/www/elixir-html_sanitize_ex/Makefile @@ -19,4 +19,6 @@ MIX_BUILD_DEPS= www/erlang-mochiweb MIX_RUN_DEPS:= ${MIX_BUILD_DEPS} MIX_REWRITE= yes +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/www/elixir-httpoison/Makefile b/www/elixir-httpoison/Makefile index 5a21a91c8f5b..f4568886efd5 100644 --- a/www/elixir-httpoison/Makefile +++ b/www/elixir-httpoison/Makefile @@ -18,4 +18,6 @@ GH_ACCOUNT= edgurgel MIX_BUILD_DEPS= www/erlang-hackney MIX_RUN_DEPS:= ${MIX_BUILD_DEPS} +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/www/elixir-httpotion/Makefile b/www/elixir-httpotion/Makefile index 3f9bf1bbadbc..02a2cbd642f4 100644 --- a/www/elixir-httpotion/Makefile +++ b/www/elixir-httpotion/Makefile @@ -19,4 +19,6 @@ MIX_BUILD_DEPS= www/erlang-ibrowse MIX_RUN_DEPS:= ${MIX_BUILD_DEPS} MIX_REWRITE= yes +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/www/elixir-joken/Makefile b/www/elixir-joken/Makefile index e7221efd3642..06d732dbe450 100644 --- a/www/elixir-joken/Makefile +++ b/www/elixir-joken/Makefile @@ -19,4 +19,6 @@ MIX_BUILD_DEPS= devel/elixir-plug \ security/elixir-jose MIX_RUN_DEPS:= ${MIX_BUILD_DEPS} +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/www/elixir-maru/Makefile b/www/elixir-maru/Makefile index 0339542ef659..2b362f71a41b 100644 --- a/www/elixir-maru/Makefile +++ b/www/elixir-maru/Makefile @@ -20,4 +20,6 @@ MIX_BUILD_DEPS= devel/elixir-plug \ www/erlang-cowboy MIX_RUN_DEPS:= ${MIX_BUILD_DEPS} +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/www/elixir-phoenix/Makefile b/www/elixir-phoenix/Makefile index e8054e3230d1..838de1a58910 100644 --- a/www/elixir-phoenix/Makefile +++ b/www/elixir-phoenix/Makefile @@ -15,7 +15,7 @@ USES= elixir USE_GITHUB= yes GH_ACCOUNT= phoenixframework -OPTIONS_DEFINE= COWBOY +OPTIONS_DEFINE= COWBOY DOCS COWBOY_DESC= Use Cowboy library COWBOY_BUILD_DEPENDS= erlang-cowboy>=0:www/erlang-cowboy diff --git a/www/elixir-phoenix_ecto/Makefile b/www/elixir-phoenix_ecto/Makefile index 915679b8ae32..deee537ff17a 100644 --- a/www/elixir-phoenix_ecto/Makefile +++ b/www/elixir-phoenix_ecto/Makefile @@ -22,4 +22,6 @@ MIX_BUILD_DEPS= databases/elixir-ecto \ MIX_RUN_DEPS:= ${MIX_BUILD_DEPS} MIX_REWRITE= yes +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/www/elixir-phoenix_html/Makefile b/www/elixir-phoenix_html/Makefile index 2509717eca45..b528647490b9 100644 --- a/www/elixir-phoenix_html/Makefile +++ b/www/elixir-phoenix_html/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/www/elixir-phoenix_pubsub/Makefile b/www/elixir-phoenix_pubsub/Makefile index 97cd12a1c9c2..2e5d702cd8e8 100644 --- a/www/elixir-phoenix_pubsub/Makefile +++ b/www/elixir-phoenix_pubsub/Makefile @@ -17,4 +17,6 @@ GH_ACCOUNT= phoenixframework MIX_REWRITE= yes +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/www/elixir-webassembly/Makefile b/www/elixir-webassembly/Makefile index e1e9de064075..2bb815b528a2 100644 --- a/www/elixir-webassembly/Makefile +++ b/www/elixir-webassembly/Makefile @@ -15,4 +15,6 @@ USES= elixir USE_GITHUB= yes GH_ACCOUNT= herenowcoder +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/www/erlang-cowboy/Makefile b/www/erlang-cowboy/Makefile index b7dbbbc022f3..28897f766f80 100644 --- a/www/erlang-cowboy/Makefile +++ b/www/erlang-cowboy/Makefile @@ -18,6 +18,8 @@ ERL_BUILD_DEPS= www/erlang-cowlib ERL_RUN_DEPS= www/erlang-cowlib \ net/erlang-ranch +OPTIONS_DEFINE= DOCS + post-install: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} cd ${WRKSRC}/examples && ${COPYTREE_SHARE} \* ${STAGEDIR}${EXAMPLESDIR} diff --git a/www/erlang-cowlib/Makefile b/www/erlang-cowlib/Makefile index 66ca4067f285..06457f42a3f3 100644 --- a/www/erlang-cowlib/Makefile +++ b/www/erlang-cowlib/Makefile @@ -15,4 +15,6 @@ USES= erlang:rebar USE_GITHUB= yes GH_ACCOUNT= ninenines +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/www/erlang-hackney/Makefile b/www/erlang-hackney/Makefile index 65c984671b88..9cce3b684f6b 100644 --- a/www/erlang-hackney/Makefile +++ b/www/erlang-hackney/Makefile @@ -21,6 +21,8 @@ ERL_BUILD_DEPS= dns/erlang-idna \ misc/erlang-mimerl ERL_RUN_DEPS:= ${ERL_BUILD_DEPS} +OPTIONS_DEFINE= DOCS + pre-build: @${MKDIR} ${WRKSRC}/_build/default/lib .for lib in idna certifi ssl_verify_fun metrics mimerl diff --git a/www/erlang-ibrowse/Makefile b/www/erlang-ibrowse/Makefile index ad3facf1ee42..b19a8c5eae03 100644 --- a/www/erlang-ibrowse/Makefile +++ b/www/erlang-ibrowse/Makefile @@ -16,4 +16,6 @@ USES= erlang:rebar USE_GITHUB= yes GH_ACCOUNT= cmullaparthi +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/www/erlang-mochiweb-basho/Makefile b/www/erlang-mochiweb-basho/Makefile index f1640e60bbd6..1530f83299fc 100644 --- a/www/erlang-mochiweb-basho/Makefile +++ b/www/erlang-mochiweb-basho/Makefile @@ -18,6 +18,8 @@ USE_GITHUB= yes GH_ACCOUNT= basho GH_TAGNAME= 4d38821 # required +OPTIONS_DEFINE= DOCS + post-install: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} cd ${WRKSRC}/examples && ${COPYTREE_SHARE} \* ${STAGEDIR}${EXAMPLESDIR} diff --git a/www/erlang-mochiweb/Makefile b/www/erlang-mochiweb/Makefile index d69708d4b4ec..553397cba147 100644 --- a/www/erlang-mochiweb/Makefile +++ b/www/erlang-mochiweb/Makefile @@ -18,6 +18,8 @@ CPE_VENDOR= mochiweb_project USE_GITHUB= yes GH_ACCOUNT= mochi +OPTIONS_DEFINE= DOCS + post-install: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} cd ${WRKSRC}/examples && ${COPYTREE_SHARE} \* ${STAGEDIR}${EXAMPLESDIR} diff --git a/www/erlang-webmachine/Makefile b/www/erlang-webmachine/Makefile index c7e20b004e9d..252aa4f191a0 100644 --- a/www/erlang-webmachine/Makefile +++ b/www/erlang-webmachine/Makefile @@ -17,4 +17,6 @@ GH_ACCOUNT= webmachine ERL_BUILD_DEPS= www/erlang-mochiweb-basho ERL_RUN_DEPS:= ${ERL_BUILD_DEPS} +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/www/hypermail/Makefile b/www/hypermail/Makefile index e19ef899d790..688965954614 100644 --- a/www/hypermail/Makefile +++ b/www/hypermail/Makefile @@ -24,6 +24,8 @@ CONFIGURE_ARGS= --with-htmldir=${STAGEDIR}${PREFIX}/share/doc/hypermail \ CFLAGS+= -L${LOCALBASE}/lib WRKSRC= ${WRKDIR}/${PORTNAME} +OPTIONS_DEFINE= DOCS + post-install: ${STRIP_CMD} ${STAGEDIR}/${PREFIX}/bin/hypermail \ ${STAGEDIR}/${PREFIX}/bin/msg2archive \ diff --git a/www/jericho-html/Makefile b/www/jericho-html/Makefile index 5e1ce2349f51..de30f4572e3e 100644 --- a/www/jericho-html/Makefile +++ b/www/jericho-html/Makefile @@ -21,6 +21,8 @@ INTERFACES:= "compile-time-dependencies/slf4j-api-1.6.1.jar:\ PORTDOCS= * PLIST_FILES+= %%JAVAJARDIR%%/${PORTNAME}.jar +OPTIONS_DEFINE= DOCS + do-build: (cd ${WRKSRC} && ${RM} -r classes/* && ${SETENV} \ LANG=en_US.ISO8859-1 LC_ALL=en_US.ISO8859-1 ${JAVAC} \ diff --git a/www/linux-opera/Makefile b/www/linux-opera/Makefile index 7768fc123f9d..2584e3348e94 100644 --- a/www/linux-opera/Makefile +++ b/www/linux-opera/Makefile @@ -38,6 +38,8 @@ RENAME= opera lib/opera \ share/doc/opera share/opera man/man1/opera.1 \ share/mime/packages/opera-extension.xml +OPTIONS_DEFINE= DOCS + post-extract: @${GUNZIP_CMD} ${WRKSRC}/share/man/man1/*.gz @${MV} ${WRKSRC}/share/man ${WRKSRC}/man diff --git a/www/luakit/Makefile b/www/luakit/Makefile index ec3d36333b35..196a7474ca40 100644 --- a/www/luakit/Makefile +++ b/www/luakit/Makefile @@ -30,7 +30,7 @@ NOT_FOR_ARCHS_REASON_sparc64= Does not install on sparc64 MAKE_ARGS+= DEVELOPMENT_PATHS=0 -OPTIONS_DEFINE= LUAJIT +OPTIONS_DEFINE= DOCS LUAJIT LUAJIT_DESC= Use the Just-In-Time compiler for lua LUAJIT_LIB_DEPENDS= libluajit-5.1.so:lang/luajit LUAJIT_MAKE_ARGS= USE_LUAJIT=1 diff --git a/www/mod_auth_cas/Makefile b/www/mod_auth_cas/Makefile index a8f693eb3032..f617e7899ce8 100644 --- a/www/mod_auth_cas/Makefile +++ b/www/mod_auth_cas/Makefile @@ -35,6 +35,8 @@ SUB_FILES= ${APMOD_FILE} APMOD_FILE= 250_${PORTNAME}.conf.sample PLIST_SUB+= APMOD_FILE=${APMOD_FILE} +OPTIONS_DEFINE= DOCS + .include <bsd.port.pre.mk> do-install: diff --git a/www/mod_auth_external2/Makefile b/www/mod_auth_external2/Makefile index 3477a9825f1b..eeefed8f67c5 100644 --- a/www/mod_auth_external2/Makefile +++ b/www/mod_auth_external2/Makefile @@ -21,7 +21,9 @@ SHORTMODNAME= auth_external PORTDOCS= AUTHENTICATORS INSTALL README -post-install: +OPTIONS_DEFINE= DOCS + +post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} diff --git a/www/mod_auth_mysql_another/Makefile b/www/mod_auth_mysql_another/Makefile index 4813913ce7f6..8915ebe4b60e 100644 --- a/www/mod_auth_mysql_another/Makefile +++ b/www/mod_auth_mysql_another/Makefile @@ -25,6 +25,8 @@ AP_EXTRAS= -lmysqlclient_r -lz -lm PORTDOCS= CONFIGURE CHANGES +OPTIONS_DEFINE= DOCS + post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} diff --git a/www/mod_auth_pam2/Makefile b/www/mod_auth_pam2/Makefile index 7fecef1e7583..1e51a61bbade 100644 --- a/www/mod_auth_pam2/Makefile +++ b/www/mod_auth_pam2/Makefile @@ -24,6 +24,8 @@ AP_GENPLIST= yes AP_EXTRAS+= -lpam +OPTIONS_DEFINE= DOCS + post-install: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/samples/httpd ${STAGEDIR}${EXAMPLESDIR}/pam-httpd.sample diff --git a/www/mod_auth_pgsql2/Makefile b/www/mod_auth_pgsql2/Makefile index 61839d5c4890..2f74ea0b8e7b 100644 --- a/www/mod_auth_pgsql2/Makefile +++ b/www/mod_auth_pgsql2/Makefile @@ -19,6 +19,8 @@ AP_FAST_BUILD= yes AP_GENPLIST= yes PORTDOCS= mod_auth_pgsql.html +OPTIONS_DEFINE= DOCS + post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} diff --git a/www/mod_authnz_external24/Makefile b/www/mod_authnz_external24/Makefile index fb7a93efd423..9f74666523ee 100644 --- a/www/mod_authnz_external24/Makefile +++ b/www/mod_authnz_external24/Makefile @@ -21,6 +21,8 @@ SHORTMODNAME= authnz_external PORTDOCS= AUTHENTICATORS INSTALL README \ CHANGES UPGRADE INSTALL.HARDCODE +OPTIONS_DEFINE= DOCS + post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} @${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} diff --git a/www/mod_cfg_ldap/Makefile b/www/mod_cfg_ldap/Makefile index f1cddeddd19b..8089c50acd12 100644 --- a/www/mod_cfg_ldap/Makefile +++ b/www/mod_cfg_ldap/Makefile @@ -26,7 +26,9 @@ AP_LIB+= ${LDAP_LIB} PORTDOCS= AUTHORS cfg_ldap.conf ChangeLog COPYING INSTALL \ mod_cfg_ldap.schema README TODO -post-install: +OPTIONS_DEFINE= DOCS + +post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} diff --git a/www/mod_chroot/Makefile b/www/mod_chroot/Makefile index 25592bcf4aca..0571d07dea48 100644 --- a/www/mod_chroot/Makefile +++ b/www/mod_chroot/Makefile @@ -17,6 +17,8 @@ AP_GENPLIST= yes PORTDOCS= INSTALL CAVEATS README.Apache20 README +OPTIONS_DEFINE= DOCS + post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} diff --git a/www/mod_cvs2/Makefile b/www/mod_cvs2/Makefile index 3dbea8b05288..d023a5e7a8ef 100644 --- a/www/mod_cvs2/Makefile +++ b/www/mod_cvs2/Makefile @@ -22,6 +22,8 @@ AP_GENPLIST= yes PORTDOCS= reference.html guide.html README +OPTIONS_DEFINE= DOCS + post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} diff --git a/www/mod_domaintree/Makefile b/www/mod_domaintree/Makefile index 99a52b0395a7..dea58047532d 100644 --- a/www/mod_domaintree/Makefile +++ b/www/mod_domaintree/Makefile @@ -18,6 +18,8 @@ AP_GENPLIST= yes PORTDOCS= LICENSE.txt ChangeLog +OPTIONS_DEFINE= DOCS + post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} diff --git a/www/mod_evasive/Makefile b/www/mod_evasive/Makefile index cffd8b0f0803..6e36b62571d2 100644 --- a/www/mod_evasive/Makefile +++ b/www/mod_evasive/Makefile @@ -24,6 +24,8 @@ MODULENAME= ${PORTNAME}20 PORTDOCS= README test.pl +OPTIONS_DEFINE= DOCS + .include <bsd.port.pre.mk> post-patch: diff --git a/www/mod_fastcgi/Makefile b/www/mod_fastcgi/Makefile index 88ebc5911055..e68892b317de 100644 --- a/www/mod_fastcgi/Makefile +++ b/www/mod_fastcgi/Makefile @@ -19,7 +19,9 @@ AP_GENPLIST= yes SRC_FILE= *.c PORTDOCS= mod_fastcgi.html -post-install: +OPTIONS_DEFINE= DOCS + +post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/docs/|} ${STAGEDIR}${DOCSDIR} diff --git a/www/mod_geoip2/Makefile b/www/mod_geoip2/Makefile index 1dc1cf454af6..010a2deea1d5 100644 --- a/www/mod_geoip2/Makefile +++ b/www/mod_geoip2/Makefile @@ -26,6 +26,8 @@ AP_LIB+= ${LOCALBASE}/lib -lGeoIP SUB_FILES+= pkg-message PORTDOCS= Changes INSTALL.md README.md README.php +OPTIONS_DEFINE= DOCS + post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} diff --git a/www/mod_gzip2/Makefile b/www/mod_gzip2/Makefile index 60f5fc5cad53..ddded470a5f8 100644 --- a/www/mod_gzip2/Makefile +++ b/www/mod_gzip2/Makefile @@ -21,6 +21,8 @@ USES= apache:2.2+ gmake PORTDOCS= commands.txt samples.txt PORTEXAMPLES= mod_gzip2.conf.sample +OPTIONS_DEFINE= DOCS + post-patch: @${MV} ${WRKSRC}/mod_gzip.c ${WRKSRC}/${PORTNAME}.c diff --git a/www/mod_http2-devel/Makefile b/www/mod_http2-devel/Makefile index e805137fa865..c400c1e07d2b 100644 --- a/www/mod_http2-devel/Makefile +++ b/www/mod_http2-devel/Makefile @@ -31,6 +31,8 @@ CFLAGS+= -I${LOCALBASE}/include SUB_FILES= 200_mod_http2.conf 300_mod_proxy_http2.conf PORTDOCS= README README.md +OPTIONS_DEFINE= DOCS + post-install: ${MKDIR} ${STAGEDIR}${PREFIX}/${APACHEETCDIR}/modules.d ${INSTALL_DATA} ${WRKDIR}/200_mod_http2.conf \ diff --git a/www/mod_limitipconn2/Makefile b/www/mod_limitipconn2/Makefile index 7b2a015aac3d..713e12940416 100644 --- a/www/mod_limitipconn2/Makefile +++ b/www/mod_limitipconn2/Makefile @@ -22,6 +22,8 @@ AP_GENPLIST= yes PORTDOCS= ChangeLog INSTALL README +OPTIONS_DEFINE= DOCS + post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}/ diff --git a/www/mod_md-devel/Makefile b/www/mod_md-devel/Makefile index 7c98878b4a7b..5c2ceee6fbcc 100644 --- a/www/mod_md-devel/Makefile +++ b/www/mod_md-devel/Makefile @@ -39,6 +39,8 @@ SUB_FILES= 999_mod_md.conf pkg-message DOCSDIR= share/doc/mod_md PORTDOCS= README README.md +OPTIONS_DEFINE= DOCS + .include <bsd.port.pre.mk> .if ${OPSYS} == FreeBSD && ${OSVERSION} < 1100085 && ${SSL_DEFAULT} == base diff --git a/www/mod_rpaf2/Makefile b/www/mod_rpaf2/Makefile index d991f46e21f4..6c9618c9f071 100644 --- a/www/mod_rpaf2/Makefile +++ b/www/mod_rpaf2/Makefile @@ -31,6 +31,8 @@ SUB_FILES= ${APMOD_FILE} PORTDOCS= README.md +OPTIONS_DEFINE= DOCS + .include <bsd.port.pre.mk> post-install: diff --git a/www/php-templates/Makefile b/www/php-templates/Makefile index 4017cc379de9..067c5567c07f 100644 --- a/www/php-templates/Makefile +++ b/www/php-templates/Makefile @@ -26,6 +26,8 @@ SUB_FILES= pkg-message PORTDOCS= * +OPTIONS_DEFINE= DOCS + do-install: @${MKDIR} ${STAGEDIR}${PREFIX}/lib/php/${PHP_EXT_DIR} ${INSTALL_LIB} ${WRKSRC}/modules/templates.so \ diff --git a/www/pmwiki/Makefile b/www/pmwiki/Makefile index 89f3615f3cae..4503685459be 100644 --- a/www/pmwiki/Makefile +++ b/www/pmwiki/Makefile @@ -25,6 +25,8 @@ PLIST_SUB= PMWIKIDIR=${PMWIKIDIR} WWWGRP=${WWWGRP} WWWOWN=${WWWOWN} SUB_LIST+= PMWIKIDIR=${PMWIKIDIR} SUB_FILES= pkg-message +OPTIONS_DEFINE= DOCS + pre-fetch: .if !defined(PMWIKIDIR) @${ECHO_MSG} "" diff --git a/www/polipo/Makefile b/www/polipo/Makefile index 40e86a74fbc4..1e6ed01f29ac 100644 --- a/www/polipo/Makefile +++ b/www/polipo/Makefile @@ -18,6 +18,8 @@ USE_RC_SUBR= polipo INFO= polipo +OPTIONS_DEFINE= DOCS + .include <bsd.port.pre.mk> DOCSDIR= ${DATADIR}/www/doc diff --git a/www/privatebin/Makefile b/www/privatebin/Makefile index 35a73e73004b..e33a3b95e0f8 100644 --- a/www/privatebin/Makefile +++ b/www/privatebin/Makefile @@ -19,6 +19,8 @@ USE_PHP= gd hash json wddx zlib USE_GITHUB= yes GH_PROJECT= PrivateBin +OPTIONS_DEFINE= DOCS + post-patch: @${REINPLACE_CMD} -e 's:%%DATADBDIR%%:/var/db/${PORTNAME}:' \ ${WRKSRC}/index.php diff --git a/www/roundup/Makefile b/www/roundup/Makefile index 59d6fcfd0c96..cb5d8dc4e661 100644 --- a/www/roundup/Makefile +++ b/www/roundup/Makefile @@ -17,7 +17,7 @@ CPE_VENDOR= roundup-tracker USE_PYTHON= distutils NO_ARCH= yes -OPTIONS_DEFINE= SQLITE PGSQL MYSQL NLS +OPTIONS_DEFINE= DOCS SQLITE PGSQL MYSQL NLS OPTIONS_DEFAULT=SQLITE OPTIONS_SUB= yes diff --git a/www/spdylay/Makefile b/www/spdylay/Makefile index fc0db34b5f55..7247101dae86 100644 --- a/www/spdylay/Makefile +++ b/www/spdylay/Makefile @@ -34,6 +34,8 @@ USES= compiler:c++11-lang gnome libtool pathfix pkgconfig ssl tar:xz PORTDOCS= * +OPTIONS_DEFINE= DOCS + post-install: ${INSTALL_SCRIPT} ${WRKSRC}/examples/spdycli ${STAGEDIR}${PREFIX}/bin/ ${INSTALL_DATA} ${WRKSRC}/shrpx.conf.sample ${STAGEDIR}${PREFIX}/etc/ diff --git a/www/spreadlogd/Makefile b/www/spreadlogd/Makefile index 13f8f3e31c9e..3cc8d7f711f9 100644 --- a/www/spreadlogd/Makefile +++ b/www/spreadlogd/Makefile @@ -21,6 +21,8 @@ PLIST_FILES= sbin/spreadlogd etc/spreadlogd.conf.sample PORTDOCS= README +OPTIONS_DEFINE= DOCS + post-patch: @${REINPLACE_CMD} -e 's|/etc|${PREFIX}/etc|' ${WRKSRC}/spreadlogd.c diff --git a/www/squidanalyzer/Makefile b/www/squidanalyzer/Makefile index ca9ffde924b9..a93c0d501259 100644 --- a/www/squidanalyzer/Makefile +++ b/www/squidanalyzer/Makefile @@ -33,6 +33,8 @@ SUB_FILES= pkg-message CONF_FILES= excluded included network-aliases \ squidanalyzer.conf user-aliases +OPTIONS_DEFINE= DOCS + post-install: .for file in ${CONF_FILES} @${MV} ${STAGEDIR}${ETCDIR}/${file} \ diff --git a/www/varnish-libvmod-awsrest/Makefile b/www/varnish-libvmod-awsrest/Makefile index a8e9ecbf4eac..4f80790623b6 100644 --- a/www/varnish-libvmod-awsrest/Makefile +++ b/www/varnish-libvmod-awsrest/Makefile @@ -24,4 +24,6 @@ INSTALL_TARGET= install-strip USE_GITHUB= yes GH_ACCOUNT= xcir +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/www/varnish-libvmod-digest/Makefile b/www/varnish-libvmod-digest/Makefile index e8d3799317b7..c50bac7b3bee 100644 --- a/www/varnish-libvmod-digest/Makefile +++ b/www/varnish-libvmod-digest/Makefile @@ -23,4 +23,6 @@ INSTALL_TARGET= install-strip USE_GITHUB= yes GH_ACCOUNT= varnish +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/www/varnish-libvmod-maxminddb/Makefile b/www/varnish-libvmod-maxminddb/Makefile index 5a9e260dd1e6..b56704c685d0 100644 --- a/www/varnish-libvmod-maxminddb/Makefile +++ b/www/varnish-libvmod-maxminddb/Makefile @@ -26,4 +26,6 @@ GH_TAGNAME= 4ae6a7f MAKE_JOBS_UNSAFE= yes +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/www/varnish4/Makefile b/www/varnish4/Makefile index b425a0ffecec..0d6e6d833032 100644 --- a/www/varnish4/Makefile +++ b/www/varnish4/Makefile @@ -44,6 +44,8 @@ BAD_TESTS+= r00832 EXTRA_PATCHES+= ${FILESDIR}/no-inet6.patch .endif +OPTIONS_DEFINE= DOCS + post-patch: .if defined(BAD_TESTS) ${RM} ${BAD_TESTS:C|.+|${WRKSRC}/bin/varnishtest/tests/\0.vtc|} diff --git a/www/varnish5/Makefile b/www/varnish5/Makefile index 595c1d058b96..d1f912fc5f20 100644 --- a/www/varnish5/Makefile +++ b/www/varnish5/Makefile @@ -43,6 +43,8 @@ BAD_TESTS+= r00832 EXTRA_PATCHES+= ${FILESDIR}/no-inet6.patch .endif +OPTIONS_DEFINE= DOCS + post-patch: .if defined(BAD_TESTS) ${RM} ${BAD_TESTS:C|.+|${WRKSRC}/bin/varnishtest/tests/\0.vtc|} diff --git a/www/varnish6/Makefile b/www/varnish6/Makefile index 182196207294..ae3a8ab4befe 100644 --- a/www/varnish6/Makefile +++ b/www/varnish6/Makefile @@ -43,6 +43,8 @@ BAD_TESTS+= r00832 EXTRA_PATCHES+= ${FILESDIR}/no-inet6.patch .endif +OPTIONS_DEFINE= DOCS + post-patch: .if defined(BAD_TESTS) ${RM} ${BAD_TESTS:C|.+|${WRKSRC}/bin/varnishtest/tests/\0.vtc|} diff --git a/www/volta/Makefile b/www/volta/Makefile index 72867a1b1564..b7a0633dda4c 100644 --- a/www/volta/Makefile +++ b/www/volta/Makefile @@ -25,6 +25,8 @@ PLIST_FILES= bin/volta PORTDOCS= README INSTALL LICENSE ChangeLog SUB_FILES= pkg-message +OPTIONS_DEFINE= DOCS + do-install: ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} diff --git a/www/webinject/Makefile b/www/webinject/Makefile index 56bc38f4c46e..e7988b1c8c26 100644 --- a/www/webinject/Makefile +++ b/www/webinject/Makefile @@ -32,6 +32,8 @@ PLIST_FILES= bin/webinject.pl \ PORTDOCS= LICENSE README +OPTIONS_DEFINE= DOCS + do-install: @${MKDIR} ${STAGEDIR}${DATADIR} @cd ${WRKSRC} && ${INSTALL_DATA} *.xml ${STAGEDIR}${DATADIR} diff --git a/www/websh/Makefile b/www/websh/Makefile index 8f9852a19b1b..f78f6b45af03 100644 --- a/www/websh/Makefile +++ b/www/websh/Makefile @@ -29,6 +29,8 @@ PORTEXAMPLES= * CONFIGURE_ARGS+=--with-httpdinclude=`apxs -q includedir` +OPTIONS_DEFINE= DOCS + CPPFLAGS+= -I ${LOCALBASE}/include/apr-1 .if !defined(NO_WERROR) && ${CC} == "cc" || ${CC:T:Mgcc*} != "" CPPFLAGS+= -Wall -Werror diff --git a/www/www6to4/Makefile b/www/www6to4/Makefile index 09e3a3775fd2..efeb24c4cc2e 100644 --- a/www/www6to4/Makefile +++ b/www/www6to4/Makefile @@ -20,6 +20,8 @@ PORTDOCS= README ALL_TARGET= www6to4 +OPTIONS_DEFINE= DOCS + post-patch: @${REINPLACE_CMD} -e 's,/etc,${ETCDIR},' \ ${WRKSRC}/www6to4.c ${WRKSRC}/www6to4.conf diff --git a/www/xshttpd-devel/Makefile b/www/xshttpd-devel/Makefile index 4c78c6aea709..5cc1b6861883 100644 --- a/www/xshttpd-devel/Makefile +++ b/www/xshttpd-devel/Makefile @@ -22,7 +22,7 @@ USE_RC_SUBR= xshttpd GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-hier=bsd --with-userid=${WWWOWN}:${WWWGRP} -OPTIONS_DEFINE= BDB CURL LDAP M4 NETPBM PERL +OPTIONS_DEFINE= BDB CURL LDAP M4 NETPBM PERL DOCS OPTIONS_DEFAULT= BDB CURL M4 NETPBM OPTIONS_SUB= yes BDB_USES= bdb:5+ diff --git a/www/xshttpd/Makefile b/www/xshttpd/Makefile index 1a68b3fb844d..a35b925cca91 100644 --- a/www/xshttpd/Makefile +++ b/www/xshttpd/Makefile @@ -24,7 +24,7 @@ GNU_CONFIGURE= yes WWWDIR= ${PREFIX}/www/${PORTNAME} CONFIGURE_ARGS+=--with-rootdir=${WWWDIR} -OPTIONS_DEFINE= SSL PCRE LDAP CURL M4_CONFIG PERSISTENT_PERL +OPTIONS_DEFINE= SSL PCRE LDAP CURL M4_CONFIG PERSISTENT_PERL DOCS OPTIONS_DEFAULT=SSL PCRE SSL_USES= ssl SSL_CONFIGURE_WITH= ssl diff --git a/x11-clocks/kteatime/Makefile b/x11-clocks/kteatime/Makefile index e3e256da63e0..537438b22694 100644 --- a/x11-clocks/kteatime/Makefile +++ b/x11-clocks/kteatime/Makefile @@ -14,4 +14,6 @@ USE_KDE= auth codecs config configwidgets coreaddons crash doctools ecm \ USE_QT= core dbus gui widgets xml \ buildtools_build qmake_build +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/x11-clocks/ktimer/Makefile b/x11-clocks/ktimer/Makefile index 3e1b293bdaf7..074e5ed6d877 100644 --- a/x11-clocks/ktimer/Makefile +++ b/x11-clocks/ktimer/Makefile @@ -14,4 +14,6 @@ USE_KDE= auth codecs completion config configwidgets coreaddons \ USE_QT= core dbus gui network widgets xml \ buildtools_build qmake_build +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/x11-drivers/xf86-video-qxl/Makefile b/x11-drivers/xf86-video-qxl/Makefile index a74ee0d6296a..48967cfed48f 100644 --- a/x11-drivers/xf86-video-qxl/Makefile +++ b/x11-drivers/xf86-video-qxl/Makefile @@ -24,6 +24,8 @@ CONFIGURE_ARGS+=--enable-xspice python_OLD_CMD= "/usr/bin/python" SHEBANG_FILES= scripts/Xspice +OPTIONS_DEFINE= DOCS + post-install: ${MKDIR} ${STAGEDIR}${PREFIX}/etc/X11/xorg.conf.d ${INSTALL_DATA} ${WRKSRC}/examples/spiceqxl.xorg.conf.example \ diff --git a/x11-fm/dolphin/Makefile b/x11-fm/dolphin/Makefile index 1043c81db5db..59d0bc0e5b96 100644 --- a/x11-fm/dolphin/Makefile +++ b/x11-fm/dolphin/Makefile @@ -29,4 +29,6 @@ SHLIB_VER= 5.0.0 PLIST_SUB+= SHLIB_VER="${SHLIB_VER}" \ SHLIB_SHVER="${SHLIB_VER:R:R}" +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/x11-fm/konqueror/Makefile b/x11-fm/konqueror/Makefile index d22d35e1b2b6..0f0774cec1a2 100644 --- a/x11-fm/konqueror/Makefile +++ b/x11-fm/konqueror/Makefile @@ -20,4 +20,6 @@ USE_QT= core dbus gui location network printsupport qml quick script \ buildtools_build qmake_build USE_XORG= ice sm x11 xext +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/x11-fm/mucommander/Makefile b/x11-fm/mucommander/Makefile index 45e05d03c3c9..4a310b3a23d5 100644 --- a/x11-fm/mucommander/Makefile +++ b/x11-fm/mucommander/Makefile @@ -22,6 +22,8 @@ PORTDOCS= readme.txt WRKSRC= ${WRKDIR}/muCommander-${PORTVERSION:S/./_/g} +OPTIONS_DEFINE= DOCS + do-install: @${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/mucommander.jar ${STAGEDIR}${DATADIR} diff --git a/x11-fm/rodent/Makefile b/x11-fm/rodent/Makefile index 08226b4bc469..27fd319eefc5 100644 --- a/x11-fm/rodent/Makefile +++ b/x11-fm/rodent/Makefile @@ -30,7 +30,7 @@ SHEBANG_FILES= configure PORTDOCS= * -OPTIONS_DEFINE= NLS +OPTIONS_DEFINE= NLS DOCS OPTIONS_SUB= yes NLS_USES= gettext diff --git a/x11-fonts/averiagwf/Makefile b/x11-fonts/averiagwf/Makefile index dd1e9e4be955..3583a3594ff3 100644 --- a/x11-fonts/averiagwf/Makefile +++ b/x11-fonts/averiagwf/Makefile @@ -19,6 +19,8 @@ NO_WRKSUBDIR= yes PORTDOCS= FONTLOG.txt +OPTIONS_DEFINE= DOCS + do-install: ${MKDIR} ${STAGEDIR}${FONTSDIR} cd ${WRKSRC} && ${INSTALL_DATA} *.ttf ${STAGEDIR}${FONTSDIR} diff --git a/x11-fonts/linux-c6-fontconfig/Makefile b/x11-fonts/linux-c6-fontconfig/Makefile index 4190670ac93c..a8aa23301b0b 100644 --- a/x11-fonts/linux-c6-fontconfig/Makefile +++ b/x11-fonts/linux-c6-fontconfig/Makefile @@ -16,6 +16,8 @@ USE_LDCONFIG= yes USE_LINUX= expat USE_LINUX_RPM= yes +OPTIONS_DEFINE= DOCS + post-patch: @${RM} -r ${WRKSRC}/etc ${WRKSRC}/usr/share/fonts ${WRKSRC}/var diff --git a/x11-fonts/linux-c7-fontconfig/Makefile b/x11-fonts/linux-c7-fontconfig/Makefile index 8fef85c015cd..73fbd5fcf28d 100644 --- a/x11-fonts/linux-c7-fontconfig/Makefile +++ b/x11-fonts/linux-c7-fontconfig/Makefile @@ -18,6 +18,8 @@ USE_LDCONFIG= yes USE_LINUX= expat USE_LINUX_RPM= yes +OPTIONS_DEFINE= DOCS + post-patch: @${RM} -r ${WRKSRC}/etc ${WRKSRC}/usr/share/fonts \ ${WRKSRC}/usr/share/fontconfig ${WRKSRC}/var diff --git a/x11-fonts/mkbold-mkitalic/Makefile b/x11-fonts/mkbold-mkitalic/Makefile index 097947cc6ab9..9ab14a24f7f2 100644 --- a/x11-fonts/mkbold-mkitalic/Makefile +++ b/x11-fonts/mkbold-mkitalic/Makefile @@ -16,6 +16,8 @@ PLIST_FILES= bin/mkbold bin/mkitalic bin/mkbolditalic PORTDOCS= ALGORITHM ALGORITHM.eucJP LICENSE README README.eucJP USES= tar:bzip2 +OPTIONS_DEFINE= DOCS + post-install: ${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC}; ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}) diff --git a/x11-fonts/webfonts/Makefile b/x11-fonts/webfonts/Makefile index f442098952ad..0f018271e6f4 100644 --- a/x11-fonts/webfonts/Makefile +++ b/x11-fonts/webfonts/Makefile @@ -32,7 +32,7 @@ EXTRACT_CMD= ${LOCALBASE}/bin/cabextract EXTRACT_BEFORE_ARGS= -qLF '[a-uw-z]*.ttf' -d ${WRKSRC} EXTRACT_AFTER_ARGS= -OPTIONS_DEFINE= EXTRAFONTS CLEARTYPE NEWVERDANA +OPTIONS_DEFINE= EXTRAFONTS CLEARTYPE NEWVERDANA DOCS OPTIONS_SUB= yes EXTRAFONTS_DESC= Fonts licensed under MS Windows license diff --git a/x11-themes/sddm-freebsd-black-theme/Makefile b/x11-themes/sddm-freebsd-black-theme/Makefile index 4f3db50a5eea..e032d48a2cb5 100644 --- a/x11-themes/sddm-freebsd-black-theme/Makefile +++ b/x11-themes/sddm-freebsd-black-theme/Makefile @@ -25,6 +25,8 @@ PLIST_SUB= THEMEDIR=${THEMEDIR_REL} SUB_FILES= pkg-message PORTDOCS= README.md AUTHORS COPYING TRADEMARKS +OPTIONS_DEFINE= DOCS + do-install: ${MKDIR} ${STAGEDIR}${THEMEDIR} (cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${THEMEDIR} \ diff --git a/x11-themes/slim-freebsd-black-theme/Makefile b/x11-themes/slim-freebsd-black-theme/Makefile index 29c1a1c26699..1f840145e490 100644 --- a/x11-themes/slim-freebsd-black-theme/Makefile +++ b/x11-themes/slim-freebsd-black-theme/Makefile @@ -24,6 +24,8 @@ PLIST_SUB= THEMEDIR=${THEMEDIR_REL} SUB_FILES= pkg-message PORTDOCS= README.md AUTHORS COPYING TRADEMARKS +OPTIONS_DEFINE= DOCS + do-install: ${MKDIR} ${STAGEDIR}${THEMEDIR} (cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${THEMEDIR} \ diff --git a/x11-toolkits/gtksourceview3/Makefile b/x11-toolkits/gtksourceview3/Makefile index 32682b0fe9d4..660d5a62a75c 100644 --- a/x11-toolkits/gtksourceview3/Makefile +++ b/x11-toolkits/gtksourceview3/Makefile @@ -35,6 +35,8 @@ CPPFLAGS+= -I${LOCALBASE}/include LIBS+= -L${LOCALBASE}/lib INSTALL_TARGET= install-strip +OPTIONS_DEFINE= DOCS + post-patch: @${REINPLACE_CMD} -e 's|tests testsuite||g' \ ${WRKSRC}/Makefile.in diff --git a/x11-toolkits/libxaw3dxft/Makefile b/x11-toolkits/libxaw3dxft/Makefile index 639bafeb08c9..3237d880734e 100644 --- a/x11-toolkits/libxaw3dxft/Makefile +++ b/x11-toolkits/libxaw3dxft/Makefile @@ -26,6 +26,8 @@ CPPFLAGS+= -I${LOCALBASE}/include/freetype2 DOCSDIR= ${LOCALBASE}/share/doc/libXaw3dXft PORTDOCS= * +OPTIONS_DEFINE= DOCS + post-patch: @${REINPLACE_CMD} '/^typedef.*Pixel;/d' ${WRKSRC}/src/Xaw3dXft.c diff --git a/x11-toolkits/linux-c6-openmotif/Makefile b/x11-toolkits/linux-c6-openmotif/Makefile index 7f81303e4683..125b2014e772 100644 --- a/x11-toolkits/linux-c6-openmotif/Makefile +++ b/x11-toolkits/linux-c6-openmotif/Makefile @@ -16,6 +16,8 @@ USE_LDCONFIG= yes USE_LINUX= xorglibs USE_LINUX_RPM= yes +OPTIONS_DEFINE= DOCS + post-patch: @${RM} -r ${WRKSRC}/etc ${WRKSRC}/usr/bin ${WRKSRC}/usr/include \ ${WRKSRC}/usr/share/X11 ${WRKSRC}/usr/share/man diff --git a/x11-toolkits/linux-c6-pango/Makefile b/x11-toolkits/linux-c6-pango/Makefile index 342b9357df4a..f458782703eb 100644 --- a/x11-toolkits/linux-c6-pango/Makefile +++ b/x11-toolkits/linux-c6-pango/Makefile @@ -16,4 +16,6 @@ USE_LDCONFIG= yes USE_LINUX= cairo fontconfig libthai xorglibs USE_LINUX_RPM= yes +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/x11-toolkits/linux-c6-tk85/Makefile b/x11-toolkits/linux-c6-tk85/Makefile index e80791dde202..1501d922a844 100644 --- a/x11-toolkits/linux-c6-tk85/Makefile +++ b/x11-toolkits/linux-c6-tk85/Makefile @@ -19,4 +19,6 @@ USE_LINUX= xorglibs USE_LINUX_RPM= yes USE_LINUX_RPM_BAD_PERMS= yes +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/x11-toolkits/linux-c7-openmotif/Makefile b/x11-toolkits/linux-c7-openmotif/Makefile index d41d5ed21b56..b9ed1f5ea156 100644 --- a/x11-toolkits/linux-c7-openmotif/Makefile +++ b/x11-toolkits/linux-c7-openmotif/Makefile @@ -18,6 +18,8 @@ USE_LDCONFIG= yes USE_LINUX= xorglibs USE_LINUX_RPM= yes +OPTIONS_DEFINE= DOCS + post-patch: @${RM} -r ${WRKSRC}/etc ${WRKSRC}/usr/bin ${WRKSRC}/usr/include \ ${WRKSRC}/usr/share/X11 ${WRKSRC}/usr/share/man diff --git a/x11-toolkits/linux-c7-pango/Makefile b/x11-toolkits/linux-c7-pango/Makefile index 343ad1b92b09..dfaf80dcd3ac 100644 --- a/x11-toolkits/linux-c7-pango/Makefile +++ b/x11-toolkits/linux-c7-pango/Makefile @@ -17,4 +17,6 @@ USE_LDCONFIG= yes USE_LINUX= cairo fontconfig harfbuzz libthai xorglibs USE_LINUX_RPM= yes +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/x11-toolkits/linux-c7-tk85/Makefile b/x11-toolkits/linux-c7-tk85/Makefile index 9f206512780d..972a5ecdfbe4 100644 --- a/x11-toolkits/linux-c7-tk85/Makefile +++ b/x11-toolkits/linux-c7-tk85/Makefile @@ -21,4 +21,6 @@ USE_LINUX= xorglibs USE_LINUX_RPM= yes USE_LINUX_RPM_BAD_PERMS= yes +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/x11-toolkits/osm-gps-map/Makefile b/x11-toolkits/osm-gps-map/Makefile index 88bea77b8619..6a3458ee9973 100644 --- a/x11-toolkits/osm-gps-map/Makefile +++ b/x11-toolkits/osm-gps-map/Makefile @@ -21,4 +21,6 @@ GNU_CONFIGURE= yes MAKE_ARGS= pkgconfigdir="${PREFIX}/libdata/pkgconfig" INSTALL_TARGET= install-strip +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/x11-toolkits/py-fltk/Makefile b/x11-toolkits/py-fltk/Makefile index 99f551c9558c..b012bcf1c37e 100644 --- a/x11-toolkits/py-fltk/Makefile +++ b/x11-toolkits/py-fltk/Makefile @@ -30,6 +30,8 @@ PORTDOCS= * PORTEXAMPLES= * WRKSRC= ${WRKDIR}/pyFltk-${PORTVERSION} +OPTIONS_DEFINE= DOCS + post-patch: @${REINPLACE_CMD} -e "s|/usr/X11R6|${LOCALBASE}|g;s|package_data.*},||g;s|sunos5|dragonfly4', 'freebsd8', 'freebsd9', 'freebsd10', 'freebsd11', 'freebsd12|g" ${WRKSRC}/setup.py diff --git a/x11-wm/blackbox/Makefile b/x11-wm/blackbox/Makefile index 34e97c3a24ff..1151b4c4c404 100644 --- a/x11-wm/blackbox/Makefile +++ b/x11-wm/blackbox/Makefile @@ -22,7 +22,7 @@ LDFLAGS+= ${ICONV_LIB} PORTDOCS= README.bbtools README.bsetbg MANPAGES= bsetbg.1 bsetroot.1 -OPTIONS_DEFINE= TOOLS_ONLY +OPTIONS_DEFINE= TOOLS_ONLY DOCS TOOLS_ONLY_DESC= Do not install window manager, only tools diff --git a/x11-wm/ctwm/Makefile b/x11-wm/ctwm/Makefile index b87622651a64..98d0cd8baa68 100644 --- a/x11-wm/ctwm/Makefile +++ b/x11-wm/ctwm/Makefile @@ -16,4 +16,6 @@ LICENSE= MIT USES= cmake:outsource jpeg tar:xz USE_XORG= x11 xext xt ice sm xpm xmu +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/x11-wm/larswm/Makefile b/x11-wm/larswm/Makefile index c48db9a77fac..b3109c7f5fae 100644 --- a/x11-wm/larswm/Makefile +++ b/x11-wm/larswm/Makefile @@ -19,6 +19,8 @@ PLIST_FILES= bin/larsclock bin/larsmenu bin/larsremote bin/larswm \ man/man1/larsclock.1.gz man/man1/larsmenu.1.gz \ man/man1/larsremote.1.gz man/man1/larswm.1.gz +OPTIONS_DEFINE= DOCS + post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for file in ${PORTDOCS} diff --git a/x11-wm/xfce4-panel-profiles/Makefile b/x11-wm/xfce4-panel-profiles/Makefile index 4bdea603234e..3a583cb8dfc2 100644 --- a/x11-wm/xfce4-panel-profiles/Makefile +++ b/x11-wm/xfce4-panel-profiles/Makefile @@ -19,6 +19,8 @@ HAS_CONFIGURE= yes SHEBANG_FILES= xfce4-panel-profiles/xfce4-panel-profiles.py \ xfce4-panel-profiles/panelconfig.py +OPTIONS_DEFINE= DOCS + post-install: ${RLN} ${STAGEDIR}${PREFIX}/share/locale ${STAGEDIR}${PREFIX}/share/${PORTNAME}/locale diff --git a/x11/alttab/Makefile b/x11/alttab/Makefile index ca2b01324d35..8cce83b28df8 100644 --- a/x11/alttab/Makefile +++ b/x11/alttab/Makefile @@ -28,4 +28,6 @@ PORTDOCS= README \ alttab.ad \ wm-setup.md +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/x11/konsole/Makefile b/x11/konsole/Makefile index 1eded20cc54b..9620d59af60b 100644 --- a/x11/konsole/Makefile +++ b/x11/konsole/Makefile @@ -21,4 +21,6 @@ USE_QT= core dbus gui network printsupport script scripttools sql \ widgets xml \ buildtools_build qmake_build +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/x11/libXcm/Makefile b/x11/libXcm/Makefile index 45f8d0e3010f..c2f94a38ef30 100644 --- a/x11/libXcm/Makefile +++ b/x11/libXcm/Makefile @@ -19,4 +19,6 @@ USE_XORG= x11 xfixes xmu xt INSTALL_TARGET= install-strip PORTDOCS= * +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/x11/lightdm-gtk-greeter/Makefile b/x11/lightdm-gtk-greeter/Makefile index b0cda2286099..c4277efe9635 100644 --- a/x11/lightdm-gtk-greeter/Makefile +++ b/x11/lightdm-gtk-greeter/Makefile @@ -21,6 +21,8 @@ USE_GNOME= cairo gdkpixbuf2 gtk30 intltool USE_XFCE= libexo USE_XORG= x11 +OPTIONS_DEFINE= DOCS + post-install: (cd ${STAGEDIR}${PREFIX}/etc/lightdm && ${MV} lightdm-gtk-greeter.conf \ lightdm-gtk-greeter.conf.sample) diff --git a/x11/linux-c6-xorg-libs/Makefile b/x11/linux-c6-xorg-libs/Makefile index 28d6842d035c..79023a09d704 100644 --- a/x11/linux-c6-xorg-libs/Makefile +++ b/x11/linux-c6-xorg-libs/Makefile @@ -81,6 +81,8 @@ USE_LDCONFIG= yes USE_LINUX= fontconfig USE_LINUX_RPM= yes +OPTIONS_DEFINE= DOCS + post-patch: @${RM} -r ${WRKSRC}/usr/share/icons diff --git a/x11/linux-c7-xorg-libs/Makefile b/x11/linux-c7-xorg-libs/Makefile index 68308215b53d..6b92d473c03b 100644 --- a/x11/linux-c7-xorg-libs/Makefile +++ b/x11/linux-c7-xorg-libs/Makefile @@ -85,6 +85,8 @@ USE_LDCONFIG= yes USE_LINUX= fontconfig USE_LINUX_RPM= yes +OPTIONS_DEFINE= DOCS + post-patch: @${RM} -r ${WRKSRC}/usr/share/icons diff --git a/x11/mate-desktop/Makefile b/x11/mate-desktop/Makefile index b5ff54408c1c..d973e93f478b 100644 --- a/x11/mate-desktop/Makefile +++ b/x11/mate-desktop/Makefile @@ -49,4 +49,6 @@ GLIB_SCHEMAS= org.mate.accessibility-keyboard.gschema.xml \ org.mate.typing-break.gschema.xml \ org.mate.debug.gschema.xml +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/x11/mate-panel/Makefile b/x11/mate-panel/Makefile index 19e834262409..929ee89ba292 100644 --- a/x11/mate-panel/Makefile +++ b/x11/mate-panel/Makefile @@ -44,4 +44,6 @@ GLIB_SCHEMAS= org.mate.panel.applet.clock.gschema.xml \ org.mate.panel.object.gschema.xml \ org.mate.panel.toplevel.gschema.xml +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/x11/menulibre/Makefile b/x11/menulibre/Makefile index e15736d5da03..b25f80f4c49c 100644 --- a/x11/menulibre/Makefile +++ b/x11/menulibre/Makefile @@ -22,6 +22,8 @@ USE_GNOME= intltool pygobject3 USE_PYTHON= distutils INSTALLS_ICONS= yes +OPTIONS_DEFINE= DOCS + .include <bsd.port.pre.mk> PYDISTUTILS_INSTALLARGS:= ${PYDISTUTILS_INSTALLARGS:N--single-version-externally-managed} diff --git a/x11/trayer/Makefile b/x11/trayer/Makefile index 2071e93cd579..7abb3e8b3e81 100644 --- a/x11/trayer/Makefile +++ b/x11/trayer/Makefile @@ -26,6 +26,8 @@ PORTDOCS= README CREDITS CHANGELOG PLIST_FILES= bin/trayer man/man1/trayer.1.gz +OPTIONS_DEFINE= DOCS + post-install: ${INSTALL_MAN} ${WRKSRC}/man/${PORTNAME}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 ${MKDIR} ${STAGEDIR}${DOCSDIR} diff --git a/x11/urxvt-perls/Makefile b/x11/urxvt-perls/Makefile index faf57edb1bf1..96550b12eae4 100644 --- a/x11/urxvt-perls/Makefile +++ b/x11/urxvt-perls/Makefile @@ -21,6 +21,8 @@ INSTDIR_REL= lib/urxvt/perl SCRIPTS= clipboard keyboard-select url-select PLIST_FILES+= ${SCRIPTS:C/^/${INSTDIR_REL}\//} +OPTIONS_DEFINE= DOCS + do-install: ${MKDIR} ${STAGEDIR}${PREFIX}/${INSTDIR_REL} .for s in ${SCRIPTS} diff --git a/x11/wbarconf/Makefile b/x11/wbarconf/Makefile index 6239ce087621..529474d96edd 100644 --- a/x11/wbarconf/Makefile +++ b/x11/wbarconf/Makefile @@ -23,6 +23,8 @@ WRKSRC= ${WRKDIR}/${PORTNAME} PORTDOCS= README COPYING INSTALLS_ICONS= yes +OPTIONS_DEFINE= DOCS + do-install: ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin ${MKDIR} ${STAGEDIR}${DATADIR} diff --git a/x11/xcm/Makefile b/x11/xcm/Makefile index 5d9c0cd17a12..f88ecd77c344 100644 --- a/x11/xcm/Makefile +++ b/x11/xcm/Makefile @@ -30,4 +30,6 @@ PLIST_FILES= bin/xcm bin/xcmedid bin/xcmevents bin/xcmhextobin \ man/man1/xcmevents.1.gz man/man1/xcmhextobin.1.gz PORTDOCS= * +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> |