Page MenuHomeFreeBSD

D13651.id37518.diff
No OneTemporary

D13651.id37518.diff

This file is larger than 256 KB, so syntax highlighting was skipped.
Index: Mk/bsd.options.mk
===================================================================
--- Mk/bsd.options.mk
+++ Mk/bsd.options.mk
@@ -409,18 +409,16 @@
# Sort options and eliminate duplicates
PORT_OPTIONS:= ${PORT_OPTIONS:O:u}
-## Now some compatibility
-.if empty(PORT_OPTIONS:MDOCS)
-PLIST_SUB+= PORTDOCS="@comment "
-.else
-PLIST_SUB+= PORTDOCS=""
-.endif
-
-.if empty(PORT_OPTIONS:MEXAMPLES)
-PLIST_SUB+= PORTEXAMPLES="@comment "
-.else
-PLIST_SUB+= PORTEXAMPLES=""
-.endif
+# Handle PORTDOCS and PORTEXAMPLES
+.for _type in DOCS EXAMPLES
+. if !empty(OPTIONS_DEFINE:M${_type})
+. if empty(PORT_OPTIONS:M${_type})
+PLIST_SUB+= PORT${_type}="@comment "
+. else
+PLIST_SUB+= PORT${_type}=""
+. endif
+. endif
+.endfor
.if ${PORT_OPTIONS:MDEBUG}
WITH_DEBUG= yes
Index: Mk/bsd.sanity.mk
===================================================================
--- Mk/bsd.sanity.mk
+++ Mk/bsd.sanity.mk
@@ -146,6 +146,12 @@
DEV_ERROR+= "USE_TCL and USE_TK are no longer supported, please use USES=tcl or USES=tk"
.endif
+.for _type in EXAMPLES DOCS
+. if defined(PORT${_type}) && empty(OPTIONS_DEFINE:M${_type})
+DEV_ERROR+= "PORT${_type} does not do anything if the ${_type} option is not present."
+. endif
+.endfor
+
SANITY_UNSUPPORTED= USE_OPENAL USE_FAM USE_MAKESELF USE_ZIP USE_LHA USE_CMAKE \
USE_READLINE USE_ICONV PERL_CONFIGURE PERL_MODBUILD \
USE_PERL5_BUILD USE_PERL5_RUN USE_DISPLAY USE_FUSE \
Index: archivers/brotli/Makefile
===================================================================
--- archivers/brotli/Makefile
+++ archivers/brotli/Makefile
@@ -23,6 +23,8 @@
INSTALL_TARGET= install-strip
PLIST_SUB= SHLIBVER=${PORTVERSION}
+OPTIONS_DEFINE= DOCS
+
pre-configure:
(cd ${WRKSRC} && ./bootstrap)
Index: archivers/erlang-snappy/Makefile
===================================================================
--- archivers/erlang-snappy/Makefile
+++ archivers/erlang-snappy/Makefile
@@ -18,4 +18,6 @@
GH_PROJECT= snappy-erlang-nif
GH_TAGNAME= 0951a1b
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: archivers/lzop/Makefile
===================================================================
--- archivers/lzop/Makefile
+++ archivers/lzop/Makefile
@@ -18,4 +18,6 @@
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: archivers/zip-ada/Makefile
===================================================================
--- archivers/zip-ada/Makefile
+++ archivers/zip-ada/Makefile
@@ -44,6 +44,8 @@
test_llhc \
test_lz77
+OPTIONS_DEFINE= EXAMPLES
+
do-build:
(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} gnatmake -p -P zipada.gpr)
Index: astro/geographiclib/Makefile
===================================================================
--- astro/geographiclib/Makefile
+++ astro/geographiclib/Makefile
@@ -28,7 +28,7 @@
INSTALL_TARGET= install-strip
USE_LDCONFIG= yes
-OPTIONS_DEFINE= DOXYGEN PERL
+OPTIONS_DEFINE= DOXYGEN PERL DOCS
OPTIONS_DEFAULT= DOXYGEN PERL\
GEOID_EGM96_5 GRAVITY_EGM96 GRAVITY_WGS84\
MAGNETIC_WMM2015 MAGNETIC_IGRF12
Index: astro/opencpn/Makefile
===================================================================
--- astro/opencpn/Makefile
+++ astro/opencpn/Makefile
@@ -34,6 +34,8 @@
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 \
Index: audio/cava/Makefile
===================================================================
--- audio/cava/Makefile
+++ audio/cava/Makefile
@@ -22,7 +22,7 @@
INSTALL_TARGET= install-strip
-OPTIONS_DEFINE= PULSEAUDIO SNDIO
+OPTIONS_DEFINE= PULSEAUDIO SNDIO EXAMPLES
OPTIONS_DEFAULT=PULSEAUDIO
PULSEAUDIO_CONFIGURE_ENV_OFF= ac_cv_lib_pulse_simple_pa_simple_new=no
@@ -39,7 +39,7 @@
pre-configure:
@${ECHO_CMD} ${DISTVERSION} > ${WRKSRC}/version
-post-install:
+post-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/example_files/config ${STAGEDIR}${EXAMPLESDIR}
Index: audio/libnjb/Makefile
===================================================================
--- audio/libnjb/Makefile
+++ audio/libnjb/Makefile
@@ -23,8 +23,9 @@
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
Index: audio/linux-c6-alsa-lib/Makefile
===================================================================
--- audio/linux-c6-alsa-lib/Makefile
+++ audio/linux-c6-alsa-lib/Makefile
@@ -19,6 +19,8 @@
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
Index: audio/linux-c6-alsa-plugins-oss/Makefile
===================================================================
--- audio/linux-c6-alsa-plugins-oss/Makefile
+++ audio/linux-c6-alsa-plugins-oss/Makefile
@@ -22,4 +22,6 @@
USE_LINUX= alsalib
USE_LINUX_RPM= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: audio/linux-c6-alsa-plugins-pulseaudio/Makefile
===================================================================
--- audio/linux-c6-alsa-plugins-pulseaudio/Makefile
+++ audio/linux-c6-alsa-plugins-pulseaudio/Makefile
@@ -22,4 +22,6 @@
USE_LINUX= alsalib pulseaudio-libs
USE_LINUX_RPM= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: audio/linux-c6-flac/Makefile
===================================================================
--- audio/linux-c6-flac/Makefile
+++ audio/linux-c6-flac/Makefile
@@ -16,4 +16,6 @@
USE_LINUX= libogg
USE_LINUX_RPM= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: audio/linux-c6-libaudiofile/Makefile
===================================================================
--- audio/linux-c6-libaudiofile/Makefile
+++ audio/linux-c6-libaudiofile/Makefile
@@ -15,4 +15,6 @@
USE_LDCONFIG= yes
USE_LINUX_RPM= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: audio/linux-c6-libogg/Makefile
===================================================================
--- audio/linux-c6-libogg/Makefile
+++ audio/linux-c6-libogg/Makefile
@@ -15,4 +15,6 @@
USE_LDCONFIG= yes
USE_LINUX_RPM= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: audio/linux-c6-libsndfile/Makefile
===================================================================
--- audio/linux-c6-libsndfile/Makefile
+++ audio/linux-c6-libsndfile/Makefile
@@ -16,4 +16,6 @@
USE_LINUX= flac libogg libvorbis
USE_LINUX_RPM= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: audio/linux-c6-libvorbis/Makefile
===================================================================
--- audio/linux-c6-libvorbis/Makefile
+++ audio/linux-c6-libvorbis/Makefile
@@ -16,4 +16,6 @@
USE_LINUX= libogg
USE_LINUX_RPM= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: audio/linux-c6-mikmod/Makefile
===================================================================
--- audio/linux-c6-mikmod/Makefile
+++ audio/linux-c6-mikmod/Makefile
@@ -16,4 +16,6 @@
USE_LDCONFIG= yes
USE_LINUX_RPM= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: audio/linux-c6-nas-libs/Makefile
===================================================================
--- audio/linux-c6-nas-libs/Makefile
+++ audio/linux-c6-nas-libs/Makefile
@@ -17,6 +17,8 @@
USE_LINUX= xorglibs
USE_LINUX_RPM= yes
+OPTIONS_DEFINE= DOCS
+
post-patch:
@${RM} -r ${WRKSRC}/etc ${WRKSRC}/usr/bin ${WRKSRC}/usr/share/man
Index: audio/linux-c6-openal-soft/Makefile
===================================================================
--- audio/linux-c6-openal-soft/Makefile
+++ audio/linux-c6-openal-soft/Makefile
@@ -17,4 +17,6 @@
USE_LINUX= alsalib
USE_LINUX_RPM= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: audio/linux-c6-sdl_mixer/Makefile
===================================================================
--- audio/linux-c6-sdl_mixer/Makefile
+++ audio/linux-c6-sdl_mixer/Makefile
@@ -22,4 +22,6 @@
USE_LINUX= sdl12
USE_LINUX_RPM= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: audio/linux-c7-alsa-lib/Makefile
===================================================================
--- audio/linux-c7-alsa-lib/Makefile
+++ audio/linux-c7-alsa-lib/Makefile
@@ -19,6 +19,8 @@
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
Index: audio/linux-c7-alsa-plugins-oss/Makefile
===================================================================
--- audio/linux-c7-alsa-plugins-oss/Makefile
+++ audio/linux-c7-alsa-plugins-oss/Makefile
@@ -23,4 +23,6 @@
USE_LINUX= alsalib
USE_LINUX_RPM= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: audio/linux-c7-alsa-plugins-pulseaudio/Makefile
===================================================================
--- audio/linux-c7-alsa-plugins-pulseaudio/Makefile
+++ audio/linux-c7-alsa-plugins-pulseaudio/Makefile
@@ -23,4 +23,6 @@
USE_LINUX= alsalib pulseaudio-libs
USE_LINUX_RPM= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: audio/linux-c7-audiofile/Makefile
===================================================================
--- audio/linux-c7-audiofile/Makefile
+++ audio/linux-c7-audiofile/Makefile
@@ -17,4 +17,6 @@
USE_LDCONFIG= yes
USE_LINUX_RPM= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: audio/linux-c7-flac/Makefile
===================================================================
--- audio/linux-c7-flac/Makefile
+++ audio/linux-c7-flac/Makefile
@@ -22,4 +22,6 @@
USE_LINUX= libogg
USE_LINUX_RPM= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: audio/linux-c7-libogg/Makefile
===================================================================
--- audio/linux-c7-libogg/Makefile
+++ audio/linux-c7-libogg/Makefile
@@ -17,4 +17,6 @@
USE_LDCONFIG= yes
USE_LINUX_RPM= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: audio/linux-c7-libsndfile/Makefile
===================================================================
--- audio/linux-c7-libsndfile/Makefile
+++ audio/linux-c7-libsndfile/Makefile
@@ -18,4 +18,6 @@
USE_LINUX= flac libogg libvorbis
USE_LINUX_RPM= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: audio/linux-c7-libvorbis/Makefile
===================================================================
--- audio/linux-c7-libvorbis/Makefile
+++ audio/linux-c7-libvorbis/Makefile
@@ -18,4 +18,6 @@
USE_LINUX= libogg
USE_LINUX_RPM= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: audio/linux-c7-openal-soft/Makefile
===================================================================
--- audio/linux-c7-openal-soft/Makefile
+++ audio/linux-c7-openal-soft/Makefile
@@ -20,4 +20,6 @@
USE_LINUX= alsalib
USE_LINUX_RPM= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: audio/linux-c7-sdl_mixer/Makefile
===================================================================
--- audio/linux-c7-sdl_mixer/Makefile
+++ audio/linux-c7-sdl_mixer/Makefile
@@ -23,4 +23,6 @@
USE_LINUX= sdl12
USE_LINUX_RPM= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: audio/py-soundcloud/Makefile
===================================================================
--- audio/py-soundcloud/Makefile
+++ audio/py-soundcloud/Makefile
@@ -19,7 +19,9 @@
USE_PYTHON= autoplist distutils
PORTDOCS= README.rst
-DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME}
+DOCSDIR= ${PREFIX}/share/doc/${PKGBASE}
+
+OPTIONS_DEFINE= DOCS
post-install:
${MKDIR} ${STAGEDIR}${DOCSDIR}
Index: audio/speex/Makefile
===================================================================
--- audio/speex/Makefile
+++ audio/speex/Makefile
@@ -18,4 +18,6 @@
USES= libtool pathfix pkgconfig
USE_LDCONFIG= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: audio/speexdsp/Makefile
===================================================================
--- audio/speexdsp/Makefile
+++ audio/speexdsp/Makefile
@@ -14,6 +14,8 @@
USES= libtool pathfix
USE_LDCONFIG= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
.if ${ARCH} == "aarch64"
Index: audio/yoshimi/Makefile
===================================================================
--- audio/yoshimi/Makefile
+++ audio/yoshimi/Makefile
@@ -34,4 +34,6 @@
CMAKE_SOURCE_PATH= ${WRKSRC}/src
INSTALLS_ICONS= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: benchmarks/iperf3/Makefile
===================================================================
--- benchmarks/iperf3/Makefile
+++ benchmarks/iperf3/Makefile
@@ -22,6 +22,8 @@
# 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
Index: benchmarks/pathchirp/Makefile
===================================================================
--- benchmarks/pathchirp/Makefile
+++ benchmarks/pathchirp/Makefile
@@ -17,6 +17,8 @@
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
Index: benchmarks/ramspeed/Makefile
===================================================================
--- benchmarks/ramspeed/Makefile
+++ benchmarks/ramspeed/Makefile
@@ -18,6 +18,8 @@
PLIST_FILES= bin/ramspeed
PORTDOCS= HISTORY README
+OPTIONS_DEFINE= DOCS
+
do-build:
cd ${BUILD_WRKSRC} && ${SETENV} ${MAKE_ENV} ${SH} build.sh
Index: benchmarks/thrulay/Makefile
===================================================================
--- benchmarks/thrulay/Makefile
+++ benchmarks/thrulay/Makefile
@@ -20,6 +20,8 @@
PORTDOCS= ChangeLog README thrulay-protocol.txt thrulay-index.html
+OPTIONS_DEFINE= DOCS
+
post-patch:
${REINPLACE_CMD} -e '922s,datarootdir,prefix,g' ${WRKSRC}/configure
Index: biology/bowtie/Makefile
===================================================================
--- biology/bowtie/Makefile
+++ biology/bowtie/Makefile
@@ -25,6 +25,8 @@
USE_GITHUB= yes
GH_ACCOUNT= BenLangmead
+OPTIONS_DEFINE= DOCS
+
post-install:
${MKDIR} ${STAGEDIR}${DATADIR}/scripts
${INSTALL_SCRIPT} \
Index: cad/astk-serveur/Makefile
===================================================================
--- cad/astk-serveur/Makefile
+++ cad/astk-serveur/Makefile
@@ -63,7 +63,7 @@
.if !defined(CLIENT_SEUL)
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:R}/ASTK_SERV
PATCHDIR= ${MASTERDIR}/files
-PLIST_SUB= ASTKDIR=${LINSTDIR}/ASTK_SERV SERV="" CLIENT="@comment "\
+PLIST_SUB+= ASTKDIR=${LINSTDIR}/ASTK_SERV SERV="" CLIENT="@comment "\
vaster=${vaster}
PATCH2RM= bin/as_run bin/parallel_cp etc/asrun etc/profile.sh \
asrun/config.py asrun/installation.py asrun/system.py \
@@ -91,7 +91,7 @@
TKPNG= tkpng${TKPNG_VER}
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:R}/ASTK_CLIENT
PATCHDIR= ${MASTERDIR}/files.client
-PLIST_SUB= ASTKDIR=${LINSTDIR}/ASTK_CLIENT SERV="@comment " CLIENT="" vaster="" \
+PLIST_SUB+= ASTKDIR=${LINSTDIR}/ASTK_CLIENT SERV="@comment " CLIENT="" vaster="" \
BWidget_DIR=${LINSTDIR}/ASTK_CLIENT/lib/BWidget-${BWidget_VER}
PATCH2RM= bin/astk bin/bsf etc/astkrc/outils lib/init.tcl lib/tkselecteur.tcl
.endif
Index: cad/calculix-ccx/Makefile
===================================================================
--- cad/calculix-ccx/Makefile
+++ cad/calculix-ccx/Makefile
@@ -32,6 +32,7 @@
CCX_VER= ccx_${PORTVERSION}
WRKSRC= ${WRKDIR}/CalculiX/${CCX_VER}/src
+DOCSDIR= ${PREFIX}/share/doc/CalculiX
OPTIONS_DEFINE= DOCS EXAMPLES
@@ -50,7 +51,6 @@
.if ${PORT_OPTIONS:MDOCS}
DISTFILES+= ${DIST_HTM} ${DIST_PS}
EXTRACT_ONLY+= ${DIST_HTM} ${DIST_PS}
-DOCSDIR= ${PREFIX}/share/doc/CalculiX
.endif
.if $(PORT_OPTIONS:MEXAMPLES)
@@ -76,18 +76,18 @@
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${CCX_VER} \
${STAGEDIR}${PREFIX}/bin/ccx
-.if ${PORT_OPTIONS:MDOCS}
+
+do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
@(cd ${WRKDIR}/CalculiX/${CCX_VER}/doc/ccx && ${COPYTREE_SHARE} . \
${STAGEDIR}${DOCSDIR}/ccx)
${INSTALL_DATA} ${WRKDIR}/CalculiX/${CCX_VER}/doc/${CCX_VER}.ps \
${STAGEDIR}${DOCSDIR}
@${GZIP_CMD} ${STAGEDIR}${DOCSDIR}/${CCX_VER}.ps
-.endif
-.if ${PORT_OPTIONS:MEXAMPLES}
+
+do-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
@(cd ${WRKDIR}/CalculiX/${CCX_VER}/test && ${COPYTREE_SHARE} . \
${STAGEDIR}${EXAMPLESDIR})
-.endif
.include <bsd.port.mk>
Index: cad/gmsh/Makefile
===================================================================
--- cad/gmsh/Makefile
+++ cad/gmsh/Makefile
@@ -36,7 +36,7 @@
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
Index: cad/gtkwave/Makefile
===================================================================
--- cad/gtkwave/Makefile
+++ cad/gtkwave/Makefile
@@ -21,7 +21,7 @@
USE_GNOME= cairo gtk20
INSTALLS_ICONS= yes
-OPTIONS_DEFINE= TCL GCONF
+OPTIONS_DEFINE= TCL GCONF DOCS
TCL_DESC= Enable support for TCL/TK
TCL_USES= tcl tk
TCL_CONFIGURE_ON= --with-tcl=${TCL_LIBDIR} \
Index: cad/opencascade/Makefile
===================================================================
--- cad/opencascade/Makefile
+++ cad/opencascade/Makefile
@@ -34,7 +34,7 @@
ENVSH= env.sh adm/templates/env.sh.in adm/templates/env.sh
VTKVER= 6.2
-OPTIONS_DEFINE= VIS DOXYGEN
+OPTIONS_DEFINE= VIS DOXYGEN DOCS
VIS_DESC= Build Visualizazion module (requires OpenGL, freetype, ftgl and gl2ps)
OPTIONS_DEFAULT=VIS
OPTIONS_SUB= yes
@@ -69,6 +69,7 @@
VIS_CMAKE_ON= -D3RDPARTY_FREETYPE_DIR=${LOCALBASE}
+DOXYGEN_IMPLIES= DOCS
DOXYGEN_USE= TEX=latex:build
DOXYGEN_BUILD_DEPENDS= bash:shells/bash \
doxygen:devel/doxygen \
Index: cad/qcad/Makefile
===================================================================
--- cad/qcad/Makefile
+++ cad/qcad/Makefile
@@ -47,6 +47,8 @@
#QSCRIPTS should not be installed to avoid conflicts with texlive-base
QSCRIPTS= bbox dwg2bmp dwg2pdf dwg2svg
+OPTIONS_DEFINE= EXAMPLES
+
pre-configure:
${REINPLACE_CMD} -e "s|%%DATADIR%%|${DATADIR}|" \
${WRKSRC}/src/core/RS.cpp
Index: cad/qelectrotech/Makefile
===================================================================
--- cad/qelectrotech/Makefile
+++ cad/qelectrotech/Makefile
@@ -19,7 +19,7 @@
USE_QT5= 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
Index: cad/tkgate/Makefile
===================================================================
--- cad/tkgate/Makefile
+++ cad/tkgate/Makefile
@@ -16,6 +16,8 @@
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 \
Index: comms/dcf77pi/Makefile
===================================================================
--- comms/dcf77pi/Makefile
+++ comms/dcf77pi/Makefile
@@ -14,7 +14,7 @@
USE_GITHUB= yes
GH_ACCOUNT= rene0
-OPTIONS_DEFINE= DOXYGEN
+OPTIONS_DEFINE= DOXYGEN DOCS
DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen
DOXYGEN_ALL_TARGET= all doxygen
@@ -24,6 +24,7 @@
PATCH_STRIP= -p1
PORTDOCS= CHANGELOG.md README.md
+DOXYGEN_IMPLIES= DOCS
DOXYGEN_PORTDOCS= html/*
INSTALL_TARGET= install-strip
Index: comms/direwolf/Makefile
===================================================================
--- comms/direwolf/Makefile
+++ comms/direwolf/Makefile
@@ -24,6 +24,8 @@
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
Index: comms/gnuradio/Makefile
===================================================================
--- comms/gnuradio/Makefile
+++ comms/gnuradio/Makefile
@@ -69,7 +69,7 @@
filter noaa pager pmt qtgui runtime trellis video-sdl\
vocoder wavelet wxgui
-OPTIONS_DEFINE= UHD TESTING DOXYGEN
+OPTIONS_DEFINE= DOCS UHD TESTING DOXYGEN
# Unfortunately building docs on i386 fails
##OPTIONS_EXCLUDE_${i386}= DOXYGEN
# Yay. building docs is broken on 10 and HEAD too so turn them all off
Index: comms/hidapi/Makefile
===================================================================
--- comms/hidapi/Makefile
+++ comms/hidapi/Makefile
@@ -24,6 +24,8 @@
CPPFLAGS+= -I${LOCALBASE}/include
LIBS+= -L${LOCALBASE}/lib
+OPTIONS_DEFINE= DOCS
+
pre-configure:
@${CP} ${LOCALBASE}/share/gettext/config.rpath ${WRKSRC}
Index: comms/libirman/Makefile
===================================================================
--- comms/libirman/Makefile
+++ comms/libirman/Makefile
@@ -19,4 +19,6 @@
PORTDOCS= README TECHNICAL
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: comms/nasawash/Makefile
===================================================================
--- comms/nasawash/Makefile
+++ comms/nasawash/Makefile
@@ -17,6 +17,8 @@
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}
Index: comms/nec2c/Makefile
===================================================================
--- comms/nec2c/Makefile
+++ comms/nec2c/Makefile
@@ -14,7 +14,7 @@
LIB_DEPENDS= libccm.so:math/ccmath
-OPTIONS_DEFINE= EXAMPLES
+OPTIONS_DEFINE= DOCS EXAMPLES
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/nec2c ${STAGEDIR}${PREFIX}/bin
Index: comms/splat/Makefile
===================================================================
--- comms/splat/Makefile
+++ comms/splat/Makefile
@@ -13,6 +13,7 @@
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
Index: comms/svxlink/Makefile
===================================================================
--- comms/svxlink/Makefile
+++ comms/svxlink/Makefile
@@ -36,7 +36,7 @@
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 @@
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 \
Index: comms/thebridge/Makefile
===================================================================
--- comms/thebridge/Makefile
+++ comms/thebridge/Makefile
@@ -25,6 +25,8 @@
INSTALL_TARGET= install-strip
+OPTIONS_DEFINE= DOCS
+
post-patch:
@${REINPLACE_CMD} 's!tbdcmd=\/usr\/local!tbdcmd=${PREFIX}!'\
${WRKSRC}/addons/usermgmt.cgi
Index: comms/tlf/Makefile
===================================================================
--- comms/tlf/Makefile
+++ comms/tlf/Makefile
@@ -27,4 +27,6 @@
HAMLIB_LIB_DEPENDS= libhamlib.so:comms/hamlib
HAMLIB_CONFIGURE_ENABLE=hamlib
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: comms/twpsk/Makefile
===================================================================
--- comms/twpsk/Makefile
+++ comms/twpsk/Makefile
@@ -21,4 +21,6 @@
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
PORTDOCS= *
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: comms/uhd/Makefile
===================================================================
--- comms/uhd/Makefile
+++ comms/uhd/Makefile
@@ -42,7 +42,7 @@
IMAGE_FILE= uhd-images_003.010.002.000-release.zip
-OPTIONS_DEFINE= DOXYGEN
+OPTIONS_DEFINE= DOXYGEN DOCS
#OPTIONS_DEFAULT= DOXYGEN
OPTIONS_SUB=yes
Index: comms/wspr/Makefile
===================================================================
--- comms/wspr/Makefile
+++ comms/wspr/Makefile
@@ -31,6 +31,8 @@
#LDFLAGS+= -shared
VERSION= 4.00
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.pre.mk>
pre-configure:
@${CP} ${FILESDIR}/wspr.sh.in ${WRKSRC}
Index: converters/erlang-base64url/Makefile
===================================================================
--- converters/erlang-base64url/Makefile
+++ converters/erlang-base64url/Makefile
@@ -15,4 +15,6 @@
USE_GITHUB= yes
GH_ACCOUNT= dvv
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: databases/arangodb32/Makefile
===================================================================
--- databases/arangodb32/Makefile
+++ databases/arangodb32/Makefile
@@ -26,6 +26,8 @@
GROUPS= arangodb
USE_RC_SUBR= arangod
+OPTIONS_DEFINE= DOCS
+
post-install:
.for section in 1 8
${MV} ${STAGEDIR}${PREFIX}/share/man/man${section}/* ${STAGEDIR}${PREFIX}/man/man${section}/
Index: databases/c3p0/Makefile
===================================================================
--- databases/c3p0/Makefile
+++ databases/c3p0/Makefile
@@ -18,6 +18,8 @@
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}
Index: databases/couchdb/Makefile
===================================================================
--- databases/couchdb/Makefile
+++ databases/couchdb/Makefile
@@ -44,6 +44,8 @@
INFO= CouchDB
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-patch:
Index: databases/dbh/Makefile
===================================================================
--- databases/dbh/Makefile
+++ databases/dbh/Makefile
@@ -28,10 +28,10 @@
.if ${PORT_OPTIONS:MGTKDOC}
CONFIGURE_ARGS+= --enable-gtk-doc-html
-PLIST_SUB= GTKDOC=""
+PLIST_SUB+= GTKDOC=""
.else
CONFIGURE_ARGS+= --disable-gtk-doc-html
-PLIST_SUB= GTKDOC="@comment "
+PLIST_SUB+= GTKDOC="@comment "
.endif
post-patch:
Index: databases/elixir-calecto/Makefile
===================================================================
--- databases/elixir-calecto/Makefile
+++ databases/elixir-calecto/Makefile
@@ -19,4 +19,6 @@
devel/elixir-calendar
MIX_RUN_DEPS:= ${MIX_BUILD_DEPS}
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: databases/elixir-db_connection/Makefile
===================================================================
--- databases/elixir-db_connection/Makefile
+++ databases/elixir-db_connection/Makefile
@@ -21,4 +21,6 @@
MIX_RUN_DEPS:= ${MIX_BUILD_DEPS}
MIX_REWRITE= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: databases/elixir-ecto/Makefile
===================================================================
--- databases/elixir-ecto/Makefile
+++ databases/elixir-ecto/Makefile
@@ -15,7 +15,7 @@
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
Index: databases/elixir-exredis/Makefile
===================================================================
--- databases/elixir-exredis/Makefile
+++ databases/elixir-exredis/Makefile
@@ -17,4 +17,6 @@
MIX_BUILD_DEPS= databases/erlang-eredis
MIX_RUN_DEPS:= ${MIX_BUILD_DEPS}
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: databases/elixir-geo/Makefile
===================================================================
--- databases/elixir-geo/Makefile
+++ databases/elixir-geo/Makefile
@@ -23,4 +23,6 @@
MIX_RUN_DEPS:= ${MIX_BUILD_DEPS}
MIX_REWRITE= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: databases/elixir-mariaex/Makefile
===================================================================
--- databases/elixir-mariaex/Makefile
+++ databases/elixir-mariaex/Makefile
@@ -21,4 +21,6 @@
MIX_RUN_DEPS:= ${MIX_BUILD_DEPS}
MIX_REWRITE= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: databases/elixir-mongo/Makefile
===================================================================
--- databases/elixir-mongo/Makefile
+++ databases/elixir-mongo/Makefile
@@ -18,4 +18,6 @@
MIX_BUILD_DEPS= devel/elixir-bson
MIX_RUN_DEPS:= ${MIX_BUILD_DEPS}
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: databases/elixir-postgrex/Makefile
===================================================================
--- databases/elixir-postgrex/Makefile
+++ databases/elixir-postgrex/Makefile
@@ -21,4 +21,6 @@
MIX_RUN_DEPS:= ${MIX_BUILD_DEPS}
MIX_REWRITE= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: databases/elixir-timex_ecto/Makefile
===================================================================
--- databases/elixir-timex_ecto/Makefile
+++ databases/elixir-timex_ecto/Makefile
@@ -19,4 +19,6 @@
MIX_RUN_DEPS:= ${MIX_BUILD_DEPS}
MIX_REWRITE= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: databases/erlang-couchbeam/Makefile
===================================================================
--- databases/erlang-couchbeam/Makefile
+++ databases/erlang-couchbeam/Makefile
@@ -18,4 +18,6 @@
www/erlang-hackney
ERL_RUN_DEPS:= ${ERL_BUILD_DEPS}
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: databases/erlang-epgsql/Makefile
===================================================================
--- databases/erlang-epgsql/Makefile
+++ databases/erlang-epgsql/Makefile
@@ -13,4 +13,6 @@
USES= erlang:rebar3
USE_GITHUB= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: databases/erlang-eredis/Makefile
===================================================================
--- databases/erlang-eredis/Makefile
+++ databases/erlang-eredis/Makefile
@@ -15,4 +15,6 @@
USE_GITHUB= yes
GH_ACCOUNT= wooga
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: databases/libgda5/Makefile
===================================================================
--- databases/libgda5/Makefile
+++ databases/libgda5/Makefile
@@ -37,7 +37,7 @@
.include <bsd.port.options.mk>
VERSION= 5.0
-PLIST_SUB= VERSION=${VERSION}
+PLIST_SUB+= VERSION=${VERSION}
.if ${LIBGDA5_SLAVE}!="no"
USE_GNOME+= libgda5
Index: databases/libodbc++/Makefile
===================================================================
--- databases/libodbc++/Makefile
+++ databases/libodbc++/Makefile
@@ -11,8 +11,9 @@
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
Index: databases/linux-c6-sqlite3/Makefile
===================================================================
--- databases/linux-c6-sqlite3/Makefile
+++ databases/linux-c6-sqlite3/Makefile
@@ -15,4 +15,6 @@
USE_LDCONFIG= yes
USE_LINUX_RPM= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: databases/linux-c7-sqlite3/Makefile
===================================================================
--- databases/linux-c7-sqlite3/Makefile
+++ databases/linux-c7-sqlite3/Makefile
@@ -19,4 +19,6 @@
USE_LDCONFIG= yes
USE_LINUX_RPM= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: databases/mdcached/Makefile
===================================================================
--- databases/mdcached/Makefile
+++ databases/mdcached/Makefile
@@ -18,6 +18,8 @@
PORTDOCS= UserGuide.txt mdcached.txt
+OPTIONS_DEFINE= DOCS
+
post-patch:
@${REINPLACE_CMD} 's|ADDCFLAGS = -Wall -g -O3 -march=native|ADDCFLAGS = ${CFLAGS}|' \
${WRKSRC}/Makefile
Index: databases/memcacheq/Makefile
===================================================================
--- databases/memcacheq/Makefile
+++ databases/memcacheq/Makefile
@@ -28,6 +28,8 @@
MCQDIR?= /var/db/memcacheq
PLIST_SUB= MCQDIR=${MCQDIR}
+OPTIONS_DEFINE= DOCS
+
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
Index: databases/monetdb/Makefile
===================================================================
--- databases/monetdb/Makefile
+++ databases/monetdb/Makefile
@@ -35,7 +35,7 @@
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
Index: databases/mongodb32-tools/Makefile
===================================================================
--- databases/mongodb32-tools/Makefile
+++ databases/mongodb32-tools/Makefile
@@ -17,7 +17,7 @@
GH_ACCOUNT= mongodb
GH_PROJECT= mongo-tools
-OPTIONS_DEFINE= SSL SASL
+OPTIONS_DEFINE= SSL SASL DOCS
OPTIONS_DEFAULT= SSL
SASL_USE= my_tags=sasl
Index: databases/mongodb34-tools/Makefile
===================================================================
--- databases/mongodb34-tools/Makefile
+++ databases/mongodb34-tools/Makefile
@@ -18,7 +18,7 @@
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
Index: databases/ora2pg/Makefile
===================================================================
--- databases/ora2pg/Makefile
+++ databases/ora2pg/Makefile
@@ -22,6 +22,8 @@
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' \
Index: databases/p5-DBD-Excel/Makefile
===================================================================
--- databases/p5-DBD-Excel/Makefile
+++ databases/p5-DBD-Excel/Makefile
@@ -21,7 +21,9 @@
USES= perl5
USE_PERL5= configure
-post-install:
+OPTIONS_DEFINE= EXAMPLES
+
+post-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
@${INSTALL_DATA} ${WRKSRC}/sample/* ${STAGEDIR}${EXAMPLESDIR}
Index: databases/pg_partman/Makefile
===================================================================
--- databases/pg_partman/Makefile
+++ databases/pg_partman/Makefile
@@ -18,6 +18,8 @@
USE_GITHUB= yes
GH_TUPLE= keithf4:${PORTNAME}:v${PORTVERSION}
+OPTIONS_DEFINE= DOCS
+
post-install:
${MKDIR} ${STAGEDIR}${DOCSDIR}
${MV} ${STAGEDIR}${PREFIX}/share/doc/postgresql/extension/*.md ${STAGEDIR}${DOCSDIR}
Index: databases/pgbarman/Makefile
===================================================================
--- databases/pgbarman/Makefile
+++ databases/pgbarman/Makefile
@@ -31,6 +31,8 @@
PORTDOCS= tutorial.pdf
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.pre.mk>
.if ${PGSQL_VER:M9\.[12345]}
Index: databases/pgespresso/Makefile
===================================================================
--- databases/pgespresso/Makefile
+++ databases/pgespresso/Makefile
@@ -27,6 +27,8 @@
INSTALL_TARGET= install-strip
MAKE_ARGS= INSTALL="${INSTALL} -c"
+OPTIONS_DEFINE= DOCS
+
post-install:
${MKDIR} ${STAGEDIR}${DOCSDIR}/
${INSTALL_MAN} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR}/
Index: databases/pglogical/Makefile
===================================================================
--- databases/pglogical/Makefile
+++ databases/pglogical/Makefile
@@ -28,9 +28,9 @@
.include <bsd.port.pre.mk>
.if ${PGSQL_VER:M9.4}
-PLIST_SUB= PGSQL94=""
+PLIST_SUB+= PGSQL94=""
.else
-PLIST_SUB= PGSQL94="@comment "
+PLIST_SUB+= PGSQL94="@comment "
.endif
# FFI
Index: databases/pgpool-II-33/Makefile
===================================================================
--- databases/pgpool-II-33/Makefile
+++ databases/pgpool-II-33/Makefile
@@ -27,7 +27,7 @@
TODO doc/pgpool-en.html doc/pgpool-ja.html doc/pgpool.css \
doc/tutorial-en.html doc/tutorial-ja.html
-OPTIONS_DEFINE+= DOCS SSL LIBMEMCACHED PAM
+OPTIONS_DEFINE+= DOCS SSL LIBMEMCACHED PAM EXAMPLES
OPTIONS_DEFAULT= SSL PAM
# Buggy configure: adding eg. --without-pam to CONFIGURE_ARGS causes
Index: databases/postgresql10-server/Makefile
===================================================================
--- databases/postgresql10-server/Makefile
+++ databases/postgresql10-server/Makefile
@@ -28,4 +28,6 @@
USES+= pkgconfig
.endif
+OPTIONS_DEFINE= DOCS
+
.include "${.CURDIR}/../postgresql92-server/Makefile"
Index: databases/postgresql92-server/Makefile
===================================================================
--- databases/postgresql92-server/Makefile
+++ databases/postgresql92-server/Makefile
@@ -78,7 +78,7 @@
.endif
.if defined(SERVER_ONLY)
-OPTIONS_DEFINE= DTRACE LDAP INTDATE TZDATA XML
+OPTIONS_DEFINE+= DTRACE LDAP INTDATE TZDATA XML
LDAP_DESC= Build with LDAP authentication support
DTRACE_DESC= Build with DTrace probes
TZDATA_DESC= Use internal timezone database
Index: databases/postgresql94-server/Makefile
===================================================================
--- databases/postgresql94-server/Makefile
+++ databases/postgresql94-server/Makefile
@@ -15,4 +15,6 @@
ICU_PATCHFILE= pg-949-icu-2016-10-02.diff.gz
+OPTIONS_DEFINE= DOCS
+
.include "${.CURDIR}/../postgresql92-server/Makefile"
Index: databases/postgresql95-server/Makefile
===================================================================
--- databases/postgresql95-server/Makefile
+++ databases/postgresql95-server/Makefile
@@ -18,4 +18,6 @@
ICU_PATCHFILE= pg-954-icu-2016-08-10.diff.gz
+OPTIONS_DEFINE= DOCS
+
.include "${.CURDIR}/../postgresql92-server/Makefile"
Index: databases/postgresql96-server/Makefile
===================================================================
--- databases/postgresql96-server/Makefile
+++ databases/postgresql96-server/Makefile
@@ -23,4 +23,6 @@
ICU_PATCHFILE= pg-96b4-icu-2016-10-02.diff.gz
OPTIONS_DEFAULT+=ICU
+OPTIONS_DEFINE= DOCS
+
.include "${.CURDIR}/../postgresql92-server/Makefile"
Index: databases/powerarchitect/Makefile
===================================================================
--- databases/powerarchitect/Makefile
+++ databases/powerarchitect/Makefile
@@ -12,7 +12,7 @@
LICENSE= GPLv3
-OPTIONS_DEFINE= MYSQL_JDBC PGSQL_JDBC
+OPTIONS_DEFINE= MYSQL_JDBC PGSQL_JDBC DOCS
MYSQL_JDBC_RUN_DEPENDS= ${JAVALIBDIR}/mysql-connector-java.jar:databases/mysql-connector-java
PGSQL_JDBC_RUN_DEPENDS= ${JAVALIBDIR}/postgresql.jar:databases/postgresql-jdbc
Index: databases/py-PyGreSQL/Makefile
===================================================================
--- databases/py-PyGreSQL/Makefile
+++ databases/py-PyGreSQL/Makefile
@@ -18,6 +18,8 @@
PORTDOCS= *
+OPTIONS_DEFINE= DOCS
+
post-install:
${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/_pg.so
@${MKDIR} ${STAGEDIR}${DOCSDIR}
Index: databases/py-bsddb3/Makefile
===================================================================
--- databases/py-bsddb3/Makefile
+++ databases/py-bsddb3/Makefile
@@ -20,7 +20,9 @@
PYDISTUTILS_INSTALLARGS=-c -O1 --prefix=${PREFIX} --berkeley-db=${LOCALBASE}
PORTDOCS= *
-DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME}
+DOCSDIR= ${PREFIX}/share/doc/${PKGBASE}
+
+OPTIONS_DEFINE= DOCS
post-patch:
${REINPLACE_CMD} 's,%%DBVERSION%%,${BDB_LIB_NAME},g' ${WRKSRC}/setup2.py ${WRKSRC}/setup3.py
Index: databases/qdbm/Makefile
===================================================================
--- databases/qdbm/Makefile
+++ databases/qdbm/Makefile
@@ -29,6 +29,8 @@
INSTALL_TARGET= install-strip
PORTDOCS= ChangeLog NEWS
+OPTIONS_DEFINE= DOCS
+
post-patch:
.if defined(WITH_DEBUG)
@${REINPLACE_CMD} 's/-DNDEBUG//' ${WRKSRC}/Makefile.in
Index: databases/skytools/Makefile
===================================================================
--- databases/skytools/Makefile
+++ databases/skytools/Makefile
@@ -24,6 +24,8 @@
--docdir=${EXAMPLESDIR} \
--with-pgconfig=${LOCALBASE}/bin/pg_config
+OPTIONS_DEFINE= EXAMPLES
+
post-patch:
@${REINPLACE_CMD} -e 's=share/doc=share/examples=' ${WRKSRC}/setup_skytools.py
Index: databases/sqlcached/Makefile
===================================================================
--- databases/sqlcached/Makefile
+++ databases/sqlcached/Makefile
@@ -23,6 +23,8 @@
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}|' \
Index: deskutils/gnote/Makefile
===================================================================
--- deskutils/gnote/Makefile
+++ deskutils/gnote/Makefile
@@ -39,6 +39,8 @@
PLIST_SUB+= VERSION=${PORTVERSION}
+OPTIONS_DEFINE= DOCS
+
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for i in ${DOCS}
Index: deskutils/notecase/Makefile
===================================================================
--- deskutils/notecase/Makefile
+++ deskutils/notecase/Makefile
@@ -24,6 +24,8 @@
PORTDOCS= help.ncd
+OPTIONS_DEFINE= DOCS
+
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/notecase
Index: deskutils/taskd/Makefile
===================================================================
--- deskutils/taskd/Makefile
+++ deskutils/taskd/Makefile
@@ -48,6 +48,8 @@
PORTDOCS= *
+OPTIONS_DEFINE= DOCS
+
post-install:
(cd ${WRKSRC}/pki && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR})
${MKDIR} ${STAGEDIR}${TASKD_DBDIR}
Index: deskutils/tasksh/Makefile
===================================================================
--- deskutils/tasksh/Makefile
+++ deskutils/tasksh/Makefile
@@ -10,4 +10,6 @@
USES= cmake readline
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: devel/babeltrace/Makefile
===================================================================
--- devel/babeltrace/Makefile
+++ devel/babeltrace/Makefile
@@ -31,6 +31,8 @@
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
Index: devel/bbfreeze/Makefile
===================================================================
--- devel/bbfreeze/Makefile
+++ devel/bbfreeze/Makefile
@@ -21,6 +21,8 @@
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' \
Index: devel/bisoncpp/Makefile
===================================================================
--- devel/bisoncpp/Makefile
+++ devel/bisoncpp/Makefile
@@ -41,6 +41,8 @@
parser/driver/build \
scanner/driver/build
+OPTIONS_DEFINE= DOCS
+
post-patch:
@${REINPLACE_CMD} 's|%%PREFIX%%|${PREFIX}|g' \
${WRKSRC}/INSTALL.im
Index: devel/boost-docs/Makefile
===================================================================
--- devel/boost-docs/Makefile
+++ devel/boost-docs/Makefile
@@ -9,6 +9,8 @@
NO_BUILD= yes
+OPTIONS_DEFINE= DOCS
+
.include "${.CURDIR}/..//boost-all/common.mk"
do-install:
Index: devel/breakpad/Makefile
===================================================================
--- devel/breakpad/Makefile
+++ devel/breakpad/Makefile
@@ -18,6 +18,8 @@
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
Index: devel/cctz/Makefile
===================================================================
--- devel/cctz/Makefile
+++ devel/cctz/Makefile
@@ -26,6 +26,8 @@
include/time_zone.h lib/libcctz.a
PORTDOCS= README.md
+OPTIONS_DEFINE= DOCS
+
post-install:
${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
Index: devel/commit-patch/Makefile
===================================================================
--- devel/commit-patch/Makefile
+++ devel/commit-patch/Makefile
@@ -26,6 +26,8 @@
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?=/' \
Index: devel/critcl/Makefile
===================================================================
--- devel/critcl/Makefile
+++ devel/critcl/Makefile
@@ -29,7 +29,7 @@
NO_BUILD= yes
-.include <bsd.port.options.mk>
+OPTIONS_DEFINE= DOCS
post-patch:
${REINPLACE_CMD} -e 's|dtplite|${LOCALBASE}/bin/dtplite|g' ${WRKSRC}/build.tcl
Index: devel/cvs2svn/Makefile
===================================================================
--- devel/cvs2svn/Makefile
+++ devel/cvs2svn/Makefile
@@ -55,6 +55,8 @@
PLIST_FILES+= ${MANPAGES:S|^|man/man1/|}
+OPTIONS_DEFINE= DOCS EXAMPLES
+
post-patch:
# be consistent with PORTVERSION
@${REINPLACE_CMD} -e 's|2.5.0-dev|2.4.0|' \
Index: devel/cvsweb3/Makefile
===================================================================
--- devel/cvsweb3/Makefile
+++ devel/cvsweb3/Makefile
@@ -35,6 +35,8 @@
NO_BUILD= yes
NO_ARCH= yes
+OPTIONS_DEFINE= DOCS EXAMPLES
+
.include <bsd.port.pre.mk>
# Specify where your repository belongs.
Index: devel/distel/Makefile
===================================================================
--- devel/distel/Makefile
+++ devel/distel/Makefile
@@ -21,6 +21,8 @@
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
Index: devel/editline/Makefile
===================================================================
--- devel/editline/Makefile
+++ devel/editline/Makefile
@@ -20,6 +20,8 @@
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
Index: devel/elixir-apex/Makefile
===================================================================
--- devel/elixir-apex/Makefile
+++ devel/elixir-apex/Makefile
@@ -18,4 +18,6 @@
MIX_REWRITE= yes
MIX_BUILD_NAME= shared
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: devel/elixir-bson/Makefile
===================================================================
--- devel/elixir-bson/Makefile
+++ devel/elixir-bson/Makefile
@@ -15,4 +15,6 @@
ELIXIR_APP_NAME=bson
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: devel/elixir-cachex/Makefile
===================================================================
--- devel/elixir-cachex/Makefile
+++ devel/elixir-cachex/Makefile
@@ -19,4 +19,6 @@
MIX_RUN_DEPS:= ${MIX_BUILD_DEPS}
MIX_REWRITE= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: devel/elixir-calendar/Makefile
===================================================================
--- devel/elixir-calendar/Makefile
+++ devel/elixir-calendar/Makefile
@@ -19,4 +19,6 @@
MIX_RUN_DEPS:= ${MIX_BUILD_DEPS}
MIX_REWRITE= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: devel/elixir-combine/Makefile
===================================================================
--- devel/elixir-combine/Makefile
+++ devel/elixir-combine/Makefile
@@ -16,4 +16,6 @@
MIX_REWRITE= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: devel/elixir-conform/Makefile
===================================================================
--- devel/elixir-conform/Makefile
+++ devel/elixir-conform/Makefile
@@ -18,4 +18,6 @@
MIX_BUILD_DEPS= devel/erlang-neotoma
MIX_RUN_DEPS:= ${MIX_BUILD_DEPS}
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: devel/elixir-conform_exrm/Makefile
===================================================================
--- devel/elixir-conform_exrm/Makefile
+++ devel/elixir-conform_exrm/Makefile
@@ -18,4 +18,6 @@
devel/elixir-exrm
MIX_RUN_DEPS:= ${MIX_BUILD_DEPS}
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: devel/elixir-connection/Makefile
===================================================================
--- devel/elixir-connection/Makefile
+++ devel/elixir-connection/Makefile
@@ -17,4 +17,6 @@
MIX_REWRITE= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: devel/elixir-coverex/Makefile
===================================================================
--- devel/elixir-coverex/Makefile
+++ devel/elixir-coverex/Makefile
@@ -18,4 +18,6 @@
USE_GITHUB= yes
GH_ACCOUNT= alfert
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: devel/elixir-crontab/Makefile
===================================================================
--- devel/elixir-crontab/Makefile
+++ devel/elixir-crontab/Makefile
@@ -19,4 +19,6 @@
MIX_RUN_DEPS:= ${MIX_BUILD_DEPS}
MIX_REWRITE= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: devel/elixir-csv/Makefile
===================================================================
--- devel/elixir-csv/Makefile
+++ devel/elixir-csv/Makefile
@@ -15,4 +15,6 @@
USE_GITHUB= yes
GH_ACCOUNT= beatrichartz
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: devel/elixir-decimal/Makefile
===================================================================
--- devel/elixir-decimal/Makefile
+++ devel/elixir-decimal/Makefile
@@ -15,4 +15,6 @@
USE_GITHUB= yes
GH_ACCOUNT= ericmj
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: devel/elixir-deppie/Makefile
===================================================================
--- devel/elixir-deppie/Makefile
+++ devel/elixir-deppie/Makefile
@@ -17,4 +17,6 @@
MIX_REWRITE= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: devel/elixir-dialyze/Makefile
===================================================================
--- devel/elixir-dialyze/Makefile
+++ devel/elixir-dialyze/Makefile
@@ -15,4 +15,6 @@
USE_GITHUB= yes
GH_ACCOUNT= fishcakez
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: devel/elixir-estree/Makefile
===================================================================
--- devel/elixir-estree/Makefile
+++ devel/elixir-estree/Makefile
@@ -16,4 +16,6 @@
ELIXIR_APP_NAME=estree
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: devel/elixir-eternal/Makefile
===================================================================
--- devel/elixir-eternal/Makefile
+++ devel/elixir-eternal/Makefile
@@ -19,4 +19,6 @@
MIX_RUN_DEPS:= ${MIX_BUILD_DEPS}
MIX_REWRITE= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: devel/elixir-exactor/Makefile
===================================================================
--- devel/elixir-exactor/Makefile
+++ devel/elixir-exactor/Makefile
@@ -16,4 +16,6 @@
MIX_REWRITE= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: devel/elixir-excoveralls/Makefile
===================================================================
--- devel/elixir-excoveralls/Makefile
+++ devel/elixir-excoveralls/Makefile
@@ -18,4 +18,6 @@
USE_GITHUB= yes
GH_ACCOUNT= parroty
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: devel/elixir-exjsx/Makefile
===================================================================
--- devel/elixir-exjsx/Makefile
+++ devel/elixir-exjsx/Makefile
@@ -17,4 +17,6 @@
MIX_BUILD_DEPS= devel/erlang-jsx
MIX_RUN_DEPS:= ${MIX_BUILD_DEPS}
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: devel/elixir-exprotobuf/Makefile
===================================================================
--- devel/elixir-exprotobuf/Makefile
+++ devel/elixir-exprotobuf/Makefile
@@ -17,6 +17,8 @@
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
Index: devel/elixir-exrm/Makefile
===================================================================
--- devel/elixir-exrm/Makefile
+++ devel/elixir-exrm/Makefile
@@ -17,4 +17,6 @@
MIX_BUILD_DEPS= devel/relx
MIX_RUN_DEPS:= ${MIX_BUILD_DEPS}
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: devel/elixir-gen_stage/Makefile
===================================================================
--- devel/elixir-gen_stage/Makefile
+++ devel/elixir-gen_stage/Makefile
@@ -18,4 +18,6 @@
ELIXIR_APP_NAME=gen_stage
MIX_REWRITE= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: devel/elixir-gen_state_machine/Makefile
===================================================================
--- devel/elixir-gen_state_machine/Makefile
+++ devel/elixir-gen_state_machine/Makefile
@@ -17,4 +17,6 @@
MIX_REWRITE= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: devel/elixir-gettext/Makefile
===================================================================
--- devel/elixir-gettext/Makefile
+++ devel/elixir-gettext/Makefile
@@ -17,4 +17,6 @@
MIX_REWRITE= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: devel/elixir-hex/Makefile
===================================================================
--- devel/elixir-hex/Makefile
+++ devel/elixir-hex/Makefile
@@ -15,4 +15,6 @@
USE_GITHUB= yes
GH_ACCOUNT= hexpm
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: devel/elixir-inflex/Makefile
===================================================================
--- devel/elixir-inflex/Makefile
+++ devel/elixir-inflex/Makefile
@@ -15,4 +15,6 @@
USE_GITHUB= yes
GH_ACCOUNT= nurugger07
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: devel/elixir-lager_logger/Makefile
===================================================================
--- devel/elixir-lager_logger/Makefile
+++ devel/elixir-lager_logger/Makefile
@@ -15,4 +15,6 @@
USE_GITHUB= yes
GH_ACCOUNT= PSPDFKit-labs
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: devel/elixir-libring/Makefile
===================================================================
--- devel/elixir-libring/Makefile
+++ devel/elixir-libring/Makefile
@@ -16,4 +16,6 @@
MIX_REWRITE= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: devel/elixir-make/Makefile
===================================================================
--- devel/elixir-make/Makefile
+++ devel/elixir-make/Makefile
@@ -18,4 +18,6 @@
ELIXIR_APP_NAME=elixir_make
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: devel/elixir-math/Makefile
===================================================================
--- devel/elixir-math/Makefile
+++ devel/elixir-math/Makefile
@@ -17,4 +17,6 @@
MIX_REWRITE= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: devel/elixir-msgpax/Makefile
===================================================================
--- devel/elixir-msgpax/Makefile
+++ devel/elixir-msgpax/Makefile
@@ -17,4 +17,6 @@
MIX_REWRITE= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: devel/elixir-nadia/Makefile
===================================================================
--- devel/elixir-nadia/Makefile
+++ devel/elixir-nadia/Makefile
@@ -20,4 +20,6 @@
MIX_RUN_DEPS:= ${MIX_BUILD_DEPS}
MIX_REWRITE= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: devel/elixir-nats/Makefile
===================================================================
--- devel/elixir-nats/Makefile
+++ devel/elixir-nats/Makefile
@@ -16,4 +16,6 @@
MIX_REWRITE= yes
ELIXIR_APP_NAME=nats
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: devel/elixir-nimble_csv/Makefile
===================================================================
--- devel/elixir-nimble_csv/Makefile
+++ devel/elixir-nimble_csv/Makefile
@@ -17,4 +17,6 @@
MIX_REWRITE= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: devel/elixir-paratize/Makefile
===================================================================
--- devel/elixir-paratize/Makefile
+++ devel/elixir-paratize/Makefile
@@ -17,4 +17,6 @@
ELIXIR_APP_NAME=paratize
MIX_REWRITE= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: devel/elixir-plug/Makefile
===================================================================
--- devel/elixir-plug/Makefile
+++ devel/elixir-plug/Makefile
@@ -19,4 +19,6 @@
MIX_RUN_DEPS:= ${MIX_BUILD_DEPS}
MIX_REWRITE= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: devel/elixir-poison/Makefile
===================================================================
--- devel/elixir-poison/Makefile
+++ devel/elixir-poison/Makefile
@@ -16,4 +16,6 @@
MIX_REWRITE= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: devel/elixir-quantum/Makefile
===================================================================
--- devel/elixir-quantum/Makefile
+++ devel/elixir-quantum/Makefile
@@ -25,4 +25,6 @@
MIX_RUN_DEPS:= ${MIX_BUILD_DEPS}
MIX_REWRITE= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: devel/elixir-red_black_tree/Makefile
===================================================================
--- devel/elixir-red_black_tree/Makefile
+++ devel/elixir-red_black_tree/Makefile
@@ -19,4 +19,6 @@
MIX_REWRITE= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: devel/elixir-simple_bayes/Makefile
===================================================================
--- devel/elixir-simple_bayes/Makefile
+++ devel/elixir-simple_bayes/Makefile
@@ -22,4 +22,6 @@
MIX_RUN_DEPS:= ${MIX_BUILD_DEPS}
MIX_REWRITE= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: devel/elixir-smppex/Makefile
===================================================================
--- devel/elixir-smppex/Makefile
+++ devel/elixir-smppex/Makefile
@@ -19,4 +19,6 @@
MIX_RUN_DEPS:= ${MIX_BUILD_DEPS}
MIX_REWRITE= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: devel/elixir-sorted_set/Makefile
===================================================================
--- devel/elixir-sorted_set/Makefile
+++ devel/elixir-sorted_set/Makefile
@@ -21,4 +21,6 @@
MIX_RUN_DEPS:= ${MIX_BUILD_DEPS}
MIX_REWRITE= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: devel/elixir-stemmer/Makefile
===================================================================
--- devel/elixir-stemmer/Makefile
+++ devel/elixir-stemmer/Makefile
@@ -19,4 +19,6 @@
MIX_REWRITE= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: devel/elixir-swarm/Makefile
===================================================================
--- devel/elixir-swarm/Makefile
+++ devel/elixir-swarm/Makefile
@@ -20,4 +20,6 @@
MIX_RUN_DEPS:= ${MIX_BUILD_DEPS}
MIX_REWRITE= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: devel/elixir-timex/Makefile
===================================================================
--- devel/elixir-timex/Makefile
+++ devel/elixir-timex/Makefile
@@ -22,4 +22,6 @@
MIX_RUN_DEPS:= ${MIX_BUILD_DEPS}
MIX_REWRITE= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: devel/elixir-tirexs/Makefile
===================================================================
--- devel/elixir-tirexs/Makefile
+++ devel/elixir-tirexs/Makefile
@@ -20,4 +20,6 @@
MIX_BUILD_DEPS= devel/elixir-exjsx
MIX_RUN_DEPS:= ${MIX_BUILD_DEPS}
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: devel/elixir-trailing_format_plug/Makefile
===================================================================
--- devel/elixir-trailing_format_plug/Makefile
+++ devel/elixir-trailing_format_plug/Makefile
@@ -19,4 +19,6 @@
MIX_RUN_DEPS:= ${MIX_BUILD_DEPS}
MIX_REWRITE= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: devel/elixir-tzdata/Makefile
===================================================================
--- devel/elixir-tzdata/Makefile
+++ devel/elixir-tzdata/Makefile
@@ -19,6 +19,8 @@
www/erlang-hackney
MIX_REWRITE= yes
+OPTIONS_DEFINE= DOCS
+
post-extract:
@${RM} ${WRKSRC}/priv/release_ets/.gitkeep
Index: devel/erlang-backoff/Makefile
===================================================================
--- devel/erlang-backoff/Makefile
+++ devel/erlang-backoff/Makefile
@@ -14,4 +14,6 @@
USE_GITHUB= yes
GH_ACCOUNT= ferd
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: devel/erlang-bbmustache/Makefile
===================================================================
--- devel/erlang-bbmustache/Makefile
+++ devel/erlang-bbmustache/Makefile
@@ -15,4 +15,6 @@
USE_GITHUB= yes
GH_ACCOUNT= soranoba
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: devel/erlang-bear/Makefile
===================================================================
--- devel/erlang-bear/Makefile
+++ devel/erlang-bear/Makefile
@@ -14,4 +14,6 @@
USE_GITHUB= yes
GH_ACCOUNT= puzza007
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: devel/erlang-certifi/Makefile
===================================================================
--- devel/erlang-certifi/Makefile
+++ devel/erlang-certifi/Makefile
@@ -17,4 +17,6 @@
ERL_APP_NAME= certifi
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: devel/erlang-cf/Makefile
===================================================================
--- devel/erlang-cf/Makefile
+++ devel/erlang-cf/Makefile
@@ -14,4 +14,6 @@
USE_GITHUB= yes
GH_ACCOUNT= project-fifo
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: devel/erlang-clique/Makefile
===================================================================
--- devel/erlang-clique/Makefile
+++ devel/erlang-clique/Makefile
@@ -17,4 +17,6 @@
ERL_BUILD_DEPS= devel/erlang-cuttlefish
ERL_RUN_DEPS:= ${ERL_BUILD_DEPS}
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: devel/erlang-cuttlefish/Makefile
===================================================================
--- devel/erlang-cuttlefish/Makefile
+++ devel/erlang-cuttlefish/Makefile
@@ -21,4 +21,6 @@
devel/erlang-neotoma
ERL_RUN_DEPS:= ${ERL_BUILD_DEPS}
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: devel/erlang-erlware_commons/Makefile
===================================================================
--- devel/erlang-erlware_commons/Makefile
+++ devel/erlang-erlware_commons/Makefile
@@ -17,4 +17,6 @@
ERL_BUILD_DEPS= devel/erlang-cf
ERL_RUN_DEPS:= ${ERL_BUILD_DEPS}
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: devel/erlang-exmpp/Makefile
===================================================================
--- devel/erlang-exmpp/Makefile
+++ devel/erlang-exmpp/Makefile
@@ -36,6 +36,8 @@
USES= autoreconf cpe libtool pkgconfig ssl
CPE_VENDOR= process-one
+OPTIONS_DEFINE= DOCS
+
DOCS_CONFIGURE_ENABLE= documentation
MAKE_JOBS_UNSAFE= yes
Index: devel/erlang-folsom/Makefile
===================================================================
--- devel/erlang-folsom/Makefile
+++ devel/erlang-folsom/Makefile
@@ -17,4 +17,6 @@
ERL_BUILD_DEPS= devel/erlang-bear
ERL_RUN_DEPS:= ${ERL_BUILD_DEPS}
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: devel/erlang-gen_leader/Makefile
===================================================================
--- devel/erlang-gen_leader/Makefile
+++ devel/erlang-gen_leader/Makefile
@@ -15,7 +15,9 @@
GH_PROJECT= gen_leader_revival
GH_TAGNAME= a12a4e3
-post-install:
+OPTIONS_DEFINE= DOCS EXAMPLES
+
+post-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR}
Index: devel/erlang-gen_rpc/Makefile
===================================================================
--- devel/erlang-gen_rpc/Makefile
+++ devel/erlang-gen_rpc/Makefile
@@ -18,4 +18,6 @@
devel/erlang-ssl_verify_fun
ERL_RUN_DEPS:= ${ERL_BUILD_DEPS}
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: devel/erlang-gen_smtp/Makefile
===================================================================
--- devel/erlang-gen_smtp/Makefile
+++ devel/erlang-gen_smtp/Makefile
@@ -14,4 +14,6 @@
USE_GITHUB= yes
GH_ACCOUNT= Vagabond
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: devel/erlang-getopt/Makefile
===================================================================
--- devel/erlang-getopt/Makefile
+++ devel/erlang-getopt/Makefile
@@ -15,4 +15,6 @@
USE_GITHUB= yes
GH_ACCOUNT= jcomellas
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: devel/erlang-goldrush/Makefile
===================================================================
--- devel/erlang-goldrush/Makefile
+++ devel/erlang-goldrush/Makefile
@@ -14,6 +14,8 @@
USE_GITHUB= yes
GH_ACCOUNT= DeadZen
+OPTIONS_DEFINE= DOCS
+
post-build:
@${RM} -r ${WRKSRC}/priv
Index: devel/erlang-gpb/Makefile
===================================================================
--- devel/erlang-gpb/Makefile
+++ devel/erlang-gpb/Makefile
@@ -18,6 +18,8 @@
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
Index: devel/erlang-gproc/Makefile
===================================================================
--- devel/erlang-gproc/Makefile
+++ devel/erlang-gproc/Makefile
@@ -19,4 +19,6 @@
ERL_DOCS= doc/*
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: devel/erlang-hut/Makefile
===================================================================
--- devel/erlang-hut/Makefile
+++ devel/erlang-hut/Makefile
@@ -15,4 +15,6 @@
USE_GITHUB= yes
GH_ACCOUNT= tolbrino
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: devel/erlang-jobs/Makefile
===================================================================
--- devel/erlang-jobs/Makefile
+++ devel/erlang-jobs/Makefile
@@ -16,7 +16,9 @@
ERL_RUN_DEPS:= ${ERL_BUILD_DEPS}
ERL_DOCS= doc/*
-post-install:
+OPTIONS_DEFINE= DOCS EXAMPLES
+
+post-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR}
Index: devel/erlang-jsx/Makefile
===================================================================
--- devel/erlang-jsx/Makefile
+++ devel/erlang-jsx/Makefile
@@ -14,4 +14,6 @@
USE_GITHUB= yes
GH_ACCOUNT= talentdeficit
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: devel/erlang-jsxd/Makefile
===================================================================
--- devel/erlang-jsxd/Makefile
+++ devel/erlang-jsxd/Makefile
@@ -14,4 +14,6 @@
USE_GITHUB= yes
GH_ACCOUNT= Licenser
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: devel/erlang-katana/Makefile
===================================================================
--- devel/erlang-katana/Makefile
+++ devel/erlang-katana/Makefile
@@ -13,4 +13,6 @@
USE_GITHUB= yes
GH_ACCOUNT= inaka
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: devel/erlang-lager/Makefile
===================================================================
--- devel/erlang-lager/Makefile
+++ devel/erlang-lager/Makefile
@@ -16,6 +16,8 @@
ERL_RUN_DEPS= devel/erlang-goldrush
+OPTIONS_DEFINE= DOCS
+
post-build:
@${RM} -r ${WRKSRC}/priv
Index: devel/erlang-lager_syslog/Makefile
===================================================================
--- devel/erlang-lager_syslog/Makefile
+++ devel/erlang-lager_syslog/Makefile
@@ -18,4 +18,6 @@
devel/erlang-syslog
RUN_DEPENDS:= ${BUILD_DEPENDS}
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: devel/erlang-meck/Makefile
===================================================================
--- devel/erlang-meck/Makefile
+++ devel/erlang-meck/Makefile
@@ -14,4 +14,6 @@
USE_GITHUB= yes
GH_ACCOUNT= eproxus
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: devel/erlang-metrics/Makefile
===================================================================
--- devel/erlang-metrics/Makefile
+++ devel/erlang-metrics/Makefile
@@ -16,4 +16,6 @@
ERL_APP_NAME= metrics
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: devel/erlang-msgpack/Makefile
===================================================================
--- devel/erlang-msgpack/Makefile
+++ devel/erlang-msgpack/Makefile
@@ -16,4 +16,6 @@
GH_ACCOUNT= msgpack
GH_PROJECT= msgpack-erlang
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: devel/erlang-neotoma/Makefile
===================================================================
--- devel/erlang-neotoma/Makefile
+++ devel/erlang-neotoma/Makefile
@@ -20,6 +20,8 @@
REBAR_TARGETS= compile escriptize
+OPTIONS_DEFINE= DOCS
+
post-install:
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${ERL_APP_ROOT}
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
Index: devel/erlang-parse_trans/Makefile
===================================================================
--- devel/erlang-parse_trans/Makefile
+++ devel/erlang-parse_trans/Makefile
@@ -14,7 +14,9 @@
ERL_DOCS= doc/*
-post-install:
+OPTIONS_DEFINE= DOCS EXAMPLES
+
+post-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR}
Index: devel/erlang-poolboy/Makefile
===================================================================
--- devel/erlang-poolboy/Makefile
+++ devel/erlang-poolboy/Makefile
@@ -15,4 +15,6 @@
USE_GITHUB= yes
GH_ACCOUNT= devinus
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: devel/erlang-pooler/Makefile
===================================================================
--- devel/erlang-pooler/Makefile
+++ devel/erlang-pooler/Makefile
@@ -14,4 +14,6 @@
USE_GITHUB= yes
GH_ACCOUNT= seth
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: devel/erlang-protobuffs/Makefile
===================================================================
--- devel/erlang-protobuffs/Makefile
+++ devel/erlang-protobuffs/Makefile
@@ -15,4 +15,6 @@
GH_ACCOUNT= basho
GH_PROJECT= erlang_protobuffs
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: devel/erlang-providers/Makefile
===================================================================
--- devel/erlang-providers/Makefile
+++ devel/erlang-providers/Makefile
@@ -17,4 +17,6 @@
ERL_BUILD_DEPS= devel/erlang-getopt
ERL_RUN_DEPS:= ${ERL_BUILD_DEPS}
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: devel/erlang-rebar3_hex/Makefile
===================================================================
--- devel/erlang-rebar3_hex/Makefile
+++ devel/erlang-rebar3_hex/Makefile
@@ -15,4 +15,6 @@
USE_GITHUB= yes
GH_ACCOUNT= hexpm
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: devel/erlang-recon/Makefile
===================================================================
--- devel/erlang-recon/Makefile
+++ devel/erlang-recon/Makefile
@@ -17,6 +17,8 @@
ERL_DOCS= README.md doc/*
REBAR_TARGETS= compile doc
+OPTIONS_DEFINE= DOCS
+
post-build:
@${RM} ${WRKSRC}/doc/packages-frame.html
Index: devel/erlang-sbroker/Makefile
===================================================================
--- devel/erlang-sbroker/Makefile
+++ devel/erlang-sbroker/Makefile
@@ -15,4 +15,6 @@
USE_GITHUB= yes
GH_ACCOUNT= fishcakez
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: devel/erlang-ssl_verify_fun/Makefile
===================================================================
--- devel/erlang-ssl_verify_fun/Makefile
+++ devel/erlang-ssl_verify_fun/Makefile
@@ -15,4 +15,6 @@
GH_ACCOUNT= deadtrickster
GH_PROJECT= ssl_verify_fun.erl
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: devel/erlang-syslog/Makefile
===================================================================
--- devel/erlang-syslog/Makefile
+++ devel/erlang-syslog/Makefile
@@ -13,4 +13,6 @@
GH_ACCOUNT= Vagabond
GH_PROJECT= ${PKGNAMEPREFIX}${PORTNAME}
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: devel/erlang-unicode_util_compat/Makefile
===================================================================
--- devel/erlang-unicode_util_compat/Makefile
+++ devel/erlang-unicode_util_compat/Makefile
@@ -14,4 +14,6 @@
USE_GITHUB= yes
GH_ACCOUNT= benoitc
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: devel/fpc-symbolic/Makefile
===================================================================
--- devel/fpc-symbolic/Makefile
+++ devel/fpc-symbolic/Makefile
@@ -12,4 +12,6 @@
WRKUNITDIR= ${FPCSRCDIR}/packages/${PKGNAMESUFFIX:S/-//}
EXTRACTUNITDIR= ${WRKUNITDIR}
+OPTIONS_DEFINE= DOCS
+
.include "${MASTERDIR}/Makefile"
Index: devel/fstrm/Makefile
===================================================================
--- devel/fstrm/Makefile
+++ devel/fstrm/Makefile
@@ -23,8 +23,9 @@
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
Index: devel/gb/Makefile
===================================================================
--- devel/gb/Makefile
+++ devel/gb/Makefile
@@ -19,6 +19,8 @@
PORTDOCS= README.md
+OPTIONS_DEFINE= DOCS
+
GO_PKGNAME= github.com/${GH_ACCOUNT}/${GH_PROJECT}
GO_TARGET= ./...
Index: devel/geany-plugin-geanypy/Makefile
===================================================================
--- devel/geany-plugin-geanypy/Makefile
+++ devel/geany-plugin-geanypy/Makefile
@@ -10,5 +10,7 @@
USES= python:2.7
USE_GNOME= pygtk2
+OPTIONS_DEFINE= DOCS
+
.include "${.CURDIR}/../geany-plugins/files/Makefile.common"
.include <bsd.port.mk>
Index: devel/geany-plugin-git-changebar/Makefile
===================================================================
--- devel/geany-plugin-git-changebar/Makefile
+++ devel/geany-plugin-git-changebar/Makefile
@@ -9,5 +9,7 @@
LIB_DEPENDS= libgit2.so:devel/libgit2
+OPTIONS_DEFINE= DOCS
+
.include "${.CURDIR}/../geany-plugins/files/Makefile.common"
.include <bsd.port.mk>
Index: devel/geany-plugin-markdown/Makefile
===================================================================
--- devel/geany-plugin-markdown/Makefile
+++ devel/geany-plugin-markdown/Makefile
@@ -10,5 +10,7 @@
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>
Index: devel/geany-plugin-projectorganizer/Makefile
===================================================================
--- devel/geany-plugin-projectorganizer/Makefile
+++ devel/geany-plugin-projectorganizer/Makefile
@@ -7,5 +7,7 @@
MAINTAINER= madpilot@FreeBSD.org
COMMENT= Geany plugin: ${${GEANY_PLUGIN}_DESC}
+OPTIONS_DEFINE= DOCS
+
.include "${.CURDIR}/../geany-plugins/files/Makefile.common"
.include <bsd.port.mk>
Index: devel/geany-plugin-utilslib/Makefile
===================================================================
--- devel/geany-plugin-utilslib/Makefile
+++ devel/geany-plugin-utilslib/Makefile
@@ -7,5 +7,7 @@
MAINTAINER= madpilot@FreeBSD.org
COMMENT= Geany plugin: ${${GEANY_PLUGIN}_DESC}
+OPTIONS_DEFINE= DOCS
+
.include "${.CURDIR}/../geany-plugins/files/Makefile.common"
.include <bsd.port.mk>
Index: devel/git-cinnabar/Makefile
===================================================================
--- devel/git-cinnabar/Makefile
+++ devel/git-cinnabar/Makefile
@@ -30,6 +30,8 @@
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
Index: devel/git-cola/Makefile
===================================================================
--- devel/git-cola/Makefile
+++ devel/git-cola/Makefile
@@ -21,4 +21,6 @@
MAKE_ARGS= prefix=${PREFIX} PYTHON=${PYTHON_CMD}
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: devel/glib20-reference/bsd.gnome-reference.mk
===================================================================
--- devel/glib20-reference/bsd.gnome-reference.mk
+++ devel/glib20-reference/bsd.gnome-reference.mk
@@ -32,6 +32,8 @@
PORTDOCS?= *
+OPTIONS_DEFINE+= DOCS
+
.if !target(do-build)
do-build:
@${DO_NADA}
Index: devel/grumpy/Makefile
===================================================================
--- devel/grumpy/Makefile
+++ devel/grumpy/Makefile
@@ -19,10 +19,10 @@
.include <bsd.port.options.mk>
.if ${ARCH} == "amd64"
-PLIST_SUB= ARCH=amd64
+PLIST_SUB+= ARCH=amd64
.endif
.if ${ARCH} == "i386"
-PLIST_SUB= ARCH=386
+PLIST_SUB+= ARCH=386
.endif
do-install:
Index: devel/icmake/Makefile
===================================================================
--- devel/icmake/Makefile
+++ devel/icmake/Makefile
@@ -28,6 +28,8 @@
USES= shebangfix
SHEBANG_FILES= icm_bootstrap icm_install icm_prepare scripts/convert
+OPTIONS_DEFINE= DOCS
+
post-patch:
@${REINPLACE_CMD} -e 's|sed|gsed|g' \
${WRKSRC}/scripts/conversions \
Index: devel/jsmin/Makefile
===================================================================
--- devel/jsmin/Makefile
+++ devel/jsmin/Makefile
@@ -16,7 +16,7 @@
PLIST_FILES= bin/jsmin
PORTDOCS= README
-.include <bsd.port.options.mk>
+OPTIONS_DEFINE= DOCS
do-build:
cd ${WRKSRC} && ${CC} ${CFLAGS} -o ${PORTNAME} ${PORTNAME}.c
Index: devel/json-glib/Makefile
===================================================================
--- devel/json-glib/Makefile
+++ devel/json-glib/Makefile
@@ -11,7 +11,7 @@
LICENSE= LGPL21
-OPTIONS_DEFINE= GIR
+OPTIONS_DEFINE= GIR DOCS
OPTIONS_DEFAULT=GIR
OPTIONS_SUB= yes
GIR_DESC= Build introspection data
Index: devel/judy/Makefile
===================================================================
--- devel/judy/Makefile
+++ devel/judy/Makefile
@@ -22,6 +22,8 @@
PORTDOCS= COPYRIGHT README *.htm
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.pre.mk>
.if ${ARCH} == armv6 || ${ARCH} == armv7 || ${ARCH} == i386 || ${ARCH} == mips || ${ARCH} == powerpc
Index: devel/libaura/Makefile
===================================================================
--- devel/libaura/Makefile
+++ devel/libaura/Makefile
@@ -26,6 +26,8 @@
MAKE_ENV= SONAME=${SONAME} SOLINK=${SOLINK}
+OPTIONS_DEFINE= DOCS
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${SONAME} ${STAGEDIR}${PREFIX}/lib/${SONAME}
${LN} -s ${PREFIX}/lib/${SONAME} ${STAGEDIR}${PREFIX}/lib/${SOLINK}
Index: devel/libcutl/Makefile
===================================================================
--- devel/libcutl/Makefile
+++ devel/libcutl/Makefile
@@ -33,4 +33,6 @@
--with-external-expat \
--with-pkgconfigdir=${PREFIX}/libdata/pkgconfig
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: devel/libdfui/Makefile
===================================================================
--- devel/libdfui/Makefile
+++ devel/libdfui/Makefile
@@ -33,6 +33,8 @@
MAKE_ENV= SONAME=${SONAME} SOLINK=${SOLINK}
+OPTIONS_DEFINE= DOCS
+
post-patch:
@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' ${WRKSRC}/Makefile
Index: devel/libdwarf/Makefile
===================================================================
--- devel/libdwarf/Makefile
+++ devel/libdwarf/Makefile
@@ -27,6 +27,8 @@
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
Index: devel/libgit2-glib/Makefile
===================================================================
--- devel/libgit2-glib/Makefile
+++ devel/libgit2-glib/Makefile
@@ -25,4 +25,6 @@
CONFIGURE_ARGS= --disable-python
INSTALL_TARGET= install-strip
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: devel/libiqxmlrpc/Makefile
===================================================================
--- devel/libiqxmlrpc/Makefile
+++ devel/libiqxmlrpc/Makefile
@@ -14,9 +14,9 @@
LIB_DEPENDS= libboost_thread.so:devel/boost-libs
-OPTIONS_DEFINE= DOXYGEN
-OPTIONS_DEFAULT=
+OPTIONS_DEFINE= DOXYGEN DOCS
+DOXYGEN_IMPLIES= DOCS
DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen
DOXYGEN_CMAKE_OFF= -Dbuild_docs=off
Index: devel/libosmo-netif/Makefile
===================================================================
--- devel/libosmo-netif/Makefile
+++ devel/libosmo-netif/Makefile
@@ -27,11 +27,12 @@
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
Index: devel/libosmocore/Makefile
===================================================================
--- devel/libosmocore/Makefile
+++ devel/libosmocore/Makefile
@@ -22,7 +22,8 @@
INSTALL_TARGET= install-strip
PORTDOCS= *
-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
Index: devel/libqb/Makefile
===================================================================
--- devel/libqb/Makefile
+++ devel/libqb/Makefile
@@ -24,8 +24,9 @@
INSTALL_TARGET= install-strip
PATHFIX_MAKEFILEIN= Makefile.am
-OPTIONS_DEFINE= DOXYGEN
+OPTIONS_DEFINE= DOXYGEN DOCS
OPTIONS_SUB= yes
+DOXYGEN_IMPLIES= DOCS
DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen
post-install:
Index: devel/libxo/Makefile
===================================================================
--- devel/libxo/Makefile
+++ devel/libxo/Makefile
@@ -17,4 +17,6 @@
INSTALL_TARGET= install-strip
USE_PERL5= run
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: devel/linux-c6-dbus-glib/Makefile
===================================================================
--- devel/linux-c6-dbus-glib/Makefile
+++ devel/linux-c6-dbus-glib/Makefile
@@ -16,4 +16,6 @@
USE_LINUX= dbuslibs expat
USE_LINUX_RPM= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: devel/linux-c6-libglade2/Makefile
===================================================================
--- devel/linux-c6-libglade2/Makefile
+++ devel/linux-c6-libglade2/Makefile
@@ -15,4 +15,6 @@
USE_LDCONFIG= yes
USE_LINUX_RPM= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: devel/linux-c6-libpciaccess/Makefile
===================================================================
--- devel/linux-c6-libpciaccess/Makefile
+++ devel/linux-c6-libpciaccess/Makefile
@@ -15,4 +15,6 @@
USE_LDCONFIG= yes
USE_LINUX_RPM= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: devel/linux-c6-libsigc++20/Makefile
===================================================================
--- devel/linux-c6-libsigc++20/Makefile
+++ devel/linux-c6-libsigc++20/Makefile
@@ -15,4 +15,6 @@
USE_LDCONFIG= yes
USE_LINUX_RPM= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: devel/linux-c6-libsoup/Makefile
===================================================================
--- devel/linux-c6-libsoup/Makefile
+++ devel/linux-c6-libsoup/Makefile
@@ -13,4 +13,6 @@
USE_LDCONFIG= yes
USE_LINUX_RPM= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: devel/linux-c6-libthai/Makefile
===================================================================
--- devel/linux-c6-libthai/Makefile
+++ devel/linux-c6-libthai/Makefile
@@ -14,4 +14,6 @@
USE_LDCONFIG= yes
USE_LINUX_RPM= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: devel/linux-c6-qt47/Makefile
===================================================================
--- devel/linux-c6-qt47/Makefile
+++ devel/linux-c6-qt47/Makefile
@@ -19,4 +19,6 @@
USE_LINUX= fontconfig png dbuslibs sqlite3 openssl
USE_LINUX_RPM= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: devel/linux-c6-sdl12/Makefile
===================================================================
--- devel/linux-c6-sdl12/Makefile
+++ devel/linux-c6-sdl12/Makefile
@@ -19,4 +19,6 @@
USE_LINUX= xorglibs
USE_LINUX_RPM= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: devel/linux-c7-dbus-glib/Makefile
===================================================================
--- devel/linux-c7-dbus-glib/Makefile
+++ devel/linux-c7-dbus-glib/Makefile
@@ -18,4 +18,6 @@
USE_LINUX= dbuslibs expat
USE_LINUX_RPM= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: devel/linux-c7-libglade2/Makefile
===================================================================
--- devel/linux-c7-libglade2/Makefile
+++ devel/linux-c7-libglade2/Makefile
@@ -20,4 +20,6 @@
USE_LDCONFIG= yes
USE_LINUX_RPM= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: devel/linux-c7-libpciaccess/Makefile
===================================================================
--- devel/linux-c7-libpciaccess/Makefile
+++ devel/linux-c7-libpciaccess/Makefile
@@ -17,4 +17,6 @@
USE_LDCONFIG= yes
USE_LINUX_RPM= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: devel/linux-c7-libsigc++20/Makefile
===================================================================
--- devel/linux-c7-libsigc++20/Makefile
+++ devel/linux-c7-libsigc++20/Makefile
@@ -16,4 +16,6 @@
USE_LDCONFIG= yes
USE_LINUX_RPM= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: devel/linux-c7-libthai/Makefile
===================================================================
--- devel/linux-c7-libthai/Makefile
+++ devel/linux-c7-libthai/Makefile
@@ -17,4 +17,6 @@
USE_LDCONFIG= yes
USE_LINUX_RPM= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: devel/linux-c7-qt/Makefile
===================================================================
--- devel/linux-c7-qt/Makefile
+++ devel/linux-c7-qt/Makefile
@@ -19,4 +19,6 @@
USE_LINUX= fontconfig png dbuslibs sqlite3 openssl
USE_LINUX_RPM= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: devel/linux-c7-sdl12/Makefile
===================================================================
--- devel/linux-c7-sdl12/Makefile
+++ devel/linux-c7-sdl12/Makefile
@@ -21,4 +21,6 @@
USE_LINUX= xorglibs
USE_LINUX_RPM= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: devel/linux-c7-sdl20/Makefile
===================================================================
--- devel/linux-c7-sdl20/Makefile
+++ devel/linux-c7-sdl20/Makefile
@@ -21,4 +21,6 @@
USE_LINUX= xorglibs
USE_LINUX_RPM= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: devel/lmdbg/Makefile
===================================================================
--- devel/lmdbg/Makefile
+++ devel/lmdbg/Makefile
@@ -27,6 +27,8 @@
INSTALL_TARGET= install install-doc
+OPTIONS_DEFINE= DOCS
+
do-build:
${SETENV} ${MKCMAKE_ENV} ${MKCMAKE} -C ${WRKSRC}
Index: devel/msp430-debug-stack/Makefile
===================================================================
--- devel/msp430-debug-stack/Makefile
+++ devel/msp430-debug-stack/Makefile
@@ -36,6 +36,8 @@
REINPLACE_ARGS= -i ""
+OPTIONS_DEFINE= DOCS
+
post-patch:
@${FIND} ${WRKSRC}/DLL430_v3/src/TI/DLL430 \
\( -name '*.cpp' -o -name '*.h' \) -print0 | ${XARGS} -0 \
Index: devel/ocl-icd/Makefile
===================================================================
--- devel/ocl-icd/Makefile
+++ devel/ocl-icd/Makefile
@@ -27,7 +27,7 @@
CONFIGURE_ARGS+=--disable-official-khronos-headers \
--enable-custom-vendordir
-OPTIONS_DEFINE= MANPAGES
+OPTIONS_DEFINE= MANPAGES DOCS
OPTIONS_DEFAULT=MANPAGES
OPTIONS_SUB= yes
Index: devel/p5-Object-Pluggable/Makefile
===================================================================
--- devel/p5-Object-Pluggable/Makefile
+++ devel/p5-Object-Pluggable/Makefile
@@ -21,7 +21,9 @@
USES= perl5
USE_PERL5= configure
-post-install:
+OPTIONS_DEFINE= EXAMPLES
+
+post-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/
${INSTALL_SCRIPT} ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR}/
Index: devel/pear/Makefile
===================================================================
--- devel/pear/Makefile
+++ devel/pear/Makefile
@@ -21,6 +21,8 @@
PEARDIR= ${PREFIX}/share/pear
+OPTIONS_DEFINE= DOCS
+
post-patch:
@${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|" \
-e "s|%%BUNDLEDIR%%|${WRKSRC}/go-pear-bundle|" \
Index: devel/pkgconf/Makefile
===================================================================
--- devel/pkgconf/Makefile
+++ devel/pkgconf/Makefile
@@ -27,6 +27,8 @@
--with-system-includedir=/usr/include
MAKE_ARGS= MANDIR="${MAN1PREFIX}/man/man1"
+OPTIONS_DEFINE= DOCS
+
post-install:
${LN} -sf pkgconf ${STAGEDIR}${PREFIX}/bin/pkg-config
Index: devel/protobuf-c/Makefile
===================================================================
--- devel/protobuf-c/Makefile
+++ devel/protobuf-c/Makefile
@@ -23,13 +23,14 @@
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
Index: devel/pth/Makefile
===================================================================
--- devel/pth/Makefile
+++ devel/pth/Makefile
@@ -31,10 +31,10 @@
.if ${PKGNAMESUFFIX} == "-hard"
CONFIGURE_ARGS+= --enable-syscall-hard --disable-syscall-soft
-PLIST_SUB= PTHREAD="@comment "
+PLIST_SUB+= PTHREAD="@comment "
.else
CONFIGURE_ARGS+= --enable-syscall-soft --enable-pthread
-PLIST_SUB= PTHREAD=""
+PLIST_SUB+= PTHREAD=""
.endif
post-patch:
Index: devel/pure-stllib/Makefile
===================================================================
--- devel/pure-stllib/Makefile
+++ devel/pure-stllib/Makefile
@@ -27,6 +27,8 @@
PORTEXAMPLES= *
+OPTIONS_DEFINE= DOCS EXAMPLES
+
post-patch:
@${REINPLACE_CMD} -e 's|CFLAGS =|CFLAGS ?=|' \
${WRKSRC}/Makefile ${WRKSRC}/pure-stlmap/Makefile ${WRKSRC}/pure-stlvec/Makefile
Index: devel/py-cfgparse/Makefile
===================================================================
--- devel/py-cfgparse/Makefile
+++ devel/py-cfgparse/Makefile
@@ -17,7 +17,9 @@
DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME}
PORTDOCS= *
-post-install:
+OPTIONS_DEFINE= DOCS
+
+post-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/docs/* ${STAGEDIR}${DOCSDIR}
Index: devel/py-crcmod/Makefile
===================================================================
--- devel/py-crcmod/Makefile
+++ devel/py-crcmod/Makefile
@@ -21,6 +21,8 @@
DOCSDIR= ${PREFIX}/share/doc/${PYTHON_PKGNAMEPREFIX}${PORTNAME}
PORTDOCS= *
+OPTIONS_DEFINE= DOCS
+
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${WRKSRC}/changelog ${STAGEDIR}${DOCSDIR}
Index: devel/py-pyro/Makefile
===================================================================
--- devel/py-pyro/Makefile
+++ devel/py-pyro/Makefile
@@ -23,6 +23,8 @@
PORTDOCS= *
PORTEXAMPLES= *
+OPTIONS_DEFINE= DOCS EXAMPLES
+
.include <bsd.port.pre.mk>
.if ${PYTHON_REL} < 3400
Index: devel/pydbus-common/Makefile
===================================================================
--- devel/pydbus-common/Makefile
+++ devel/pydbus-common/Makefile
@@ -31,8 +31,9 @@
EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME}
OPTIONS_SUB= yes
-OPTIONS_DEFINE= HTMLDOCS
+OPTIONS_DEFINE= HTMLDOCS DOCS EXAMPLES
HTMLDOCS_DESC= build html documentation
+HTMLDOCS_IMPLIES= DOCS
HTMLDOCS_CONFIGURE_OFF= --disable-html-docs
HTMLDOCS_BUILD_DEPENDS= rst2html:textproc/py-docutils
Index: devel/relx/Makefile
===================================================================
--- devel/relx/Makefile
+++ devel/relx/Makefile
@@ -39,6 +39,8 @@
DISTFILES+= ${_dep}.tar:hex
.endfor
+OPTIONS_DEFINE= DOCS EXAMPLES
+
# 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 @@
@${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
@@ -80,6 +80,11 @@
${INSTALL_DATA} ${WRKSRC}/_build/default/lib/relx/ebin/* ${STAGEDIR}${PREFIX}/lib/erlang/lib/${PORTNAME}-${PORTVERSION}/ebin
cd ${WRKSRC}/priv && ${COPYTREE_SHARE} \* ${STAGEDIR}${PREFIX}/lib/erlang/lib/${PORTNAME}-${PORTVERSION}/priv
${INSTALL_SCRIPT} ${WRKSRC}/_build/default/bin/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
+
+post-install-DOCS-on:
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}
+post-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR}
Index: devel/smack/Makefile
===================================================================
--- devel/smack/Makefile
+++ devel/smack/Makefile
@@ -26,11 +26,11 @@
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MEXAMPLES}
-PLIST_SUB= EXAMPLES=""
+PLIST_SUB+= EXAMPLES=""
CMAKE_ARGS= -DENABLE_EXAMPLES=ON
.else
CMAKE_ARGS= -DENABLE_EXAMPLES=OFF
-PLIST_SUB= EXAMPLES="@comment "
+PLIST_SUB+= EXAMPLES="@comment "
.endif
.include <bsd.port.mk>
Index: devel/statcvs/Makefile
===================================================================
--- devel/statcvs/Makefile
+++ devel/statcvs/Makefile
@@ -39,9 +39,9 @@
.include <bsd.port.pre.mk>
.if ${JAVA_PORT_VERSION} == "1.6.0"
-PLIST_SUB= JDK6=""
+PLIST_SUB+= JDK6=""
.else
-PLIST_SUB= JDK6="@comment "
+PLIST_SUB+= JDK6="@comment "
.endif
do-install:
Index: devel/stlink/Makefile
===================================================================
--- devel/stlink/Makefile
+++ devel/stlink/Makefile
@@ -10,7 +10,7 @@
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
Index: dns/ddclient/Makefile
===================================================================
--- dns/ddclient/Makefile
+++ dns/ddclient/Makefile
@@ -21,7 +21,7 @@
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 \
Index: dns/drool/Makefile
===================================================================
--- dns/drool/Makefile
+++ dns/drool/Makefile
@@ -20,4 +20,6 @@
CPPFLAGS+= $$(pkg-config libev --cflags-only-I)
LDFLAGS+= $$(pkg-config libev --libs-only-L)
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: dns/erlang-idna/Makefile
===================================================================
--- dns/erlang-idna/Makefile
+++ dns/erlang-idna/Makefile
@@ -18,4 +18,6 @@
ERL_BUILD_DEPS= devel/erlang-unicode_util_compat
ERL_RUN_DEPS:= ${ERL_BUILD_DEPS}
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: dns/knot-resolver/Makefile
===================================================================
--- dns/knot-resolver/Makefile
+++ dns/knot-resolver/Makefile
@@ -31,7 +31,7 @@
USE_CSTD= c99
USE_LDCONFIG= yes
-OPTIONS_DEFINE= COOKIES DNSTAP DOXYGEN GO MEMCACHED REDIS TRUSTANCHOR
+OPTIONS_DEFINE= DOCS COOKIES DNSTAP DOXYGEN GO MEMCACHED REDIS TRUSTANCHOR
COOKIES_DESC= cookies
COOKIES_LIB_DEPENDS= libnettle.so:security/nettle
@@ -53,6 +53,7 @@
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
Index: dns/knot1/Makefile
===================================================================
--- dns/knot1/Makefile
+++ dns/knot1/Makefile
@@ -39,7 +39,7 @@
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
Index: dns/knot2/Makefile
===================================================================
--- dns/knot2/Makefile
+++ dns/knot2/Makefile
@@ -40,7 +40,7 @@
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
Index: dns/linux-c6-libasyncns/Makefile
===================================================================
--- dns/linux-c6-libasyncns/Makefile
+++ dns/linux-c6-libasyncns/Makefile
@@ -14,4 +14,6 @@
USE_LDCONFIG= yes
USE_LINUX_RPM= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: dns/linux-c7-libasyncns/Makefile
===================================================================
--- dns/linux-c7-libasyncns/Makefile
+++ dns/linux-c7-libasyncns/Makefile
@@ -18,4 +18,6 @@
USE_LDCONFIG= yes
USE_LINUX_RPM= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: dns/powerdns/Makefile
===================================================================
--- dns/powerdns/Makefile
+++ dns/powerdns/Makefile
@@ -39,7 +39,7 @@
USE_RC_SUBR= pdns
-OPTIONS_DEFINE= GEOIP MYDNS MYSQL OPENDBX OPENLDAP OPTALGO PGSQL PROTOBUF REMOTE SQLITE3 TINYDNS TOOLS UNIXODBC
+OPTIONS_DEFINE= GEOIP MYDNS MYSQL OPENDBX OPENLDAP OPTALGO PGSQL PROTOBUF REMOTE SQLITE3 TINYDNS TOOLS UNIXODBC DOCS EXAMPLES
OPTIONS_GROUP= EXPERIMENTAL REMOTEOPT
OPTIONS_GROUP_EXPERIMENTAL= LUABACKEND
OPTIONS_GROUP_REMOTEOPT= ZEROMQ
Index: dns/py-namebench/Makefile
===================================================================
--- dns/py-namebench/Makefile
+++ dns/py-namebench/Makefile
@@ -38,6 +38,8 @@
PYDISTUTILS_INSTALLARGS+= --install-data=${PREFIX}/share
+OPTIONS_DEFINE= DOCS
+
post-patch:
@${REINPLACE_CMD} -e 's,/usr/local,${PREFIX},' \
${WRKSRC}/libnamebench/util.py
Index: dns/void-zones-tools/Makefile
===================================================================
--- dns/void-zones-tools/Makefile
+++ dns/void-zones-tools/Makefile
@@ -18,6 +18,8 @@
SUB_FILES= pkg-message
+OPTIONS_DEFINE= DOCS
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/hosts2zones ${STAGEDIR}${PREFIX}/bin
${MKDIR} ${STAGEDIR}${PREFIX}/etc/void-zones
Index: editors/le/Makefile
===================================================================
--- editors/le/Makefile
+++ editors/le/Makefile
@@ -29,6 +29,8 @@
colors-white keymap-emacs mainmenu mainmenu-ru syntax
SRC_DATA= le.hlp
+OPTIONS_DEFINE= DOCS
+
do-install:
cd ${WRKSRC}/src && ${INSTALL_PROGRAM} le ${STAGEDIR}${PREFIX}/bin
cd ${WRKSRC}/doc && ${INSTALL_MAN} le.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
Index: editors/leafpad/Makefile
===================================================================
--- editors/leafpad/Makefile
+++ editors/leafpad/Makefile
@@ -22,6 +22,8 @@
PORTDOCS= AUTHORS COPYING ChangeLog INSTALL README
+OPTIONS_DEFINE= DOCS
+
post-extract:
@${CHMOD} a+x ${WRKSRC}/install-sh
Index: editors/micro/Makefile
===================================================================
--- editors/micro/Makefile
+++ editors/micro/Makefile
@@ -40,6 +40,8 @@
PLIST_FILES= bin/micro
PORTDOCS= README.md
+OPTIONS_DEFINE= DOCS
+
do-build:
@(cd ${WRKSRC} ; \
${SETENV} GOPATH=${WRKSRC} go build -ldflags \
Index: editors/pluma/Makefile
===================================================================
--- editors/pluma/Makefile
+++ editors/pluma/Makefile
@@ -38,4 +38,6 @@
org.mate.pluma.plugins.spell.gschema.xml \
org.mate.pluma.plugins.time.gschema.xml
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: editors/the/Makefile
===================================================================
--- editors/the/Makefile
+++ editors/the/Makefile
@@ -21,7 +21,7 @@
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
Index: editors/the/pkg-plist
===================================================================
--- editors/the/pkg-plist
+++ editors/the/pkg-plist
@@ -2,7 +2,6 @@
bin/the
%%XCURSES%%bin/xthe
man/man1/the.1.gz
-@dir %%DATADIR%%
%%DATADIR%%/THE_Help.txt
%%DATADIR%%/abf.tld
%%DATADIR%%/append.the
@@ -48,7 +47,6 @@
%%DATADIR%%/udiff.tld
%%DATADIR%%/uncomm.the
%%DATADIR%%/words.the
-@dir %%PORTDOCS%%%%DOCSDIR%%
%%PORTDOCS%%%%DOCSDIR%%/app1.html
%%PORTDOCS%%%%DOCSDIR%%/app2.html
%%PORTDOCS%%%%DOCSDIR%%/app3.html
Index: emulators/advancemess/Makefile
===================================================================
--- emulators/advancemess/Makefile
+++ emulators/advancemess/Makefile
@@ -31,7 +31,7 @@
MAKE_JOBS_UNSAFE= yes
-OPTIONS_DEFINE= FREETYPE SLANG
+OPTIONS_DEFINE= FREETYPE SLANG DOCS
OPTIONS_DEFINE_i386= ASM
OPTIONS_DEFAULT= FREETYPE
OPTIONS_DEFAULT_i386= ASM
Index: emulators/dosbox/Makefile
===================================================================
--- emulators/dosbox/Makefile
+++ emulators/dosbox/Makefile
@@ -27,6 +27,7 @@
"${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
Index: emulators/dynagen/Makefile
===================================================================
--- emulators/dynagen/Makefile
+++ emulators/dynagen/Makefile
@@ -28,6 +28,8 @@
ALL_TARGET= # empty
NO_ARCH= yes
+OPTIONS_DEFINE= DOCS EXAMPLES
+
.include <bsd.port.pre.mk>
post-extract:
Index: emulators/fs-uae-launcher/Makefile
===================================================================
--- emulators/fs-uae-launcher/Makefile
+++ emulators/fs-uae-launcher/Makefile
@@ -16,6 +16,8 @@
INSTALLS_ICONS= yes
MAKE_ARGS= DESTDIR=${STAGEDIR} prefix=${PREFIX}
+OPTIONS_DEFINE= DOCS
+
do-build:
(cd ${WRKSRC} && ${PYTHON_CMD} setup.py build)
(cd ${WRKSRC} && ${PYTHON_CMD} \
Index: emulators/fuse-utils/Makefile
===================================================================
--- emulators/fuse-utils/Makefile
+++ emulators/fuse-utils/Makefile
@@ -24,6 +24,8 @@
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}
Index: emulators/fuse/Makefile
===================================================================
--- emulators/fuse/Makefile
+++ emulators/fuse/Makefile
@@ -24,7 +24,7 @@
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
Index: emulators/libspectrum/Makefile
===================================================================
--- emulators/libspectrum/Makefile
+++ emulators/libspectrum/Makefile
@@ -21,7 +21,9 @@
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}
Index: emulators/mame/Makefile
===================================================================
--- emulators/mame/Makefile
+++ emulators/mame/Makefile
@@ -59,7 +59,7 @@
.else
EMULATOR= ${MSUBTARGET}
.endif
-PLIST_SUB= EMULATOR=${EMULATOR}
+PLIST_SUB+= EMULATOR=${EMULATOR}
post-patch:
@${REINPLACE_CMD} -e \
Index: emulators/mgba/Makefile
===================================================================
--- emulators/mgba/Makefile
+++ emulators/mgba/Makefile
@@ -35,7 +35,7 @@
-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
Index: emulators/mtools/Makefile
===================================================================
--- emulators/mtools/Makefile
+++ emulators/mtools/Makefile
@@ -38,10 +38,10 @@
.if ${PORT_OPTIONS:MX11}
USE_XORG= x11 sm ice xau
-PLIST_SUB= X11=""
+PLIST_SUB+= X11=""
.else
CONFIGURE_ARGS+= --without-x
-PLIST_SUB= X11="@comment "
+PLIST_SUB+= X11="@comment "
MAKE_ENV+= WITHOUT_X11=yes
.endif
Index: emulators/mupen64plus-core/Makefile
===================================================================
--- emulators/mupen64plus-core/Makefile
+++ emulators/mupen64plus-core/Makefile
@@ -24,5 +24,7 @@
MAKE_ENV+= OPTFLAGS="${OPTFLAGS}"
+OPTIONS_DEFINE= DOCS
+
.include "${.CURDIR}/../mupen64plus-core/Makefile.common"
.include <bsd.port.mk>
Index: emulators/nestopia/Makefile
===================================================================
--- emulators/nestopia/Makefile
+++ emulators/nestopia/Makefile
@@ -21,6 +21,8 @@
INSTALLS_ICONS= yes
+OPTIONS_DEFINE= DOCS
+
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
Index: emulators/pcsxr/Makefile
===================================================================
--- emulators/pcsxr/Makefile
+++ emulators/pcsxr/Makefile
@@ -42,7 +42,7 @@
# accessed through libcdio (using cam(4) and pass(4))
DEFAULT_DVD_DEVICE?= /dev/cd0
-OPTIONS_DEFINE= NLS
+OPTIONS_DEFINE= NLS DOCS
OPTIONS_SUB= yes
NLS_USES= gettext
NLS_CONFIGURE_ENABLE= nls
Index: ftp/bftpd/Makefile
===================================================================
--- ftp/bftpd/Makefile
+++ ftp/bftpd/Makefile
@@ -21,6 +21,8 @@
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
Index: ftp/linux-c6-curl/Makefile
===================================================================
--- ftp/linux-c6-curl/Makefile
+++ ftp/linux-c6-curl/Makefile
@@ -17,4 +17,6 @@
USE_LINUX= libssh2 nspr nss openldap
USE_LINUX_RPM= nolib
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: ftp/linux-c7-curl/Makefile
===================================================================
--- ftp/linux-c7-curl/Makefile
+++ ftp/linux-c7-curl/Makefile
@@ -21,4 +21,6 @@
USE_LINUX= libssh2 nspr nss openldap
USE_LINUX_RPM= nolib
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: games/afternoonstalker/Makefile
===================================================================
--- games/afternoonstalker/Makefile
+++ games/afternoonstalker/Makefile
@@ -23,6 +23,8 @@
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
Index: games/aop/Makefile
===================================================================
--- games/aop/Makefile
+++ games/aop/Makefile
@@ -22,6 +22,8 @@
PORTDOCS= README
+OPTIONS_DEFINE= DOCS
+
post-patch:
@${REINPLACE_CMD} -e 's|/usr/local|${STAGEDIR}${PREFIX}|g' \
${WRKSRC}/Makefile
Index: games/battletanks/Makefile
===================================================================
--- games/battletanks/Makefile
+++ games/battletanks/Makefile
@@ -31,6 +31,8 @@
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)
Index: games/beret/Makefile
===================================================================
--- games/beret/Makefile
+++ games/beret/Makefile
@@ -31,6 +31,8 @@
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
Index: games/burgerspace/Makefile
===================================================================
--- games/burgerspace/Makefile
+++ games/burgerspace/Makefile
@@ -23,6 +23,8 @@
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
Index: games/capitalism/Makefile
===================================================================
--- games/capitalism/Makefile
+++ games/capitalism/Makefile
@@ -36,7 +36,7 @@
DESKTOP_ENTRIES="Capitalism" "" "${PORTNAME}" \
"${PORTNAME}" "Game;BoardGame;" ""
-OPTIONS_DEFINE= NLS
+OPTIONS_DEFINE= NLS DOCS
OPTIONS_SUB= yes
NLS_CONFIGURE_ENABLE= nls
Index: games/connectfive/Makefile
===================================================================
--- games/connectfive/Makefile
+++ games/connectfive/Makefile
@@ -28,7 +28,7 @@
PORTDOCS= *
PORTDATA= *
-.include <bsd.port.options.mk>
+OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e 's|sdl-config|${SDL_CONFIG}|' ${WRKSRC}/Makefile.linux
Index: games/evilfinder/Makefile
===================================================================
--- games/evilfinder/Makefile
+++ games/evilfinder/Makefile
@@ -25,7 +25,7 @@
PORTDATA= evilnumbers.dat
PORTDOCS= README
-OPTIONS_DEFINE= WRAPPER
+OPTIONS_DEFINE= WRAPPER OCS
WRAPPER_DESC= Evilfinder local wrapper
OPTIONS_DEFAULT= WRAPPER
Index: games/flare-engine/Makefile
===================================================================
--- games/flare-engine/Makefile
+++ games/flare-engine/Makefile
@@ -26,6 +26,8 @@
PLIST_FILES= bin/${PORTNAME} \
man/man1/flare.1.gz
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.pre.mk>
post-patch:
Index: games/freeblocks/Makefile
===================================================================
--- games/freeblocks/Makefile
+++ games/freeblocks/Makefile
@@ -21,7 +21,7 @@
PORTDOCS= *
-OPTIONS_DEFINE= HALF_GFX
+OPTIONS_DEFINE= HALF_GFX DOCS
HALF_GFX_DESC= Use 320x240 graphics
HALF_GFX_CMAKE_ON= -DHALF_GFX=ON
Index: games/freedroidrpg/Makefile
===================================================================
--- games/freedroidrpg/Makefile
+++ games/freedroidrpg/Makefile
@@ -30,7 +30,7 @@
PORTDATA= *
PORTDOCS= *
-OPTIONS_DEFINE= NLS BACKTRACE OPENGL SOUND
+OPTIONS_DEFINE= NLS BACKTRACE OPENGL SOUND DOCS
OPTIONS_DEFAULT=BACKTRACE OPENGL SOUND
OPTIONS_SUB= yes
Index: games/garith/Makefile
===================================================================
--- games/garith/Makefile
+++ games/garith/Makefile
@@ -18,6 +18,8 @@
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
Index: games/goldencheetah/Makefile
===================================================================
--- games/goldencheetah/Makefile
+++ games/goldencheetah/Makefile
@@ -33,6 +33,8 @@
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
Index: games/impossible_mission_puzzle/Makefile
===================================================================
--- games/impossible_mission_puzzle/Makefile
+++ games/impossible_mission_puzzle/Makefile
@@ -29,6 +29,8 @@
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
Index: games/jchessboard/Makefile
===================================================================
--- games/jchessboard/Makefile
+++ games/jchessboard/Makefile
@@ -31,6 +31,8 @@
JARFILE= JChessBoard.jar
+OPTIONS_DEFINE= DOCS
+
do-install:
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
@${MKDIR} ${STAGEDIR}${DATADIR}
Index: games/jfsw/Makefile
===================================================================
--- games/jfsw/Makefile
+++ games/jfsw/Makefile
@@ -43,6 +43,8 @@
PORTDOCS= readme.txt releasenotes.html
+OPTIONS_DEFINE= DOCS
+
post-patch:
@${REINPLACE_CMD} 's|/usr/X11R6|${LOCALBASE}|' \
${WRKSRC}/jfbuild/Makefile
Index: games/joequake/Makefile
===================================================================
--- games/joequake/Makefile
+++ games/joequake/Makefile
@@ -27,7 +27,7 @@
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)
Index: games/mirrormagic/Makefile
===================================================================
--- games/mirrormagic/Makefile
+++ games/mirrormagic/Makefile
@@ -29,7 +29,7 @@
"Game;LogicGame;" \
""
-OPTIONS_DEFINE= SDL
+OPTIONS_DEFINE= SDL DOCS
OPTIONS_DEFAULT=SDL
SDL_USE= SDL=image,mixer,sdl
Index: games/netpanzer/Makefile
===================================================================
--- games/netpanzer/Makefile
+++ games/netpanzer/Makefile
@@ -23,6 +23,8 @@
PORTDOCS= *
PORTDATA= *
+OPTIONS_DEFINE= DOCS
+
post-configure:
${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/SConstruct
Index: games/openalchemist/Makefile
===================================================================
--- games/openalchemist/Makefile
+++ games/openalchemist/Makefile
@@ -31,6 +31,8 @@
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
Index: games/openbor/Makefile
===================================================================
--- games/openbor/Makefile
+++ games/openbor/Makefile
@@ -63,7 +63,7 @@
"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
Index: games/openttd/Makefile
===================================================================
--- games/openttd/Makefile
+++ games/openttd/Makefile
@@ -43,6 +43,8 @@
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
Index: games/plutocracy/Makefile
===================================================================
--- games/plutocracy/Makefile
+++ games/plutocracy/Makefile
@@ -28,6 +28,8 @@
PORTDOCS= AUTHORS README
PORTDATA= *
+OPTIONS_DEFINE= DOCS
+
post-patch:
@${REINPLACE_CMD} -e 's|span font|span font_desc|' \
${WRKSRC}/src/render/r_assets.c
Index: games/pokerth/Makefile
===================================================================
--- games/pokerth/Makefile
+++ games/pokerth/Makefile
@@ -32,6 +32,8 @@
PORTDOCS= server_setup_howto.txt
+OPTIONS_DEFINE= DOCS
+
post-patch:
@${REINPLACE_CMD} -E \
-e 's|/usr([a-z|/]*)|${LOCALBASE}/\1|g' \
Index: games/pongix/Makefile
===================================================================
--- games/pongix/Makefile
+++ games/pongix/Makefile
@@ -21,6 +21,8 @@
LIBS+= -lm
PORTDOCS= AUTHORS ChangeLog README
+OPTIONS_DEFINE= DOCS
+
do-install:
${MKDIR} ${STAGEDIR}${DATADIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC}/src && \
Index: games/prboom-plus/Makefile
===================================================================
--- games/prboom-plus/Makefile
+++ games/prboom-plus/Makefile
@@ -22,7 +22,7 @@
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-waddir=${DATADIR}
-OPTIONS_DEFINE= OPENGL
+OPTIONS_DEFINE= DOCS OPENGL
OPTIONS_DEFAULT=OPENGL
DATADIR= ${DMDIR}
Index: games/pvpgn/Makefile
===================================================================
--- games/pvpgn/Makefile
+++ games/pvpgn/Makefile
@@ -37,7 +37,7 @@
USE_RC_SUBR= bnetd
-OPTIONS_DEFINE= D2 MYSQL PGSQL SQLITE3
+OPTIONS_DEFINE= D2 MYSQL PGSQL SQLITE3 DOCS
OPTIONS_DEFAULT= D2
OPTIONS_SUB= yes
Index: games/rnd_jue/Makefile
===================================================================
--- games/rnd_jue/Makefile
+++ games/rnd_jue/Makefile
@@ -45,6 +45,8 @@
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/}
Index: games/sdlpop/Makefile
===================================================================
--- games/sdlpop/Makefile
+++ games/sdlpop/Makefile
@@ -25,6 +25,8 @@
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
Index: games/taipan/Makefile
===================================================================
--- games/taipan/Makefile
+++ games/taipan/Makefile
@@ -16,6 +16,8 @@
PORTDOCS= README
PLIST_FILES= bin/taipan
+OPTIONS_DEFINE= DOCS
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/taipan ${STAGEDIR}${PREFIX}/bin
@${MKDIR} ${STAGEDIR}${DOCSDIR}
Index: games/tanglet/Makefile
===================================================================
--- games/tanglet/Makefile
+++ games/tanglet/Makefile
@@ -21,6 +21,8 @@
CXXFLAGS+= -D_GLIBCXX_USE_C99 -D_GLIBCXX_USE_C99_MATH_TR1 \
-D_DECLARE_C99_LDBL_MATH # XXX ports/193528
+OPTIONS_DEFINE= DOCS
+
post-patch:
@${REINPLACE_CMD} -e 's|share/man|man|' ${WRKSRC}/tanglet.pro
Index: games/tbe/Makefile
===================================================================
--- games/tbe/Makefile
+++ games/tbe/Makefile
@@ -21,6 +21,8 @@
PORTDOCS= *
+OPTIONS_DEFINE= DOCS
+
post-patch:
@${REINPLACE_CMD} 's/ make/ $$(MAKE)/' \
${WRKSRC}/Makefile
Index: games/trigger-rally/Makefile
===================================================================
--- games/trigger-rally/Makefile
+++ games/trigger-rally/Makefile
@@ -35,6 +35,8 @@
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}
Index: games/trimines/Makefile
===================================================================
--- games/trimines/Makefile
+++ games/trimines/Makefile
@@ -24,6 +24,8 @@
"Game;LogicGame;" \
""
+OPTIONS_DEFINE= DOCS
+
post-patch:
@${REINPLACE_CMD} -e 's|data/|${DATADIR}/|' ${WRKSRC}/src/gfx.c
Index: games/vegastrike/Makefile
===================================================================
--- games/vegastrike/Makefile
+++ games/vegastrike/Makefile
@@ -41,7 +41,7 @@
PLIST_FILES= ${BIN_FILES}
PORTDOCS= README
-OPTIONS_DEFINE= MESHER
+OPTIONS_DEFINE= MESHER DOCS
MESHER_DESC= Enable mesher modelling tool
MESHER_PLIST_FILES= bin/mesher
Index: games/volleyball/Makefile
===================================================================
--- games/volleyball/Makefile
+++ games/volleyball/Makefile
@@ -34,6 +34,8 @@
"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' \
Index: games/voxelands/Makefile
===================================================================
--- games/voxelands/Makefile
+++ games/voxelands/Makefile
@@ -23,7 +23,7 @@
OPTIONS_SUB= yes
-OPTIONS_DEFINE= NLS SOUND SQLITE3
+OPTIONS_DEFINE= NLS SOUND SQLITE3 DOCS
OPTIONS_MULTI= BINARIES
OPTIONS_MULTI_BINARIES= CLIENT SERVER
Index: games/widelands/Makefile
===================================================================
--- games/widelands/Makefile
+++ games/widelands/Makefile
@@ -39,6 +39,8 @@
"Game;StrategyGame;" \
""
+OPTIONS_DEFINE= DOCS
+
post-patch:
@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' \
${WRKSRC}/cmake/Modules/*.cmake
Index: games/wmeyes/Makefile
===================================================================
--- games/wmeyes/Makefile
+++ games/wmeyes/Makefile
@@ -16,6 +16,8 @@
PORTDOCS= README
PLIST_FILES= bin/wmeyes
+OPTIONS_DEFINE= DOCS
+
post-patch:
@${REINPLACE_CMD} -e 's|Target(|TargetNoMan(|g' ${WRKSRC}/Imakefile
Index: games/xorgramana/Makefile
===================================================================
--- games/xorgramana/Makefile
+++ games/xorgramana/Makefile
@@ -29,6 +29,8 @@
"Game;LogicGame;" \
false
+OPTIONS_DEFINE= DOCS
+
post-patch:
@${REINPLACE_CMD} -e 's|GFX/|${DATADIR}/&|' ${WRKSRC}/icons.c
Index: games/xshogi/Makefile
===================================================================
--- games/xshogi/Makefile
+++ games/xshogi/Makefile
@@ -19,4 +19,6 @@
PORTDOCS= README.xboard BUGS
PLIST_FILES= bin/xshogi man/man6/xshogi.6.gz
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: german/BBBike/Makefile
===================================================================
--- german/BBBike/Makefile
+++ german/BBBike/Makefile
@@ -59,7 +59,7 @@
.if exists(${PERL5})
LOCAL_PERL_ARCH!= ${PERL5} -MConfig -e '$$x = qq{$$Config{version}/$$Config{archname}}; $$x =~ s{/}{\\\\/}g; print $$x'
.endif
-PLIST_SUB= LOCAL_PERL_ARCH=${LOCAL_PERL_ARCH}
+PLIST_SUB+= LOCAL_PERL_ARCH=${LOCAL_PERL_ARCH}
BBBIKE_PERL_EXE= bbbike cbbbike bbbikeclient cmdbbbike smsbbbike
post-patch:
Index: german/selfhtml/Makefile
===================================================================
--- german/selfhtml/Makefile
+++ german/selfhtml/Makefile
@@ -48,6 +48,8 @@
src \
xml
+OPTIONS_DEFINE= DOCS
+
do-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
(cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
Index: graphics/OpenEXR/Makefile
===================================================================
--- graphics/OpenEXR/Makefile
+++ graphics/OpenEXR/Makefile
@@ -57,7 +57,7 @@
MAJORVER= 2_2
VER= 23
-PLIST_SUB= MAJORVER=${MAJORVER}
+PLIST_SUB+= MAJORVER=${MAJORVER}
PLIST_SUB+= VER=${VER}
post-patch:
Index: graphics/blender/Makefile.options
===================================================================
--- graphics/blender/Makefile.options
+++ graphics/blender/Makefile.options
@@ -1,6 +1,7 @@
# $FreeBSD$
OPTIONS_DEFINE= \
+ DOCS \
AVI \
BULLET \
CAMERATRACK \
Index: graphics/bugle/Makefile
===================================================================
--- graphics/bugle/Makefile
+++ graphics/bugle/Makefile
@@ -25,7 +25,7 @@
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
Index: graphics/embree/Makefile
===================================================================
--- graphics/embree/Makefile
+++ graphics/embree/Makefile
@@ -26,7 +26,7 @@
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
Index: graphics/eom/Makefile
===================================================================
--- graphics/eom/Makefile
+++ graphics/eom/Makefile
@@ -35,7 +35,7 @@
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
Index: graphics/libboard/Makefile
===================================================================
--- graphics/libboard/Makefile
+++ graphics/libboard/Makefile
@@ -26,7 +26,8 @@
PORTDOCS= *
-OPTIONS_DEFINE= DOXYGEN EXAMPLES
+OPTIONS_DEFINE= DOXYGEN EXAMPLES DOCS
+DOXYGEN_IMPLIES= DOCS
DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen
.include <bsd.port.pre.mk>
Index: graphics/libgxps/Makefile
===================================================================
--- graphics/libgxps/Makefile
+++ graphics/libgxps/Makefile
@@ -21,4 +21,6 @@
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: graphics/libsixel/Makefile
===================================================================
--- graphics/libsixel/Makefile
+++ graphics/libsixel/Makefile
@@ -26,7 +26,7 @@
PORTDOCS= README.md
-OPTIONS_DEFINE= CURL GD JPEG PIXBUF PNG PYTHON
+OPTIONS_DEFINE= CURL GD JPEG PIXBUF PNG PYTHON DOCS
OPTIONS_DEFAULT=
OPTIONS_SUB= yes
@@ -53,7 +53,7 @@
PYTHON_USE= python=py3kplist
PYTHON_CONFIGURE_ENABLE= python
-post-install:
+post-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}
Index: graphics/linux-c6-cairo/Makefile
===================================================================
--- graphics/linux-c6-cairo/Makefile
+++ graphics/linux-c6-cairo/Makefile
@@ -16,4 +16,6 @@
USE_LINUX= fontconfig pixman png xorglibs
USE_LINUX_RPM= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: graphics/linux-c6-jpeg/Makefile
===================================================================
--- graphics/linux-c6-jpeg/Makefile
+++ graphics/linux-c6-jpeg/Makefile
@@ -18,4 +18,6 @@
USE_LDCONFIG= yes
USE_LINUX_RPM= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: graphics/linux-c6-png/Makefile
===================================================================
--- graphics/linux-c6-png/Makefile
+++ graphics/linux-c6-png/Makefile
@@ -15,4 +15,6 @@
USE_LDCONFIG= yes
USE_LINUX_RPM= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: graphics/linux-c6-sdl_image/Makefile
===================================================================
--- graphics/linux-c6-sdl_image/Makefile
+++ graphics/linux-c6-sdl_image/Makefile
@@ -20,4 +20,6 @@
USE_LINUX= jpeg png sdl12 tiff
USE_LINUX_RPM= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: graphics/linux-c6-sdl_ttf/Makefile
===================================================================
--- graphics/linux-c6-sdl_ttf/Makefile
+++ graphics/linux-c6-sdl_ttf/Makefile
@@ -20,4 +20,6 @@
USE_LINUX= jpeg png sdl12 tiff
USE_LINUX_RPM= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: graphics/linux-c6-tiff/Makefile
===================================================================
--- graphics/linux-c6-tiff/Makefile
+++ graphics/linux-c6-tiff/Makefile
@@ -18,4 +18,6 @@
USE_LINUX= jpeg
USE_LINUX_RPM= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: graphics/linux-c7-cairo/Makefile
===================================================================
--- graphics/linux-c7-cairo/Makefile
+++ graphics/linux-c7-cairo/Makefile
@@ -17,4 +17,6 @@
USE_LINUX= dri fontconfig pixman png xorglibs
USE_LINUX_RPM= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: graphics/linux-c7-dri/Makefile
===================================================================
--- graphics/linux-c7-dri/Makefile
+++ graphics/linux-c7-dri/Makefile
@@ -30,6 +30,8 @@
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
Index: graphics/linux-c7-graphite2/Makefile
===================================================================
--- graphics/linux-c7-graphite2/Makefile
+++ graphics/linux-c7-graphite2/Makefile
@@ -14,4 +14,6 @@
USE_LDCONFIG= yes
USE_LINUX_RPM= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: graphics/linux-c7-jasper/Makefile
===================================================================
--- graphics/linux-c7-jasper/Makefile
+++ graphics/linux-c7-jasper/Makefile
@@ -20,4 +20,6 @@
USE_LINUX= jpeg
USE_LINUX_RPM= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: graphics/linux-c7-jbigkit/Makefile
===================================================================
--- graphics/linux-c7-jbigkit/Makefile
+++ graphics/linux-c7-jbigkit/Makefile
@@ -19,4 +19,6 @@
USE_LDCONFIG= yes
USE_LINUX_RPM= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: graphics/linux-c7-jpeg/Makefile
===================================================================
--- graphics/linux-c7-jpeg/Makefile
+++ graphics/linux-c7-jpeg/Makefile
@@ -20,4 +20,6 @@
USE_LDCONFIG= yes
USE_LINUX_RPM= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: graphics/linux-c7-png/Makefile
===================================================================
--- graphics/linux-c7-png/Makefile
+++ graphics/linux-c7-png/Makefile
@@ -22,4 +22,6 @@
USE_LDCONFIG= yes
USE_LINUX_RPM= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: graphics/linux-c7-sdl_image/Makefile
===================================================================
--- graphics/linux-c7-sdl_image/Makefile
+++ graphics/linux-c7-sdl_image/Makefile
@@ -23,4 +23,6 @@
USE_LINUX= jpeg png sdl12 tiff
USE_LINUX_RPM= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: graphics/linux-c7-sdl_ttf/Makefile
===================================================================
--- graphics/linux-c7-sdl_ttf/Makefile
+++ graphics/linux-c7-sdl_ttf/Makefile
@@ -23,4 +23,6 @@
USE_LINUX= jpeg png sdl12 tiff
USE_LINUX_RPM= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: graphics/linux-c7-tiff/Makefile
===================================================================
--- graphics/linux-c7-tiff/Makefile
+++ graphics/linux-c7-tiff/Makefile
@@ -18,4 +18,6 @@
USE_LINUX= jbigkit jpeg
USE_LINUX_RPM= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: graphics/mandelbulber/Makefile
===================================================================
--- graphics/mandelbulber/Makefile
+++ graphics/mandelbulber/Makefile
@@ -25,6 +25,8 @@
PORTDOCS= README NEWS
PORTDATA= *
+OPTIONS_DEFINE= DOCS
+
post-patch:
@${REINPLACE_CMD} -e 's|/usr/share/mandelbulber|${DATADIR}|' \
${WRKSRC}/${PORTNAME}.desktop
Index: graphics/mupdf/Makefile
===================================================================
--- graphics/mupdf/Makefile
+++ graphics/mupdf/Makefile
@@ -33,7 +33,7 @@
CPE_VENDOR= artifex
-OPTIONS_DEFINE= JS SCROLL
+OPTIONS_DEFINE= DOCS JS SCROLL
OPTIONS_DEFAULT=SCROLL
JS_DESC= JavaScript support (V8 engine)
Index: graphics/openjump/Makefile
===================================================================
--- graphics/openjump/Makefile
+++ graphics/openjump/Makefile
@@ -48,6 +48,8 @@
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}-r${PLUS_REV}-PLUS
PLUS_REV= 5434
+OPTIONS_DEFINE= DOCS
+
do-install:
@${ECHO_CMD} "---> Installing JAR files"
${MKDIR} ${TARGET_DIR}/lib
Index: graphics/optipng/Makefile
===================================================================
--- graphics/optipng/Makefile
+++ graphics/optipng/Makefile
@@ -12,7 +12,7 @@
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
Index: graphics/oyranos/Makefile
===================================================================
--- graphics/oyranos/Makefile
+++ graphics/oyranos/Makefile
@@ -40,7 +40,8 @@
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= *
Index: graphics/pencil/Makefile
===================================================================
--- graphics/pencil/Makefile
+++ graphics/pencil/Makefile
@@ -29,6 +29,8 @@
PORTDOCS= README TODO
+OPTIONS_DEFINE= DOCS
+
post-patch:
@${MKDIR} ${WRKSRC}/src/external/freebsd
@${CP} ${FILESDIR}/src-external-freebsd-freebsd.cpp \
Index: graphics/piglit/Makefile
===================================================================
--- graphics/piglit/Makefile
+++ graphics/piglit/Makefile
@@ -43,4 +43,6 @@
DATADIR= ${PREFIX}/lib/piglit
PORTDATA= *
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: graphics/pqiv/Makefile
===================================================================
--- graphics/pqiv/Makefile
+++ graphics/pqiv/Makefile
@@ -17,6 +17,8 @@
USE_GITHUB= yes
GH_ACCOUNT= phillipberndt
+OPTIONS_DEFINE= DOCS
+
OPTIONS_SINGLE= GTK
OPTIONS_SINGLE_GTK= GTK2 GTK3
Index: graphics/rawtherapee/Makefile
===================================================================
--- graphics/rawtherapee/Makefile
+++ graphics/rawtherapee/Makefile
@@ -60,7 +60,7 @@
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)
Index: graphics/sdump/Makefile
===================================================================
--- graphics/sdump/Makefile
+++ graphics/sdump/Makefile
@@ -29,6 +29,8 @@
PORTDOCS= README.markdown
+OPTIONS_DEFINE= DOCS
+
post-build:
@cd ${WRKSRC}/yaimg-sixel && ${SETENV} ${MAKE_ENV} ${MAKE_CMD}
Index: graphics/seq2gif/Makefile
===================================================================
--- graphics/seq2gif/Makefile
+++ graphics/seq2gif/Makefile
@@ -25,6 +25,8 @@
PLIST_FILES= bin/seq2gif
+OPTIONS_DEFINE= DOCS
+
post-install:
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}
Index: graphics/tgif/Makefile
===================================================================
--- graphics/tgif/Makefile
+++ graphics/tgif/Makefile
@@ -32,9 +32,9 @@
.if ${PORT_OPTIONS:MNLS}
USES+= gettext
IMAKEDEFINES+= WITH_NLS
-PLIST_SUB= NLS=""
+PLIST_SUB+= NLS=""
.else
-PLIST_SUB= NLS="@comment "
+PLIST_SUB+= NLS="@comment "
.endif
.if ${PORT_OPTIONS:MA4SIZE}
IMAKEDEFINES+= WITH_A4SIZE
Index: graphics/vapoursynth-fmtconv/Makefile
===================================================================
--- graphics/vapoursynth-fmtconv/Makefile
+++ graphics/vapoursynth-fmtconv/Makefile
@@ -33,6 +33,8 @@
PLIST_FILES= %%DATADIR%%/libfmtconv.so
PORTDOCS= *
+OPTIONS_DEFINE= DOCS
+
post-patch:
@${REINPLACE_CMD} -e 's/x86_64/&|amd64/' \
${WRKSRC}/configure.ac
Index: graphics/vapoursynth-waifu2x-w2xc/Makefile
===================================================================
--- graphics/vapoursynth-waifu2x-w2xc/Makefile
+++ graphics/vapoursynth-waifu2x-w2xc/Makefile
@@ -36,6 +36,8 @@
PORTDATA= models
PORTDOCS= *.md
+OPTIONS_DEFINE= DOCS
+
post-patch:
@${REINPLACE_CMD} -e 's/\*linux\*/*/' \
-e 's/-O3 //; /=.*-mfpmath/d; /-msse/d' \
Index: irc/ircd-ratbox/Makefile
===================================================================
--- irc/ircd-ratbox/Makefile
+++ irc/ircd-ratbox/Makefile
@@ -50,7 +50,7 @@
#-- 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
Index: irc/irssi-fish/Makefile
===================================================================
--- irc/irssi-fish/Makefile
+++ irc/irssi-fish/Makefile
@@ -27,6 +27,8 @@
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
Index: irc/ratbox-respond/Makefile
===================================================================
--- irc/ratbox-respond/Makefile
+++ irc/ratbox-respond/Makefile
@@ -22,6 +22,8 @@
PORTEXAMPLES= *
PLIST_FILES= bin/ratbox-respond bin/makekeypair
+OPTIONS_DEFINE= DOCS EXAMPLES
+
do-install:
${INSTALL_PROGRAM} ${BUILD_WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/makekeypair ${STAGEDIR}${PREFIX}/bin
Index: irc/roxirc/Makefile
===================================================================
--- irc/roxirc/Makefile
+++ irc/roxirc/Makefile
@@ -16,6 +16,8 @@
PLIST_FILES= bin/roxirc
PORTDOCS= *
+OPTIONS_DEFINE= DOCS
+
post-patch:
@${REINPLACE_CMD} 's|if \[ -x .*|${WISH} "$$0" "$$@"|' ${WRKSRC}/roxirc
Index: irc/thales/Makefile
===================================================================
--- irc/thales/Makefile
+++ irc/thales/Makefile
@@ -19,7 +19,7 @@
USE_MYSQL= yes
USE_RC_SUBR= thales
-OPTIONS_DEFINE= MODES DOCS
+OPTIONS_DEFINE= MODES DOCS EXAMPLES
OPTIONS_RADIO= IRCD
OPTIONS_RADIO_IRCD= HYBRID IRCDRU UNREAL
OPTIONS_DEFAULT=MODES UNREAL
Index: japanese/canna-server/Makefile
===================================================================
--- japanese/canna-server/Makefile
+++ japanese/canna-server/Makefile
@@ -24,6 +24,8 @@
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
Index: japanese/groff/Makefile
===================================================================
--- japanese/groff/Makefile
+++ japanese/groff/Makefile
@@ -45,6 +45,8 @@
an-old.tmac doc.tmac e.tmac
MDOCFILES= ja.eucJP doc-common doc-syms
+OPTIONS_DEFINE= DOCS EXAMPLES
+
post-patch:
${REINPLACE_CMD} -E -e 's|^@setfilename +groff|&.info|g;' \
${WRKSRC}/doc/groff.texinfo
Index: japanese/jvim3/Makefile
===================================================================
--- japanese/jvim3/Makefile
+++ japanese/jvim3/Makefile
@@ -24,7 +24,7 @@
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
Index: japanese/kon2-16dot/Makefile
===================================================================
--- japanese/kon2-16dot/Makefile
+++ japanese/kon2-16dot/Makefile
@@ -22,6 +22,9 @@
PORTDOCS= README README.FreeBSD
SUB_LIST= KON16FONT=${KON16FONT} \
KON14FONT=${KON14FONT}
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.pre.mk>
.if !defined(KONFONT)
Index: japanese/kterm/Makefile
===================================================================
--- japanese/kterm/Makefile
+++ japanese/kterm/Makefile
@@ -27,7 +27,7 @@
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
Index: japanese/lookup/Makefile
===================================================================
--- japanese/lookup/Makefile
+++ japanese/lookup/Makefile
@@ -25,7 +25,7 @@
MANIFEST= MANIFEST.lookup
.else
ELISPDIR= ${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}/lookup
-PLIST_SUB= ELISPDIR=${EMACS_VERSION_SITE_LISPDIR}
+PLIST_SUB+= ELISPDIR=${EMACS_VERSION_SITE_LISPDIR}
.endif
HAS_CONFIGURE= yes
CONFIGURE_ARGS= --with-emacs=${EMACS_CMD} \
Index: japanese/onew/Makefile
===================================================================
--- japanese/onew/Makefile
+++ japanese/onew/Makefile
@@ -17,7 +17,7 @@
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
Index: japanese/skkinput3/Makefile
===================================================================
--- japanese/skkinput3/Makefile
+++ japanese/skkinput3/Makefile
@@ -31,9 +31,9 @@
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MSKK10}
-PLIST_SUB= SKK8="@comment " SKK10=""
+PLIST_SUB+= SKK8="@comment " SKK10=""
.else
-PLIST_SUB= SKK8="" SKK10="@comment "
+PLIST_SUB+= SKK8="" SKK10="@comment "
.endif
.if ${PORT_OPTIONS:MDBSKKD}
Index: java/castor/Makefile
===================================================================
--- java/castor/Makefile
+++ java/castor/Makefile
@@ -28,6 +28,8 @@
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} \
Index: lang/alchemist.el/Makefile
===================================================================
--- lang/alchemist.el/Makefile
+++ lang/alchemist.el/Makefile
@@ -20,6 +20,8 @@
NO_BUILD= yes
USE_EMACS= yes
+OPTIONS_DEFINE= DOCS
+
do-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/${EMACS_SITE_LISPDIR}/alchemist-server
@${MKDIR} ${STAGEDIR}${PREFIX}/${EMACS_SITE_LISPDIR}/alchemist-server/lib
Index: lang/cint/Makefile
===================================================================
--- lang/cint/Makefile
+++ lang/cint/Makefile
@@ -31,6 +31,8 @@
--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
Index: lang/elixir-mode.el/Makefile
===================================================================
--- lang/elixir-mode.el/Makefile
+++ lang/elixir-mode.el/Makefile
@@ -18,9 +18,13 @@
USE_EMACS= 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}
Index: lang/elk/Makefile
===================================================================
--- lang/elk/Makefile
+++ lang/elk/Makefile
@@ -24,6 +24,8 @@
CPPFLAGS+= -I${LOCALBASE}/include/libelf -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
+OPTIONS_DEFINE= EXAMPLES
+
.include <bsd.port.pre.mk>
.if ${ARCH} == "amd64"
Index: lang/fasm/Makefile
===================================================================
--- lang/fasm/Makefile
+++ lang/fasm/Makefile
@@ -19,6 +19,8 @@
PORTDOCS= *
WRKSRC= ${WRKDIR}/${PORTNAME}
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.pre.mk>
.if ${ARCH} != "i386"
Index: lang/fpc-docs/Makefile
===================================================================
--- lang/fpc-docs/Makefile
+++ lang/fpc-docs/Makefile
@@ -21,6 +21,8 @@
rtl.pdf user.pdf
SUB_FILES= pkg-message
+OPTIONS_DEFINE= DOCS
+
do-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKDIR}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}
Index: lang/gambit-c/Makefile
===================================================================
--- lang/gambit-c/Makefile
+++ lang/gambit-c/Makefile
@@ -31,7 +31,7 @@
INFO= gambit
-OPTIONS_DEFINE= GCC
+OPTIONS_DEFINE= DOCS GCC
OPTIONS_DEFAULT=GCC
GCC_DESC= Build with GCC
Index: lang/gcc47/Makefile
===================================================================
--- lang/gcc47/Makefile
+++ lang/gcc47/Makefile
@@ -81,7 +81,7 @@
--enable-languages=${LANGUAGES}
MAKE_ARGS+= MAKEINFOFLAGS="--no-split"
USE_LDCONFIG= ${TARGLIB}
-PLIST_SUB= GCC_VERSION=${GCC_VERSION} \
+PLIST_SUB+= GCC_VERSION=${GCC_VERSION} \
GNU_HOST=${CONFIGURE_TARGET} \
SUFFIX=${SUFFIX}
INFO= gcc${SUFFIX}/cpp \
Index: lang/gcc48/Makefile
===================================================================
--- lang/gcc48/Makefile
+++ lang/gcc48/Makefile
@@ -102,7 +102,7 @@
--enable-languages=${LANGUAGES}
MAKE_ARGS+= MAKEINFOFLAGS="--no-split"
USE_LDCONFIG= ${TARGLIB}
-PLIST_SUB= GCC_VERSION=${GCC_VERSION} \
+PLIST_SUB+= GCC_VERSION=${GCC_VERSION} \
GNU_HOST=${CONFIGURE_TARGET} \
SUFFIX=${SUFFIX}
INFO= gcc${SUFFIX}/cpp \
Index: lang/gcc49/Makefile
===================================================================
--- lang/gcc49/Makefile
+++ lang/gcc49/Makefile
@@ -102,7 +102,7 @@
--enable-languages=${LANGUAGES}
MAKE_ARGS+= MAKEINFOFLAGS="--no-split"
USE_LDCONFIG= ${TARGLIB}
-PLIST_SUB= GCC_VERSION=${GCC_VERSION} \
+PLIST_SUB+= GCC_VERSION=${GCC_VERSION} \
GNU_HOST=${CONFIGURE_TARGET} \
SUFFIX=${SUFFIX}
INFO= gcc${SUFFIX}/cpp \
Index: lang/gcc5/Makefile
===================================================================
--- lang/gcc5/Makefile
+++ lang/gcc5/Makefile
@@ -97,7 +97,7 @@
--with-system-zlib
MAKE_ARGS+= MAKEINFOFLAGS="--no-split"
USE_LDCONFIG= ${TARGLIB}
-PLIST_SUB= GCC_VERSION=${GCC_VERSION} \
+PLIST_SUB+= GCC_VERSION=${GCC_VERSION} \
GNU_HOST=${CONFIGURE_TARGET} \
SUFFIX=${SUFFIX}
INFO= gcc${SUFFIX}/cpp \
Index: lang/gcc6-devel/Makefile
===================================================================
--- lang/gcc6-devel/Makefile
+++ lang/gcc6-devel/Makefile
@@ -112,7 +112,7 @@
--with-system-zlib
MAKE_ARGS+= MAKEINFOFLAGS="--no-split"
USE_LDCONFIG= ${TARGLIB}
-PLIST_SUB= GCC_VERSION=${GCC_VERSION} \
+PLIST_SUB+= GCC_VERSION=${GCC_VERSION} \
GNU_HOST=${CONFIGURE_TARGET} \
SUFFIX=${SUFFIX}
INFO= gcc${SUFFIX}/cpp \
Index: lang/gcc6/Makefile
===================================================================
--- lang/gcc6/Makefile
+++ lang/gcc6/Makefile
@@ -110,7 +110,7 @@
--with-system-zlib
MAKE_ARGS+= MAKEINFOFLAGS="--no-split"
USE_LDCONFIG= ${TARGLIB}
-PLIST_SUB= GCC_VERSION=${GCC_VERSION} \
+PLIST_SUB+= GCC_VERSION=${GCC_VERSION} \
GNU_HOST=${CONFIGURE_TARGET} \
SUFFIX=${SUFFIX}
INFO= gcc${SUFFIX}/cpp \
Index: lang/gcc7-devel/Makefile
===================================================================
--- lang/gcc7-devel/Makefile
+++ lang/gcc7-devel/Makefile
@@ -96,7 +96,7 @@
--with-system-zlib
MAKE_ARGS+= MAKEINFOFLAGS="--no-split"
USE_LDCONFIG= ${TARGLIB}
-PLIST_SUB= GCC_VERSION=${GCC_VERSION} \
+PLIST_SUB+= GCC_VERSION=${GCC_VERSION} \
GNU_HOST=${CONFIGURE_TARGET} \
SUFFIX=${SUFFIX}
INFO= gcc${SUFFIX}/cpp \
Index: lang/gcc7/Makefile
===================================================================
--- lang/gcc7/Makefile
+++ lang/gcc7/Makefile
@@ -90,7 +90,7 @@
--with-system-zlib
MAKE_ARGS+= MAKEINFOFLAGS="--no-split"
USE_LDCONFIG= ${TARGLIB}
-PLIST_SUB= GCC_VERSION=${GCC_VERSION} \
+PLIST_SUB+= GCC_VERSION=${GCC_VERSION} \
GNU_HOST=${CONFIGURE_TARGET} \
SUFFIX=${SUFFIX}
INFO= gcc${SUFFIX}/cpp \
Index: lang/gcc8-devel/Makefile
===================================================================
--- lang/gcc8-devel/Makefile
+++ lang/gcc8-devel/Makefile
@@ -94,7 +94,7 @@
--with-system-zlib
MAKE_ARGS+= MAKEINFOFLAGS="--no-split"
USE_LDCONFIG= ${TARGLIB}
-PLIST_SUB= GCC_VERSION=${GCC_VERSION} \
+PLIST_SUB+= GCC_VERSION=${GCC_VERSION} \
GNU_HOST=${CONFIGURE_TARGET} \
SUFFIX=${SUFFIX}
INFO= gcc${SUFFIX}/cpp \
Index: lang/lfe/Makefile
===================================================================
--- lang/lfe/Makefile
+++ lang/lfe/Makefile
@@ -16,6 +16,8 @@
ALL_TARGET= compile
PORTDOCS= README.md
+OPTIONS_DEFINE= DOCS
+
do-build:
cd ${BUILD_WRKSRC} && \
${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} ${ALL_TARGET}
Index: lang/linux-c6-tcl85/Makefile
===================================================================
--- lang/linux-c6-tcl85/Makefile
+++ lang/linux-c6-tcl85/Makefile
@@ -18,4 +18,6 @@
USE_LINUX_RPM= yes
USE_LINUX_RPM_BAD_PERMS= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: lang/linux-c7-tcl85/Makefile
===================================================================
--- lang/linux-c7-tcl85/Makefile
+++ lang/linux-c7-tcl85/Makefile
@@ -20,4 +20,6 @@
USE_LINUX_RPM= yes
USE_LINUX_RPM_BAD_PERMS= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: lang/modula3/Makefile
===================================================================
--- lang/modula3/Makefile
+++ lang/modula3/Makefile
@@ -51,6 +51,8 @@
hack/dummy \
test/test
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.pre.mk>
M3BOOT_ENV= ${MAKE_ENV:C/^LDFLAGS=.*//:C/^CPPFLAGS=.*//} \
@@ -77,7 +79,7 @@
NEWBOOTNAME= m3-bootstrap.${MARCH}.${OPSYS:tu}.${OSREL:S/.//}.tar.bz2
M3TARGET= ${MARCH}_${OPSYS:tu}
-PLIST_SUB= T=${M3TARGET} P=cm3/pkg B=cm3/bin L=cm3/lib
+PLIST_SUB+= T=${M3TARGET} P=cm3/pkg B=cm3/bin L=cm3/lib
.endif
post-extract:
Index: lang/racket/Makefile
===================================================================
--- lang/racket/Makefile
+++ lang/racket/Makefile
@@ -44,7 +44,7 @@
REINPLACE_ARGS= -i ""
USE_GNOME= cairo pango
-OPTIONS_DEFINE= FUTURES
+OPTIONS_DEFINE= DOCS FUTURES
OPTIONS_DEFAULT=FUTURES
OPTIONS_DEFINE_amd64= JIT
Index: lang/smlnj/Makefile
===================================================================
--- lang/smlnj/Makefile
+++ lang/smlnj/Makefile
@@ -56,7 +56,7 @@
ml-burg.tgz ml-lpt.tgz ml-lex.tgz ml-yacc.tgz nlffi.tgz \
smlnj-lib.tgz trace-debug-profile.tgz
-PLIST_SUB= MLARCH=${MLARCH}
+PLIST_SUB+= MLARCH=${MLARCH}
.if ${PORT_OPTIONS:MPOSITION64} || defined(ML_POSITION64)
ML_POSITION64?= ${PORT_OPTIONS:MPOSITION64}
Index: lang/snobol4/Makefile
===================================================================
--- lang/snobol4/Makefile
+++ lang/snobol4/Makefile
@@ -20,6 +20,8 @@
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"/' \
Index: mail/archiveopteryx-devel/Makefile
===================================================================
--- mail/archiveopteryx-devel/Makefile
+++ mail/archiveopteryx-devel/Makefile
@@ -40,6 +40,8 @@
JAM?= ${LOCALBASE}/bin/jam
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.pre.mk>
# force Clang when on FreeBSD
Index: mail/archiveopteryx/Makefile
===================================================================
--- mail/archiveopteryx/Makefile
+++ mail/archiveopteryx/Makefile
@@ -34,6 +34,8 @@
JAM?= ${LOCALBASE}/bin/jam
JAMARG+= -dx
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.pre.mk>
# force Clang when on FreeBSD
Index: mail/cclient/Makefile
===================================================================
--- mail/cclient/Makefile
+++ mail/cclient/Makefile
@@ -57,7 +57,7 @@
SHLIBMAJ= 9
SHLIBNAME= lib${SHLIBBASE}.so.${SHLIBMAJ}
MAKE_ENV+= SHLIBNAME=${SHLIBNAME} SHLIBBASE=${SHLIBBASE}
-PLIST_SUB= SHLIBNAME=${SHLIBNAME} SHLIBBASE=${SHLIBBASE}
+PLIST_SUB+= SHLIBNAME=${SHLIBNAME} SHLIBBASE=${SHLIBBASE}
post-patch:
.for file in Makefile src/osdep/unix/Makefile src/osdep/unix/Makefile.gss
Index: mail/exim-doc-html/Makefile
===================================================================
--- mail/exim-doc-html/Makefile
+++ mail/exim-doc-html/Makefile
@@ -24,6 +24,8 @@
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
Index: mail/fastforward/Makefile
===================================================================
--- mail/fastforward/Makefile
+++ mail/fastforward/Makefile
@@ -19,6 +19,8 @@
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}
Index: mail/imapfilter/Makefile
===================================================================
--- mail/imapfilter/Makefile
+++ mail/imapfilter/Makefile
@@ -43,6 +43,8 @@
MANDIR=${MANPREFIX}/man \
LIBLUA=-llua-${LUA_VER}
+OPTIONS_DEFINE= DOCS
+
post-patch:
${REINPLACE_CMD} 's|-ldl ||' ${WRKSRC}/src/Makefile
Index: mail/opendkim/Makefile
===================================================================
--- mail/opendkim/Makefile
+++ mail/opendkim/Makefile
@@ -36,7 +36,7 @@
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
Index: mail/opendmarc/Makefile
===================================================================
--- mail/opendmarc/Makefile
+++ mail/opendmarc/Makefile
@@ -29,7 +29,7 @@
GNU_CONFIGURE= yes
-OPTIONS_DEFINE= SPF
+OPTIONS_DEFINE= SPF DOCS
OPTIONS_DEFAULT= SPF
SPF_DESC= Enable support for SPF record checking
Index: mail/openemm2013/Makefile
===================================================================
--- mail/openemm2013/Makefile
+++ mail/openemm2013/Makefile
@@ -65,6 +65,8 @@
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}
Index: mail/openemm2015/Makefile
===================================================================
--- mail/openemm2015/Makefile
+++ mail/openemm2015/Makefile
@@ -62,6 +62,8 @@
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}
Index: mail/ovs/Makefile
===================================================================
--- mail/ovs/Makefile
+++ mail/ovs/Makefile
@@ -35,6 +35,8 @@
PORTDOCS= README CHANGES COPYING CHANGES.old README.old
+OPTIONS_DEFINE= DOCS
+
pre-everything::
@${ECHO_MSG} ""
@${ECHO_MSG} "You may set following options:"
Index: mail/panda-cclient/Makefile
===================================================================
--- mail/panda-cclient/Makefile
+++ mail/panda-cclient/Makefile
@@ -57,7 +57,7 @@
SHLIBMAJ= 10
SHLIBNAME= lib${SHLIBBASE}.so.${SHLIBMAJ}
MAKE_ENV+= SHLIBNAME=${SHLIBNAME} SHLIBBASE=${SHLIBBASE}
-PLIST_SUB= SHLIBNAME=${SHLIBNAME} SHLIBBASE=${SHLIBBASE}
+PLIST_SUB+= SHLIBNAME=${SHLIBNAME} SHLIBBASE=${SHLIBBASE}
pre-configure:
.for file in Makefile src/osdep/unix/Makefile src/osdep/unix/Makefile.gss
Index: mail/policyd2/Makefile
===================================================================
--- mail/policyd2/Makefile
+++ mail/policyd2/Makefile
@@ -32,7 +32,7 @@
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
Index: mail/pysieved/Makefile
===================================================================
--- mail/pysieved/Makefile
+++ mail/pysieved/Makefile
@@ -23,6 +23,8 @@
PORTDOCS= COPYING README README.Dovecot THANKS
+OPTIONS_DEFINE= DOCS EXAMPLES
+
post-patch:
${REINPLACE_CMD} \
's!/usr/bin/env python!${PYTHON_CMD}!' \
Index: mail/qmail-rblchk/Makefile
===================================================================
--- mail/qmail-rblchk/Makefile
+++ mail/qmail-rblchk/Makefile
@@ -22,6 +22,8 @@
ALL_TARGET= default
INSTALL_TARGET= setup
+OPTIONS_DEFINE= EXAMPLES
+
post-patch:
@${REINPLACE_CMD} -e '/"cat/d; s|,02755|,0755|' ${WRKSRC}/hier.c
Index: mail/sieve-connect/Makefile
===================================================================
--- mail/sieve-connect/Makefile
+++ mail/sieve-connect/Makefile
@@ -30,6 +30,8 @@
PORTDOCS= ChangeLog README.md TODO
+OPTIONS_DEFINE= DOCS
+
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/sieve-connect \
${STAGEDIR}${PREFIX}/bin/sieve-connect
Index: mail/slapd-cyrus/Makefile
===================================================================
--- mail/slapd-cyrus/Makefile
+++ mail/slapd-cyrus/Makefile
@@ -28,6 +28,8 @@
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 \
Index: mail/spmfilter-clamav/Makefile
===================================================================
--- mail/spmfilter-clamav/Makefile
+++ mail/spmfilter-clamav/Makefile
@@ -19,7 +19,7 @@
USE_LDCONFIG= ${PREFIX}/lib/spmfilter
-OPTIONS_DEFINE= DEBUG
+OPTIONS_DEFINE= DEBUG DOCS
DEBUG_CMAKE_ON= -DENABLE_DEBUG=TRUE
Index: mail/sympa/Makefile
===================================================================
--- mail/sympa/Makefile
+++ mail/sympa/Makefile
@@ -97,7 +97,7 @@
CONFLICTS= sympa-5*
-OPTIONS_DEFINE= FASTCGI APACHE NLS
+OPTIONS_DEFINE= FASTCGI APACHE NLS DOCS EXAMPLES
OPTIONS_DEFAULT=APACHE NLS
OPTIONS_RADIO= DATABASE
OPTIONS_RADIO_DATABASE= PGSQL SYBASE MYSQL
Index: math/blacs/Makefile
===================================================================
--- math/blacs/Makefile
+++ math/blacs/Makefile
@@ -19,6 +19,8 @@
USES= fortran gmake
USE_LDCONFIG= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.pre.mk>
.if ! ${PORT_OPTIONS:MDOCS}
Index: math/blocksolve95/Makefile
===================================================================
--- math/blocksolve95/Makefile
+++ math/blocksolve95/Makefile
@@ -23,6 +23,7 @@
USES= fortran gmake tar:Z
+OPTIONS_DEFINE= DOCS EXAMPLES
OPTIONS_RADIO= BLAS
OPTIONS_RADIO_BLAS= REFERENCE ATLAS
OPTIONS_DEFAULT= REFERENCE
Index: math/ccmath/Makefile
===================================================================
--- math/ccmath/Makefile
+++ math/ccmath/Makefile
@@ -18,6 +18,8 @@
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"
Index: math/clp/Makefile
===================================================================
--- math/clp/Makefile
+++ math/clp/Makefile
@@ -27,7 +27,7 @@
--with-blas-lib="${BLASLIB} -L${LOCALBASE}/lib" \
--datadir=${DATADIR}
-OPTIONS_DEFINE= DEBUG
+OPTIONS_DEFINE= DEBUG DOCS
PORTDOCS= *
DEBUG_CXXFLAGS= -fomit-frame-pointer
Index: math/ggobi/Makefile
===================================================================
--- math/ggobi/Makefile
+++ math/ggobi/Makefile
@@ -26,6 +26,8 @@
ALL_TARGET= all ggobirc
INSTALL_TARGET= install-strip
+OPTIONS_DEFINE= DOCS
+
post-build:
@${REINPLACE_CMD} -e 's|plugin.la|plugin.so|g' ${WRKSRC}/ggobirc
Index: math/gracetmpl/Makefile
===================================================================
--- math/gracetmpl/Makefile
+++ math/gracetmpl/Makefile
@@ -34,6 +34,8 @@
PLIST_SUB+= PYTHON_VER=${PYTHON_VER}
+OPTIONS_DEFINE= DOCS
+
post-extract:
@${ECHO_CMD} -n > ${WRKSRC}/Makefile.defs
Index: math/liborigin/Makefile
===================================================================
--- math/liborigin/Makefile
+++ math/liborigin/Makefile
@@ -23,7 +23,8 @@
PORTDOCS= *
-OPTIONS_DEFINE= DOXYGEN
+OPTIONS_DEFINE= DOXYGEN DOCS
+DOXYGEN_IMPLIES= DOCS
DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen
post-patch-DOXYGEN-off:
Index: math/mpfr/Makefile
===================================================================
--- math/mpfr/Makefile
+++ math/mpfr/Makefile
@@ -34,6 +34,8 @@
PORTDOCS= *
+OPTIONS_DEFINE= DOCS
+
regression-test: build
@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} check
Index: math/ploticus/Makefile
===================================================================
--- math/ploticus/Makefile
+++ math/ploticus/Makefile
@@ -39,6 +39,8 @@
USE_XORG= xpm
.endif
+OPTIONS_DEFINE= EXAMPLES
+
post-patch:
@${REINPLACE_CMD} -e 's,/usr/X11R6,${LOCALBASE},g' \
${BUILD_WRKSRC}/Makefile ${BUILD_WRKSRC}/mkapi
Index: math/py-bitvector/Makefile
===================================================================
--- math/py-bitvector/Makefile
+++ math/py-bitvector/Makefile
@@ -19,10 +19,12 @@
PORTDOCS= README BitVector-${PORTVERSION}.html
+OPTIONS_DEFINE= DOCS
+
post-extract:
@${RM} ${WRKSRC}/test.py
-DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME}
+DOCSDIR= ${PREFIX}/share/doc/${PKGBASE}
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
Index: math/py-fastcluster/Makefile
===================================================================
--- math/py-fastcluster/Makefile
+++ math/py-fastcluster/Makefile
@@ -24,6 +24,8 @@
USES= python
USE_PYTHON= distutils autoplist concurrent
+OPTIONS_DEFINE= DOCS
+
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
Index: math/scalapack/Makefile
===================================================================
--- math/scalapack/Makefile
+++ math/scalapack/Makefile
@@ -33,6 +33,8 @@
SUB_FILES= pkg-message
PLIST_SUB= SVERSION=${SVERSION} PORTVERSION=${PORTVERSION}
+OPTIONS_DEFINE= DOCS EXAMPLES
+
.include <bsd.port.pre.mk>
.if ${PORT_OPTIONS:MDOCS}
Index: math/topaz/Makefile
===================================================================
--- math/topaz/Makefile
+++ math/topaz/Makefile
@@ -19,6 +19,8 @@
USE_XORG= x11
MAKEFILE= Makefile.freebsd
+OPTIONS_DEFINE= EXAMPLES
+
post-install:
${LN} -sf ${PREFIX}/lib/topaz/topaz.sh ${STAGEDIR}${PREFIX}/bin/topaz
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
Index: math/xgraph/Makefile
===================================================================
--- math/xgraph/Makefile
+++ math/xgraph/Makefile
@@ -20,6 +20,8 @@
USE_XORG= x11 xext
WRKSRC= ${WRKDIR}/${PORTNAME}
+OPTIONS_DEFINE= EXAMPLES
+
post-extract:
@${SED} -ne '2,19 {s|^ \* *||;p;}' < ${WRKSRC}/copyright.h > ${WRKSRC}/COPYING
Index: misc/elixir-mime/Makefile
===================================================================
--- misc/elixir-mime/Makefile
+++ misc/elixir-mime/Makefile
@@ -17,4 +17,6 @@
MIX_REWRITE= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: misc/elixir-uuid/Makefile
===================================================================
--- misc/elixir-uuid/Makefile
+++ misc/elixir-uuid/Makefile
@@ -16,4 +16,6 @@
ELIXIR_APP_NAME=uuid
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: misc/erlang-mimerl/Makefile
===================================================================
--- misc/erlang-mimerl/Makefile
+++ misc/erlang-mimerl/Makefile
@@ -14,4 +14,6 @@
USE_GITHUB= yes
GH_ACCOUNT= benoitc
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: misc/erlang-mimetypes/Makefile
===================================================================
--- misc/erlang-mimetypes/Makefile
+++ misc/erlang-mimetypes/Makefile
@@ -14,4 +14,6 @@
USE_GITHUB= yes
GH_ACCOUNT= spawngrid
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: misc/heyu2/Makefile
===================================================================
--- misc/heyu2/Makefile
+++ misc/heyu2/Makefile
@@ -19,7 +19,7 @@
CONFIGURE_SCRIPT= Configure
CONFIGURE_ARGS= freebsd
-OPTIONS_DEFINE= CM17A EXTENDED RFXSENS RFXMETER DMX OREGON
+OPTIONS_DEFINE= CM17A EXTENDED RFXSENS RFXMETER DMX OREGON EXAMPLES
CM17A_DESC= X10 CM17A "Firecracker" Support
EXTENDED_DESC= Extended Type 0 (Shutter/Shade) Support
RFXSENS_DESC= RFXSensors (RF) Support
Index: misc/qbrew/Makefile
===================================================================
--- misc/qbrew/Makefile
+++ misc/qbrew/Makefile
@@ -19,6 +19,8 @@
DATADIR="${DATADIR}" \
DOCDIR="${DOCSDIR}"
+OPTIONS_DEFINE= DOCS
+
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/qbrew
Index: misc/sloccount/Makefile
===================================================================
--- misc/sloccount/Makefile
+++ misc/sloccount/Makefile
@@ -21,6 +21,8 @@
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}
Index: misc/vdmfec/Makefile
===================================================================
--- misc/vdmfec/Makefile
+++ misc/vdmfec/Makefile
@@ -24,6 +24,8 @@
bin/vdmfec \
man/man1/vdmfec.1.gz
+OPTIONS_DEFINE= DOCS
+
do-install:
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_MAN} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
Index: misc/vifm/Makefile
===================================================================
--- misc/vifm/Makefile
+++ misc/vifm/Makefile
@@ -18,4 +18,6 @@
USE_GITHUB= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: multimedia/avinfo/Makefile
===================================================================
--- multimedia/avinfo/Makefile
+++ multimedia/avinfo/Makefile
@@ -20,6 +20,8 @@
PORTDOCS= *
+OPTIONS_DEFINE= DOCS
+
post-patch:
@${REINPLACE_CMD} -e '/^CC=/ d; /^CFLAGS=/ d; /^PREFIX=/ d' \
${WRKSRC}/config.mk
Index: multimedia/cheese/Makefile
===================================================================
--- multimedia/cheese/Makefile
+++ multimedia/cheese/Makefile
@@ -39,7 +39,7 @@
GLIB_SCHEMAS= org.gnome.Cheese.gschema.xml
OPTIONS_SUB= yes
-OPTIONS_DEFINE= MANPAGES
+OPTIONS_DEFINE= MANPAGES DOCS
OPTIONS_DEFAULT=MANPAGES
MANPAGES_CONFIGURE_ENABLE= man
Index: multimedia/dvd-slideshow/Makefile
===================================================================
--- multimedia/dvd-slideshow/Makefile
+++ multimedia/dvd-slideshow/Makefile
@@ -28,7 +28,7 @@
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
Index: multimedia/ffms2/Makefile
===================================================================
--- multimedia/ffms2/Makefile
+++ multimedia/ffms2/Makefile
@@ -28,6 +28,8 @@
USE_LDCONFIG= yes
DATADIR= ${PREFIX}/lib/vapoursynth
+OPTIONS_DEFINE= DOCS
+
post-patch:
@${REINPLACE_CMD} -e '/^dist_doc_DATA/s,=,& \
doc/${PORTNAME}-vapoursynth.md,' \
Index: multimedia/gpodder/Makefile
===================================================================
--- multimedia/gpodder/Makefile
+++ multimedia/gpodder/Makefile
@@ -21,7 +21,7 @@
${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
Index: multimedia/kvazaar/Makefile
===================================================================
--- multimedia/kvazaar/Makefile
+++ multimedia/kvazaar/Makefile
@@ -23,7 +23,7 @@
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}}
Index: multimedia/libdvdnav/Makefile
===================================================================
--- multimedia/libdvdnav/Makefile
+++ multimedia/libdvdnav/Makefile
@@ -23,4 +23,6 @@
PORTDOCS= AUTHORS COPYING ChangeLog README TODO
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: multimedia/libdvdread/Makefile
===================================================================
--- multimedia/libdvdread/Makefile
+++ multimedia/libdvdread/Makefile
@@ -21,7 +21,7 @@
PORTDOCS= AUTHORS COPYING ChangeLog NEWS README TODO
-OPTIONS_DEFINE= DVDCSS
+OPTIONS_DEFINE= DVDCSS DOCS
.if !defined(PACKAGE_BUILDING)
OPTIONS_DEFAULT= DVDCSS
.endif
Index: multimedia/linux-c6-libtheora/Makefile
===================================================================
--- multimedia/linux-c6-libtheora/Makefile
+++ multimedia/linux-c6-libtheora/Makefile
@@ -15,4 +15,6 @@
USE_LDCONFIG= yes
USE_LINUX_RPM= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: multimedia/linux-c6-libv4l/Makefile
===================================================================
--- multimedia/linux-c6-libv4l/Makefile
+++ multimedia/linux-c6-libv4l/Makefile
@@ -15,4 +15,6 @@
USE_LDCONFIG= yes
USE_LINUX_RPM= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: multimedia/linux-c7-libtheora/Makefile
===================================================================
--- multimedia/linux-c7-libtheora/Makefile
+++ multimedia/linux-c7-libtheora/Makefile
@@ -19,4 +19,6 @@
USE_LDCONFIG= yes
USE_LINUX_RPM= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: multimedia/linux-c7-libv4l/Makefile
===================================================================
--- multimedia/linux-c7-libv4l/Makefile
+++ multimedia/linux-c7-libv4l/Makefile
@@ -20,4 +20,6 @@
USE_LDCONFIG= yes
USE_LINUX_RPM= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: multimedia/mpc-qt/Makefile
===================================================================
--- multimedia/mpc-qt/Makefile
+++ multimedia/mpc-qt/Makefile
@@ -24,4 +24,6 @@
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>
Index: multimedia/mpv/Makefile
===================================================================
--- multimedia/mpv/Makefile
+++ multimedia/mpv/Makefile
@@ -40,7 +40,7 @@
--disable-vapoursynth-lazy \
--enable-libmpv-shared
-OPTIONS_DEFINE= ARCHIVE ASS DOCS LCMS2 LUAJIT MANPAGES TEST UCHARDET ZSH
+OPTIONS_DEFINE= ARCHIVE ASS DOCS LCMS2 LUAJIT MANPAGES TEST UCHARDET ZSH EXAMPLES
OPTIONS_DEFAULT= ARCHIVE ASS DVDREAD DVDNAV MANPAGES OPENGL UCHARDET \
V4L VAAPI VDPAU X11 YTDL
OPTIONS_GROUP= IN VO AO
Index: multimedia/nordlicht/Makefile
===================================================================
--- multimedia/nordlicht/Makefile
+++ multimedia/nordlicht/Makefile
@@ -30,6 +30,8 @@
SHEBANG_FILES= utils/mpv-nordlicht
+OPTIONS_DEFINE= EXAMPLES
+
post-patch:
@${REINPLACE_CMD} \
-e 's|$${CMAKE_INSTALL_LIBDIR}/pkgconfig|libdata/pkgconfig|' \
Index: multimedia/oscam/Makefile
===================================================================
--- multimedia/oscam/Makefile
+++ multimedia/oscam/Makefile
@@ -24,11 +24,15 @@
SVN_REV= 11062
SVN_SRC= http://www.streamboard.tv/svn/oscam/trunk
+OPTIONS_DEFINE= EXAMPLES
+
do-install:
${RM} ${WRKSRC}/Distribution/*.debug
${INSTALL_PROGRAM} ${WRKSRC}/Distribution/${PORTNAME}-${PORTVERSION}-* ${STAGEDIR}${PREFIX}/bin/oscam
${INSTALL_MAN} ${WRKSRC}/Distribution/doc/man/*.1 ${STAGEDIR}${PREFIX}/man/man1/
${INSTALL_MAN} ${WRKSRC}/Distribution/doc/man/*.5 ${STAGEDIR}${PREFIX}/man/man5/
+
+do-install-EXAMPLES-on:
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/
${INSTALL_DATA} ${WRKSRC}/Distribution/doc/example/* ${STAGEDIR}${EXAMPLESDIR}/
Index: multimedia/vapoursynth-l-smash-works/Makefile
===================================================================
--- multimedia/vapoursynth-l-smash-works/Makefile
+++ multimedia/vapoursynth-l-smash-works/Makefile
@@ -45,6 +45,8 @@
%%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 -/' \
Index: multimedia/winff/Makefile
===================================================================
--- multimedia/winff/Makefile
+++ multimedia/winff/Makefile
@@ -39,6 +39,8 @@
BUILD_WRKSRC= ${WRKDIR}/${PKGNAME}/${_PORTNAME}
+OPTIONS_DEFINE= DOCS
+
OPTIONS_SINGLE= LCL
OPTIONS_SINGLE_LCL= GTK2 QT4
Index: net-im/centerim-devel/Makefile
===================================================================
--- net-im/centerim-devel/Makefile
+++ net-im/centerim-devel/Makefile
@@ -28,7 +28,7 @@
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
Index: net-im/centerim/Makefile
===================================================================
--- net-im/centerim/Makefile
+++ net-im/centerim/Makefile
@@ -25,7 +25,7 @@
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
Index: net-im/prosody-modules/Makefile
===================================================================
--- net-im/prosody-modules/Makefile
+++ net-im/prosody-modules/Makefile
@@ -22,6 +22,8 @@
PLIST_SUB= INSTALLPATH=${INSTALLPATH}
WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTNAME}
INSTALLPATH= ${PREFIX}/lib/${PORTNAME}
+
+OPTIONS_DEFINE= DOCS
do-install:
${MKDIR} ${STAGEDIR}${INSTALLPATH} ${STAGEDIR}${DOCSDIR}
Index: net-im/sayaka/Makefile
===================================================================
--- net-im/sayaka/Makefile
+++ net-im/sayaka/Makefile
@@ -22,7 +22,7 @@
WRKSRC_SUBDIR= vala
-OPTIONS_DEFINE= COLORMAP
+OPTIONS_DEFINE= COLORMAP DOCS
OPTIONS_DEFAULT=COLORMAP
OPTIONS_SUB= yes
Index: net-im/telegram/Makefile
===================================================================
--- net-im/telegram/Makefile
+++ net-im/telegram/Makefile
@@ -33,6 +33,8 @@
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
Index: net-im/vacuum-im/Makefile
===================================================================
--- net-im/vacuum-im/Makefile
+++ net-im/vacuum-im/Makefile
@@ -28,4 +28,6 @@
"${PREFIX}/share/pixmaps/vacuum.png" "${PORTNAME}" \
"Qt;Network;InstantMessaging;" false
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: net-mgmt/adcli/Makefile
===================================================================
--- net-mgmt/adcli/Makefile
+++ net-mgmt/adcli/Makefile
@@ -20,6 +20,7 @@
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
Index: net-mgmt/argus3/Makefile
===================================================================
--- net-mgmt/argus3/Makefile
+++ net-mgmt/argus3/Makefile
@@ -15,7 +15,7 @@
CONFLICTS= argus-2* argus-sasl-2* argus-clients-2*
-OPTIONS_DEFINE= SASL
+OPTIONS_DEFINE= SASL EXAMPLES
OPTIONS_DEFAULT=SASL
SASL_LIB_DEPENDS= libsasl2.so:security/cyrus-sasl2
SASL_CONFIGURE_ON= --with-sasl=${LOCALBASE}
Index: net-mgmt/blackbox_exporter/Makefile
===================================================================
--- net-mgmt/blackbox_exporter/Makefile
+++ net-mgmt/blackbox_exporter/Makefile
@@ -23,6 +23,8 @@
PORTEXAMPLES= ${WRKSRC}/*.yml
+OPTIONS_DEFINE= EXAMPLES
+
do-install:
${INSTALL_PROGRAM} ${WRKDIR}/bin/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
Index: net-mgmt/bsnmp-ucd/Makefile
===================================================================
--- net-mgmt/bsnmp-ucd/Makefile
+++ net-mgmt/bsnmp-ucd/Makefile
@@ -16,7 +16,9 @@
USES= uidfix
MAKE_ENV+= NO_OBJ=yes
-post-install:
+OPTIONS_DEFINE= EXAMPLES
+
+post-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/snmpd.config.sample ${STAGEDIR}${EXAMPLESDIR}
Index: net-mgmt/dnsmap/Makefile
===================================================================
--- net-mgmt/dnsmap/Makefile
+++ net-mgmt/dnsmap/Makefile
@@ -19,6 +19,8 @@
PLIST_FILES= bin/dnsmap bin/dnsmap-bulk ${DATADIR}/wordlist_TLAs.txt
+OPTIONS_DEFINE= DOCS
+
do-build:
${CC} ${CFLAGS} ${WRKSRC}/dnsmap.c -o ${WRKSRC}/dnsmap
Index: net-mgmt/driftnet/Makefile
===================================================================
--- net-mgmt/driftnet/Makefile
+++ net-mgmt/driftnet/Makefile
@@ -29,4 +29,6 @@
INSTALL_TARGET= install-strip
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: net-mgmt/fetchconfig/Makefile
===================================================================
--- net-mgmt/fetchconfig/Makefile
+++ net-mgmt/fetchconfig/Makefile
@@ -27,6 +27,8 @@
model/CiscoPIX.pm model/JunOS.pm model/TellabsMSR.pm
PORTDOCS= CHANGES README device_table.example
+OPTIONS_DEFINE= DOCS
+
post-patch:
@${REINPLACE_CMD} -e '1s|.*|#!${PERL} -w|' ${WRKSRC}/${PORTNAME}.pl
Index: net-mgmt/flowd/Makefile
===================================================================
--- net-mgmt/flowd/Makefile
+++ net-mgmt/flowd/Makefile
@@ -11,7 +11,7 @@
COMMENT= Small, fast, and secure NetFlow collector
OPTIONS_SUB= yes
-OPTIONS_DEFINE= PERL PYTHON
+OPTIONS_DEFINE= PERL PYTHON DOCS EXAMPLES
OPTIONS_DEFAULT=PERL
PERL_DESC= Install flowd perl module
Index: net-mgmt/hastmon/Makefile
===================================================================
--- net-mgmt/hastmon/Makefile
+++ net-mgmt/hastmon/Makefile
@@ -21,6 +21,8 @@
PORTDOCS= ChangeLog COPYRIGHT README
+OPTIONS_DEFINE= DOCS
+
post-patch:
${REINPLACE_CMD} \
-e "s|\(-lcrypto\)|-L${OPENSSLLIB} \1|g" \
Index: net-mgmt/icinga-classicweb/Makefile
===================================================================
--- net-mgmt/icinga-classicweb/Makefile
+++ net-mgmt/icinga-classicweb/Makefile
@@ -7,6 +7,8 @@
MAINTAINER= lme@FreeBSD.org
COMMENT= Classic web interface for Icinga 1 and 2
+OPTIONS_DEFINE= EXAMPLES
+
.include "${.CURDIR}/../icinga-core/Makefile.common"
LIB_DEPENDS+= libgd.so:graphics/gd
Index: net-mgmt/icinga-core/Makefile
===================================================================
--- net-mgmt/icinga-core/Makefile
+++ net-mgmt/icinga-core/Makefile
@@ -20,7 +20,7 @@
SUB_LIST= PREFIX=${PREFIX} \
${PLIST_SUB}
-OPTIONS_DEFINE= IDOUTILS
+OPTIONS_DEFINE= IDOUTILS EXAMPLES
OPTIONS_RADIO= PLUGINS
OPTIONS_RADIO_PLUGINS= MONPLUGINS NAGPLUGINS
OPTIONS_DEFAULT= IDOUTILS MONPLUGINS
Index: net-mgmt/icinga2/Makefile
===================================================================
--- net-mgmt/icinga2/Makefile
+++ net-mgmt/icinga2/Makefile
@@ -26,7 +26,7 @@
USE_RC_SUBR= ${PORTNAME}
-OPTIONS_DEFINE= DOCS
+OPTIONS_DEFINE= DOCS EXAMPLES
OPTIONS_GROUP= BACKEND
OPTIONS_GROUP_BACKEND= MYSQL PGSQL
OPTIONS_RADIO= PLUGINS
Index: net-mgmt/icingaweb2/Makefile
===================================================================
--- net-mgmt/icingaweb2/Makefile
+++ net-mgmt/icingaweb2/Makefile
@@ -31,7 +31,7 @@
PLIST_SUB= WWWOWN=${WWWOWN} \
WWWGRP=${WWWGRP}
-OPTIONS_DEFINE= NLS LDAP MYSQL PGSQL PDF
+OPTIONS_DEFINE= NLS LDAP MYSQL PGSQL PDF EXAMPLES
OPTIONS_DEFAULT= LDAP MYSQL PGSQL
PDF_DESC= Export graphs as PDF
Index: net-mgmt/iftop/Makefile
===================================================================
--- net-mgmt/iftop/Makefile
+++ net-mgmt/iftop/Makefile
@@ -17,6 +17,8 @@
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
Index: net-mgmt/nagiosgraph/Makefile
===================================================================
--- net-mgmt/nagiosgraph/Makefile
+++ net-mgmt/nagiosgraph/Makefile
@@ -14,7 +14,7 @@
RUN_DEPENDS= rrdtool>=0:databases/rrdtool
-OPTIONS_DEFINE= DOCS
+OPTIONS_DEFINE= DOCS EXAMPLES
OPTIONS_SINGLE= NAGIOS
OPTIONS_SINGLE_NAGIOS= NAGIOS35 NAGIOS4
OPTIONS_DEFAULT= NAGIOS35
Index: net-mgmt/netmagis-database/Makefile
===================================================================
--- net-mgmt/netmagis-database/Makefile
+++ net-mgmt/netmagis-database/Makefile
@@ -18,4 +18,6 @@
PKGMESSAGE= ${.CURDIR}/pkg-message
PLIST= ${.CURDIR}/pkg-plist
+OPTIONS_DEFINE= EXAMPLES
+
.include "${MASTERDIR}/Makefile"
Index: net-mgmt/netmagis-detecteq/Makefile
===================================================================
--- net-mgmt/netmagis-detecteq/Makefile
+++ net-mgmt/netmagis-detecteq/Makefile
@@ -13,4 +13,6 @@
PKGMESSAGE= ${.CURDIR}/pkg-message
PLIST= ${.CURDIR}/pkg-plist
+OPTIONS_DEFINE= EXAMPLES
+
.include "${MASTERDIR}/Makefile"
Index: net-mgmt/netmagis-servers/Makefile
===================================================================
--- net-mgmt/netmagis-servers/Makefile
+++ net-mgmt/netmagis-servers/Makefile
@@ -13,4 +13,6 @@
PKGMESSAGE= ${.CURDIR}/pkg-message
PLIST= ${.CURDIR}/pkg-plist
+OPTIONS_DEFINE= EXAMPLES
+
.include "${MASTERDIR}/Makefile"
Index: net-mgmt/netmagis-topo/Makefile
===================================================================
--- net-mgmt/netmagis-topo/Makefile
+++ net-mgmt/netmagis-topo/Makefile
@@ -22,6 +22,8 @@
ALL_TARGET=build${PKGNAMESUFFIX?=}
+OPTIONS_DEFINE= EXAMPLES
+
post-install:
@${MKDIR} ${STAGEDIR}/var/netmagis/eqgen ${STAGEDIR}/var/netmagis/eqvirt
Index: net-mgmt/netmagis-www/Makefile
===================================================================
--- net-mgmt/netmagis-www/Makefile
+++ net-mgmt/netmagis-www/Makefile
@@ -21,6 +21,8 @@
PKGMESSAGE= ${.CURDIR}/pkg-message
PLIST= ${.CURDIR}/pkg-plist
+OPTIONS_DEFINE= EXAMPLES
+
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/htgtcl
Index: net-mgmt/nsca-ng/Makefile
===================================================================
--- net-mgmt/nsca-ng/Makefile
+++ net-mgmt/nsca-ng/Makefile
@@ -33,6 +33,8 @@
PORTDOCS= NEWS COPYING README PROTOCOL TODO
+OPTIONS_DEFINE= DOCS EXAMPLES
+
.include <bsd.port.pre.mk>
.if ${SSL_DEFAULT:Mlibressl*}
Index: net-mgmt/p5-Monitoring-Plugin/Makefile
===================================================================
--- net-mgmt/p5-Monitoring-Plugin/Makefile
+++ net-mgmt/p5-Monitoring-Plugin/Makefile
@@ -25,6 +25,8 @@
PORTDOCS= Changes README
+OPTIONS_DEFINE= DOCS
+
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
@${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
Index: net-mgmt/p5-Nagios-Plugin/Makefile
===================================================================
--- net-mgmt/p5-Nagios-Plugin/Makefile
+++ net-mgmt/p5-Nagios-Plugin/Makefile
@@ -23,6 +23,8 @@
PORTDOCS= Changes README
+OPTIONS_DEFINE= DOCS
+
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
@${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
Index: net-mgmt/pdagent-integrations/Makefile
===================================================================
--- net-mgmt/pdagent-integrations/Makefile
+++ net-mgmt/pdagent-integrations/Makefile
@@ -25,6 +25,8 @@
NO_ARCH= yes
NO_BUILD= yes
+OPTIONS_DEFINE= EXAMPLES
+
post-patch:
${REINPLACE_CMD} 's|/usr/share/pdagent-integrations/bin|${PREFIX}/bin|g' ${WRKSRC}/pagerduty_nagios.cfg ${WRKSRC}/conf.d/sensu_pagerduty_handler.json
Index: net-mgmt/pmacct/Makefile
===================================================================
--- net-mgmt/pmacct/Makefile
+++ net-mgmt/pmacct/Makefile
@@ -22,7 +22,7 @@
LDFLAGS+= "-L${LOCALBASE}/lib"
OPTIONS_DEFINE= MYSQL PGSQL SQLITE3 THREADS LAYER2 IPV6 DEBUG \
- DOCS PLABEL RABBITMQ KAFKA JANSSON AVRO
+ DOCS PLABEL RABBITMQ KAFKA JANSSON AVRO EXAMPLES
OPTIONS_DEFAULT=MMAP LAYER2 THREADS SHARED
AVRO_DESC= Enable avro support
Index: net-mgmt/pnp/Makefile
===================================================================
--- net-mgmt/pnp/Makefile
+++ net-mgmt/pnp/Makefile
@@ -19,7 +19,7 @@
MAKE_JOBS_UNSAFE= yes
USES= dos2unix perl5 php php:web
-OPTIONS_DEFINE= PDF
+OPTIONS_DEFINE= PDF EXAMPLES
OPTIONS_DEFAULT= PDF
PDF_DESC= Use built-in fpdf library to produce PDF views
Index: net-mgmt/py-snmp4-apps/Makefile
===================================================================
--- net-mgmt/py-snmp4-apps/Makefile
+++ net-mgmt/py-snmp4-apps/Makefile
@@ -23,6 +23,8 @@
PORTDOCS= CHANGES README
+OPTIONS_DEFINE= DOCS
+
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
Index: net-mgmt/py-snmp4-mibs/Makefile
===================================================================
--- net-mgmt/py-snmp4-mibs/Makefile
+++ net-mgmt/py-snmp4-mibs/Makefile
@@ -24,6 +24,8 @@
PORTDOCS= CHANGES README
+OPTIONS_DEFINE= DOCS
+
post-patch:
${REINPLACE_CMD} -e 's,/bin/bash,/bin/sh,' ${WRKSRC}/tools/rebuild-pysnmp-mibs
Index: net-mgmt/py-snmp4/Makefile
===================================================================
--- net-mgmt/py-snmp4/Makefile
+++ net-mgmt/py-snmp4/Makefile
@@ -29,6 +29,8 @@
BASEDOCS= CHANGES README TODO
+OPTIONS_DEFINE= DOCS EXAMPLES
+
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${BASEDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
Index: net-mgmt/resource-agents/Makefile
===================================================================
--- net-mgmt/resource-agents/Makefile
+++ net-mgmt/resource-agents/Makefile
@@ -39,7 +39,7 @@
tools/ocft/ocft.in \
tools/ocf-tester.in
-OPTIONS_DEFINE= MANPAGES
+OPTIONS_DEFINE= DOCS MANPAGES
OPTIONS_DEFAULT=MANPAGES
OPTIONS_SUB= yes
Index: net-p2p/cpuminer/Makefile
===================================================================
--- net-p2p/cpuminer/Makefile
+++ net-p2p/cpuminer/Makefile
@@ -16,7 +16,7 @@
LIB_DEPENDS= libcurl.so:ftp/curl \
libjansson.so:devel/jansson
-OPTIONS_DEFINE= GCC
+OPTIONS_DEFINE= GCC DOCS
OPTIONS_DEFAULT=GCC
USES= autoreconf cpe
Index: net-p2p/libbt/Makefile
===================================================================
--- net-p2p/libbt/Makefile
+++ net-p2p/libbt/Makefile
@@ -19,6 +19,8 @@
PORTDOCS= protocol-ext.txt protocol.txt
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-patch:
Index: net-p2p/libswift/Makefile
===================================================================
--- net-p2p/libswift/Makefile
+++ net-p2p/libswift/Makefile
@@ -41,6 +41,8 @@
USE_RC_SUBR= ${PORTNAME}
+OPTIONS_DEFINE= DOCS
+
do-install:
${MKDIR} ${STAGEDIR}${DOCSDIR} \
${STAGEDIR}${SWIFT_SHAREDIR} \
Index: net-p2p/linuxdcpp/Makefile
===================================================================
--- net-p2p/linuxdcpp/Makefile
+++ net-p2p/linuxdcpp/Makefile
@@ -19,7 +19,7 @@
PORTDOCS= *
DESTDIRNAME= FAKE_ROOT
-OPTIONS_DEFINE= NOTIFY
+OPTIONS_DEFINE= NOTIFY DOCS
OPTIONS_DEFAULT=NOTIFY
.if defined(WITH_DEBUG)
Index: net/bsdproxy/Makefile
===================================================================
--- net/bsdproxy/Makefile
+++ net/bsdproxy/Makefile
@@ -16,6 +16,8 @@
PLIST_FILES= bin/${PORTNAME}
PORTDOCS= ChangeLog README
+OPTIONS_DEFINE= DOCS
+
post-install:
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
Index: net/chrony/Makefile
===================================================================
--- net/chrony/Makefile
+++ net/chrony/Makefile
@@ -34,7 +34,7 @@
# XXX: there are also other potentially useful options worth looking into:
# --disable-pps Disable PPS API support
-OPTIONS_DEFINE= IPV6 NSS
+OPTIONS_DEFINE= IPV6 NSS DOCS EXAMPLES
OPTIONS_DEFAULT= NSS
IPV6_CATEGORIES= ipv6
Index: net/corosync/Makefile
===================================================================
--- net/corosync/Makefile
+++ net/corosync/Makefile
@@ -22,7 +22,7 @@
CONFIGURE_ARGS= --disable-secure-build
INSTALL_TARGET= install-strip
-OPTIONS_DEFINE= DBUS SNMP
+OPTIONS_DEFINE= DBUS DOCS SNMP
OPTIONS_SUB= yes
DBUS_LIB_DEPENDS+= libdbus-1.so:devel/dbus
Index: net/delegate/Makefile
===================================================================
--- net/delegate/Makefile
+++ net/delegate/Makefile
@@ -19,6 +19,8 @@
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
Index: net/dpdk/Makefile
===================================================================
--- net/dpdk/Makefile
+++ net/dpdk/Makefile
@@ -22,7 +22,7 @@
ALL_TARGET= install T=${RTE_TARGET}
-OPTIONS_DEFINE= DEBUG TOOLS
+OPTIONS_DEFINE= DEBUG TOOLS EXAMPLES
OPTIONS_SUB= yes
DEBUG_DESC= Debugging support (unoptimized build, impacts performance)
TOOLS_DESC= Install tool scripts
Index: net/elixir-kafka_ex/Makefile
===================================================================
--- net/elixir-kafka_ex/Makefile
+++ net/elixir-kafka_ex/Makefile
@@ -18,4 +18,6 @@
GH_ACCOUNT= jacklund
NO_ARCH= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: net/elixir-oauth2/Makefile
===================================================================
--- net/elixir-oauth2/Makefile
+++ net/elixir-oauth2/Makefile
@@ -19,4 +19,6 @@
GH_ACCOUNT= scrogson
NO_ARCH= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: net/erlang-ranch/Makefile
===================================================================
--- net/erlang-ranch/Makefile
+++ net/erlang-ranch/Makefile
@@ -15,7 +15,9 @@
GH_ACCOUNT= ninenines
ERL_DOCS= doc/src/guide/* doc/src/manual/*
-post-install:
+OPTIONS_DEFINE= DOCS EXAMPLES
+
+post-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}
Index: net/erlang-xmlrpc/Makefile
===================================================================
--- net/erlang-xmlrpc/Makefile
+++ net/erlang-xmlrpc/Makefile
@@ -16,6 +16,8 @@
ERL_DOCS= doc/xmlrpc.pdf doc/xmlrpc.ps doc/xmlrpc.txt
+OPTIONS_DEFINE= DOCS EXAMPLES
+
do-build:
cd ${WRKSRC}/src && ${GMAKE}
@@ -24,8 +26,10 @@
@${RM} ${WRKSRC}/src/*.orig
post-install:
+ ${INSTALL_MAN} ${WRKSRC}/doc/xmlrpc.3 ${STAGEDIR}${MANPREFIX}/man/man3/erlang_xmlrpc.3
+
+post-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR}
- ${INSTALL_MAN} ${WRKSRC}/doc/xmlrpc.3 ${STAGEDIR}${MANPREFIX}/man/man3/erlang_xmlrpc.3
.include <bsd.port.mk>
Index: net/file2pcap/Makefile
===================================================================
--- net/file2pcap/Makefile
+++ net/file2pcap/Makefile
@@ -21,6 +21,8 @@
PLIST_FILES= bin/file2pcap
PORTDOCS= Changelog README.md TODO
+OPTIONS_DEFINE= DOCS
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/file2pcap ${STAGEDIR}/${PREFIX}/bin
${MKDIR} ${STAGEDIR}/${DOCSDIR}
Index: net/freeswitch/Makefile
===================================================================
--- net/freeswitch/Makefile
+++ net/freeswitch/Makefile
@@ -46,7 +46,7 @@
SUB_FILES= pkg-message
-OPTIONS_DEFINE= ALL_MODULES X11
+OPTIONS_DEFINE= ALL_MODULES X11 EXAMPLES
OPTIONS_DEFAULT= 8K 16K ENGLISH
OPTIONS_MULTI= BITRATE LANGUAGE
OPTIONS_MULTI_BITRATE= 8K 16K 32K 48K
Index: net/glusterfs/Makefile
===================================================================
--- net/glusterfs/Makefile
+++ net/glusterfs/Makefile
@@ -55,6 +55,8 @@
PLIST_SUB= GLUSTERLIBDIR="lib/${PORTNAME}/${PORTVERSION}"
KMODDIR?= /boot/modules
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1101001
Index: net/gnatsd/Makefile
===================================================================
--- net/gnatsd/Makefile
+++ net/gnatsd/Makefile
@@ -19,6 +19,8 @@
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
Index: net/iodine/Makefile
===================================================================
--- net/iodine/Makefile
+++ net/iodine/Makefile
@@ -20,6 +20,8 @@
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
Index: net/l2tpd/Makefile
===================================================================
--- net/l2tpd/Makefile
+++ net/l2tpd/Makefile
@@ -18,6 +18,8 @@
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 \
Index: net/ldapscripts/Makefile
===================================================================
--- net/ldapscripts/Makefile
+++ net/ldapscripts/Makefile
@@ -19,7 +19,7 @@
ldapmodrdn:net/openldap${OPENLDAP_VER}${OPENLDAP_FLAVOUR}-client \
ldappasswd:net/openldap${OPENLDAP_VER}${OPENLDAP_FLAVOUR}-client
-OPTIONS_DEFINE= SASL
+OPTIONS_DEFINE= SASL DOCS
SASL_VARS= OPENLDAP_FLAVOUR=-sasl WANT_OPENLDAP_SASL=yes
NO_ARCH= yes
Index: net/libmateweather/Makefile
===================================================================
--- net/libmateweather/Makefile
+++ net/libmateweather/Makefile
@@ -26,4 +26,6 @@
GLIB_SCHEMAS= org.mate.weather.gschema.xml
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: net/libnss-pgsql/Makefile
===================================================================
--- net/libnss-pgsql/Makefile
+++ net/libnss-pgsql/Makefile
@@ -19,6 +19,8 @@
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
+OPTIONS_DEFINE= DOCS
+
post-install:
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${WRKSRC}/conf/* ${STAGEDIR}${DOCSDIR}
Index: net/linknx/Makefile
===================================================================
--- net/linknx/Makefile
+++ net/linknx/Makefile
@@ -25,7 +25,7 @@
CONFIGURE_ARGS+=CFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-I${LOCALBASE}/include -L/${LOCALBASE}/lib"
-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
Index: net/linux-c6-openldap/Makefile
===================================================================
--- net/linux-c6-openldap/Makefile
+++ net/linux-c6-openldap/Makefile
@@ -16,6 +16,8 @@
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
Index: net/linux-c6-tcp_wrappers-libs/Makefile
===================================================================
--- net/linux-c6-tcp_wrappers-libs/Makefile
+++ net/linux-c6-tcp_wrappers-libs/Makefile
@@ -19,4 +19,6 @@
USE_LINUX= xorglibs
USE_LINUX_RPM= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: net/linux-c7-openldap/Makefile
===================================================================
--- net/linux-c7-openldap/Makefile
+++ net/linux-c7-openldap/Makefile
@@ -17,6 +17,8 @@
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
Index: net/linux-c7-tcp_wrappers-libs/Makefile
===================================================================
--- net/linux-c7-tcp_wrappers-libs/Makefile
+++ net/linux-c7-tcp_wrappers-libs/Makefile
@@ -21,4 +21,6 @@
USE_LINUX= xorglibs
USE_LINUX_RPM= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: net/megatools/Makefile
===================================================================
--- net/megatools/Makefile
+++ net/megatools/Makefile
@@ -24,6 +24,8 @@
INSTALL_TARGET= install-strip
+OPTIONS_DEFINE= DOCS
+
post-patch:
# Unsilence build
${REINPLACE_CMD} -e '/^export\ MAKEFLAGS/s|^|#|' ${WRKSRC}/Makefile.in
Index: net/mpd5/Makefile
===================================================================
--- net/mpd5/Makefile
+++ net/mpd5/Makefile
@@ -14,7 +14,7 @@
LICENSE= BSD3CLAUSE
-OPTIONS_DEFINE= NG_IPACCT
+OPTIONS_DEFINE= NG_IPACCT DOCS
NG_IPACCT_DESC= Use ng_ipacct kernel module from port
HAS_CONFIGURE= YES
Index: net/nats-streaming-server/Makefile
===================================================================
--- net/nats-streaming-server/Makefile
+++ net/nats-streaming-server/Makefile
@@ -18,6 +18,8 @@
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
Index: net/netsed/Makefile
===================================================================
--- net/netsed/Makefile
+++ net/netsed/Makefile
@@ -15,6 +15,8 @@
PLIST_FILES= bin/${PORTNAME}
PORTDOCS= README
+OPTIONS_DEFINE= DOCS
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
@${MKDIR} ${STAGEDIR}${DOCSDIR}
Index: net/nmsg/Makefile
===================================================================
--- net/nmsg/Makefile
+++ net/nmsg/Makefile
@@ -26,13 +26,14 @@
# 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
Index: net/openbsc/Makefile
===================================================================
--- net/openbsc/Makefile
+++ net/openbsc/Makefile
@@ -24,7 +24,7 @@
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
Index: net/pecl-radius/Makefile
===================================================================
--- net/pecl-radius/Makefile
+++ net/pecl-radius/Makefile
@@ -14,7 +14,9 @@
CONFIGURE_ARGS= --enable-radius
-post-install:
+OPTIONS_DEFINE= EXAMPLES
+
+post-install-EXAMPLES-on:
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR}
Index: net/quagga-esr/Makefile
===================================================================
--- net/quagga-esr/Makefile
+++ net/quagga-esr/Makefile
@@ -26,7 +26,7 @@
INFO= quagga
OPTIONS_DEFINE= ISISD PIMD PAM RTADV SNMP TCPSOCKETS DLMALLOC \
- NO_BGP_ANNOUNCE OSPF_NEXTHOP ISIS_TOPOLOGY
+ NO_BGP_ANNOUNCE OSPF_NEXTHOP ISIS_TOPOLOGY EXAMPLES
# IRDP needs something freebsd does not seem to have:
# configure: error: 'IRDP requires in_pktinfo at the moment!'
OPTIONS_DEFAULT= ISISD PIMD RTADV
Index: net/quagga/Makefile
===================================================================
--- net/quagga/Makefile
+++ net/quagga/Makefile
@@ -26,7 +26,7 @@
INFO= quagga
OPTIONS_DEFINE= ISISD PIMD PAM RTADV SNMP TCPSOCKETS DLMALLOC \
- NO_BGP_ANNOUNCE OSPF_NEXTHOP ISIS_TOPOLOGY
+ NO_BGP_ANNOUNCE OSPF_NEXTHOP ISIS_TOPOLOGY EXAMPLES
# IRDP needs something freebsd does not seem to have:
# configure: error: 'IRDP requires in_pktinfo at the moment!'
OPTIONS_DEFAULT= ISISD PIMD RTADV
Index: net/radvd/Makefile
===================================================================
--- net/radvd/Makefile
+++ net/radvd/Makefile
@@ -23,6 +23,8 @@
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}
Index: net/scribe/Makefile
===================================================================
--- net/scribe/Makefile
+++ net/scribe/Makefile
@@ -33,6 +33,8 @@
PY_PREFIX="${PREFIX}"
USE_RC_SUBR= ${PORTNAME}
+OPTIONS_DEFINE= EXAMPLES
+
post-patch:
@${REINPLACE_CMD} -e 's/^AM_INIT_AUTOMAKE/#/' ${WRKSRC}/configure.ac
@${REINPLACE_CMD} -e '/boost/! s/shared_ptr/boost::&/g' \
Index: net/sflowtool/Makefile
===================================================================
--- net/sflowtool/Makefile
+++ net/sflowtool/Makefile
@@ -21,7 +21,7 @@
PORTEXAMPLES= README ipTopTalkers ipTrafficMatrix sflowRRDChart.cgi \
sflowRRDLoad sflowenable
-.include <bsd.port.options.mk>
+OPTIONS_DEFINE= DOCS EXAMPLES
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
Index: net/siproxd/Makefile
===================================================================
--- net/siproxd/Makefile
+++ net/siproxd/Makefile
@@ -25,6 +25,8 @@
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}
Index: net/spread/Makefile
===================================================================
--- net/spread/Makefile
+++ net/spread/Makefile
@@ -32,6 +32,8 @@
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
Index: net/syncthing/Makefile
===================================================================
--- net/syncthing/Makefile
+++ net/syncthing/Makefile
@@ -20,6 +20,8 @@
USERS= syncthing
GROUPS= syncthing
+OPTIONS_DEFINE= DOCS
+
do-build:
@cd ${WRKSRC}/src/github.com/${PORTNAME}/${PORTNAME} ; \
${SETENV} go run build.go -no-upgrade=true -version v${PORTVERSION}
Index: net/tcludp/Makefile
===================================================================
--- net/tcludp/Makefile
+++ net/tcludp/Makefile
@@ -22,6 +22,6 @@
PLIST_FILES= lib/${TCL_PKG}/lib${TCL_PKG}.so \
lib/${TCL_PKG}/pkgIndex.tcl \
- %%PORTDOCS%%man/mann/udp.n.gz
+ man/mann/udp.n.gz
.include <bsd.port.mk>
Index: net/tcpillust/Makefile
===================================================================
--- net/tcpillust/Makefile
+++ net/tcpillust/Makefile
@@ -25,6 +25,8 @@
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} \
Index: news/husky-fidoconf/Makefile
===================================================================
--- news/husky-fidoconf/Makefile
+++ news/husky-fidoconf/Makefile
@@ -20,6 +20,8 @@
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
Index: news/husky-hpt/Makefile
===================================================================
--- news/husky-hpt/Makefile
+++ news/husky-hpt/Makefile
@@ -15,6 +15,8 @@
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
Index: news/husky-htick/Makefile
===================================================================
--- news/husky-htick/Makefile
+++ news/husky-htick/Makefile
@@ -23,6 +23,8 @@
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
Index: news/husky-huskylib/Makefile
===================================================================
--- news/husky-huskylib/Makefile
+++ news/husky-huskylib/Makefile
@@ -10,4 +10,6 @@
MASTERDIR= ${.CURDIR}/../husky
COMPONENT_SUBDIR= huskylib
+OPTIONS_DEFINE= DOCS
+
.include "${MASTERDIR}/Makefile"
Index: news/inn/Makefile
===================================================================
--- news/inn/Makefile
+++ news/inn/Makefile
@@ -24,7 +24,7 @@
OPTIONS_DEFINE= BERKELEYDB GNUPG KERBEROS SASL KEYWORDS \
LARGE_FILES OPENSSL SETGID_INEWS TAGGED_HASH \
- UUCP_RNEWS
+ UUCP_RNEWS DOCS EXAMPLES
OPTIONS_DEFAULT= BERKELEYDB GNUPG KEYWORDS OPENSSL LARGE_FILES \
SETGID_INEW UUCP_RNEWS
OPTIONS_SUB= yes
Index: news/leafnode/Makefile
===================================================================
--- news/leafnode/Makefile
+++ news/leafnode/Makefile
@@ -29,7 +29,7 @@
LEAFNODE_SPOOLDIR?=${LOCALBASE}/var/spool/leafnode
.endif
LEAFNODE_SPOOLDIR?=/var/spool/leafnode
-PLIST_SUB= SPOOLDIR=${LEAFNODE_SPOOLDIR} REALPREFIX=${PREFIX}
+PLIST_SUB+= SPOOLDIR=${LEAFNODE_SPOOLDIR} REALPREFIX=${PREFIX}
CONFIGURE_ARGS= --sysconfdir=${PREFIX}/etc/leafnode \
--with-spooldir=${LEAFNODE_SPOOLDIR} --with-ipv6 \
Index: news/mail2nntp/Makefile
===================================================================
--- news/mail2nntp/Makefile
+++ news/mail2nntp/Makefile
@@ -21,6 +21,8 @@
PORTDOCS= *
PLIST_FILES= bin/mail2nntp.pl
+OPTIONS_DEFINE= DOCS
+
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/mail2nntp.pl ${STAGEDIR}${PREFIX}/bin
@${MKDIR} ${STAGEDIR}${DOCSDIR}
Index: polish/qfaktury/Makefile
===================================================================
--- polish/qfaktury/Makefile
+++ polish/qfaktury/Makefile
@@ -15,6 +15,8 @@
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
Index: ports-mgmt/bsdadminscripts2/Makefile
===================================================================
--- ports-mgmt/bsdadminscripts2/Makefile
+++ ports-mgmt/bsdadminscripts2/Makefile
@@ -19,6 +19,8 @@
CONFLICTS_INSTALL= bsdadminscripts
+OPTIONS_DEFINE= DOCS
+
do-install:
@cd ${WRKSRC} && ${SH} install.sh \
-destdir="${STAGEDIR}" -prefix="${PREFIX}" \
Index: ports-mgmt/pkg-devel/Makefile
===================================================================
--- ports-mgmt/pkg-devel/Makefile
+++ ports-mgmt/pkg-devel/Makefile
@@ -28,6 +28,8 @@
# 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
Index: ports-mgmt/pkg/Makefile
===================================================================
--- ports-mgmt/pkg/Makefile
+++ ports-mgmt/pkg/Makefile
@@ -28,6 +28,8 @@
USE_SUBMAKE= yes
CFLAGS+= -Wno-error
+OPTIONS_DEFINE= DOCS
+
.if !exists(/usr/include/jail.h)
EXTRA_PATCHES= ${FILESDIR}/extra-patch-docs_pkg.8
.endif
@@ -74,9 +76,11 @@
PKG_BIN= ${WRKSRC}/src/pkg-static
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>
Index: ports-mgmt/pkgcompare/Makefile
===================================================================
--- ports-mgmt/pkgcompare/Makefile
+++ ports-mgmt/pkgcompare/Makefile
@@ -28,6 +28,8 @@
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 \
Index: ports-mgmt/portell/Makefile
===================================================================
--- ports-mgmt/portell/Makefile
+++ ports-mgmt/portell/Makefile
@@ -19,6 +19,8 @@
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
Index: print/linux-c7-cups-libs/Makefile
===================================================================
--- print/linux-c7-cups-libs/Makefile
+++ print/linux-c7-cups-libs/Makefile
@@ -22,4 +22,6 @@
USE_LINUX= avahi-libs openssl
USE_LINUX_RPM= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: print/linux-c7-harfbuzz/Makefile
===================================================================
--- print/linux-c7-harfbuzz/Makefile
+++ print/linux-c7-harfbuzz/Makefile
@@ -14,4 +14,6 @@
USE_LINUX= graphite2
USE_LINUX_RPM= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: print/muttprint/Makefile
===================================================================
--- print/muttprint/Makefile
+++ print/muttprint/Makefile
@@ -26,7 +26,7 @@
NO_BUILD= yes
REINPLACE_ARGS= -i ""
-OPTIONS_DEFINE= CUPS X11
+OPTIONS_DEFINE= CUPS X11 DOCS
OPTIONS_DEFAULT= X11
X11_DESC= graphics/ImageMagick[-nox11] dependency
Index: print/pdflib/Makefile
===================================================================
--- print/pdflib/Makefile
+++ print/pdflib/Makefile
@@ -13,7 +13,7 @@
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
@@ -29,11 +29,11 @@
.include <bsd.port.pre.mk>
.if ${PORT_OPTIONS:MPERL}
-PLIST_SUB= PERL=""
+PLIST_SUB+= PERL=""
CONFIGURE_ARGS+=--with-perl=${PERL}
.else
CONFIGURE_ARGS+=--with-perl=no
-PLIST_SUB= PERL="@comment "
+PLIST_SUB+= PERL="@comment "
.endif
.if ${PORT_OPTIONS:MJAVA}
Index: print/pdfstitch/Makefile
===================================================================
--- print/pdfstitch/Makefile
+++ print/pdfstitch/Makefile
@@ -23,6 +23,8 @@
NO_ARCH= yes
NO_BUILD= yes
+OPTIONS_DEFINE= DOCS
+
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/pdfstitch ${STAGEDIR}${PREFIX}/bin/pdfstitch
${MKDIR} ${STAGEDIR}${DOCSDIR}
Index: science/afni/Makefile
===================================================================
--- science/afni/Makefile
+++ science/afni/Makefile
@@ -49,6 +49,8 @@
pkundu/meica.libs/mdp/test/run_tests.py
USE_GNOME= glib20
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
USE_GL= gl glu glw
Index: science/aircraft-datcom/Makefile
===================================================================
--- science/aircraft-datcom/Makefile
+++ science/aircraft-datcom/Makefile
@@ -15,10 +15,10 @@
USES= fortran cmake
-.include <bsd.port.pre.mk>
+OPTIONS_DEFINE= DOCS
-post-install:
+post-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_MAN} ${WRKSRC}/doc/* ${STAGEDIR}${DOCSDIR}
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
Index: science/cgnslib/Makefile
===================================================================
--- science/cgnslib/Makefile
+++ science/cgnslib/Makefile
@@ -34,13 +34,13 @@
LIB_DEPENDS+= libhdf5.so:science/hdf5
CMAKE_ARGS+= -DCGNS_ENABLE_HDF5:BOOL=TRUE -DHDF5_NEED_ZLIB:BOOL=TRUE \
-DHDF5_INCLUDE_PATH:PATH="${LOCALBASE}/include"
-PLIST_SUB= HDF5=""
+PLIST_SUB+= HDF5=""
. if ${PORT_OPTIONS:MSZIP}
CMAKE_ARGS+= -DHDF5_NEED_SZIP:BOOL=OFF
. endif
.else
CMAKE_ARGS+= -DCGNS_ENABLE_HDF5:BOOL=OFF
-PLIST_SUB= HDF5="@comment "
+PLIST_SUB+= HDF5="@comment "
.endif
.if ${PORT_OPTIONS:MTESTS}
@@ -56,9 +56,9 @@
CMAKE_ARGS+= -DCGNS_BUILD_CGNSTOOLS:BOOL=TRUE \
-DTCL_INCLUDE_PATH:STRING="${TCL_INCLUDEDIR}" \
-DTK_INCLUDE_PATH:STRING="${TK_INCLUDEDIR}"
-PLIST_SUB= TOOLS=""
+PLIST_SUB+= TOOLS=""
.else
-PLIST_SUB= TOOLS="@comment "
+PLIST_SUB+= TOOLS="@comment "
.endif
LIBVER= ${PORTVERSION:R}
Index: science/jstrack/Makefile
===================================================================
--- science/jstrack/Makefile
+++ science/jstrack/Makefile
@@ -30,6 +30,8 @@
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
Index: science/sigrok-firmware-fx2lafw/Makefile
===================================================================
--- science/sigrok-firmware-fx2lafw/Makefile
+++ science/sigrok-firmware-fx2lafw/Makefile
@@ -28,6 +28,8 @@
PORTDOCS= README NEWS
PLIST_FILES= ${FW_FILES:S,^,share/sigrok-firmware/,}
+OPTIONS_DEFINE= DOCS
+
do-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for docfile in README NEWS
Index: science/sigrok-firmware-utils/Makefile
===================================================================
--- science/sigrok-firmware-utils/Makefile
+++ science/sigrok-firmware-utils/Makefile
@@ -30,6 +30,8 @@
${EX_FILES:S,^,bin/,} \
${EX_FILES:S,^,man/man1/,:S,$,.1.gz,}
+OPTIONS_DEFINE= DOCS
+
do-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_MAN} ${FILESDIR}/README.parsepe ${STAGEDIR}${DOCSDIR}
Index: security/amavisd-milter/Makefile
===================================================================
--- security/amavisd-milter/Makefile
+++ security/amavisd-milter/Makefile
@@ -42,6 +42,8 @@
PORTDOCS= AUTHORS CHANGES INSTALL LICENSE README TODO
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.pre.mk>
.include "${PORTSDIR}/mail/sendmail/bsd.milter.mk"
Index: security/cisco-torch/Makefile
===================================================================
--- security/cisco-torch/Makefile
+++ security/cisco-torch/Makefile
@@ -31,6 +31,8 @@
tfingerprint.db \
users.txt
+OPTIONS_DEFINE= DOCS
+
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/cisco-torch.pl ${STAGEDIR}${PREFIX}/bin/cisco-torch
${MKDIR} ${STAGEDIR}${DATADIR}/include
Index: security/courier-authlib/Makefile
===================================================================
--- security/courier-authlib/Makefile
+++ security/courier-authlib/Makefile
@@ -75,6 +75,8 @@
USERS= ${MAILOWN}
GROUPS= ${MAILGRP}
+OPTIONS_DEFINE+= DOCS
+
DOCS= AUTHORS COPYING ChangeLog INSTALL NEWS README \
README.authdebug.html README_authlib.html
@@ -108,6 +110,8 @@
.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 @@
.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 @@
.if ${AUTHMOD} == authpgsql
RUN_DEPENDS+= ${LOCALBASE}/share/sysconftool/sysconftool:devel/sysconftool
+OPTIONS_DEFINE+= DOCS
+
DOCS= README.authpostgres.html
USES+= pgsql
CONFIGURE_ARGS+=--with-authpgsql
Index: security/cvechecker/Makefile
===================================================================
--- security/cvechecker/Makefile
+++ security/cvechecker/Makefile
@@ -27,6 +27,7 @@
bash_OLD_CMD+= /bin/sh
+OPTIONS_DEFINE= DOCS
OPTIONS_MULTI= DB
OPTIONS_MULTI_DB= MYSQL SQLITE
OPTIONS_DEFAULT= SQLITE
Index: security/elixir-comeonin/Makefile
===================================================================
--- security/elixir-comeonin/Makefile
+++ security/elixir-comeonin/Makefile
@@ -20,6 +20,8 @@
security/elixir-comeonin_i18n
MIX_RUN_DEPS:= security/elixir-comeonin_i18n
+OPTIONS_DEFINE= DOCS
+
post-build:
${STRIP_CMD} ${WRKSRC}/priv/bcrypt_nif.so
Index: security/elixir-comeonin_i18n/Makefile
===================================================================
--- security/elixir-comeonin_i18n/Makefile
+++ security/elixir-comeonin_i18n/Makefile
@@ -16,4 +16,6 @@
MIX_BUILD_DEPS= devel/elixir-gettext
MIX_RUN_DEPS:= ${MIX_BUILD_DEPS}
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: security/elixir-jose/Makefile
===================================================================
--- security/elixir-jose/Makefile
+++ security/elixir-jose/Makefile
@@ -21,4 +21,6 @@
security/erlang-jose
MIX_RUN_DEPS:= ${MIX_BUILD_DEPS}
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: security/erlang-fast_tls/Makefile
===================================================================
--- security/erlang-fast_tls/Makefile
+++ security/erlang-fast_tls/Makefile
@@ -24,6 +24,8 @@
CFLAGS+= -I${OPENSSLINC}
LDFLAGS+= -L${OPENSSLLIB}
+OPTIONS_DEFINE= DOCS
+
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/erlang/lib/${PORTNAME}-${PORTVERSION}/priv/lib/*.so
Index: security/erlang-jose/Makefile
===================================================================
--- security/erlang-jose/Makefile
+++ security/erlang-jose/Makefile
@@ -21,4 +21,6 @@
ERL_BUILD_DEPS= converters/erlang-base64url
ERL_RUN_DEPS:= ${ERL_BUILD_DEPS}
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: security/gorilla/Makefile
===================================================================
--- security/gorilla/Makefile
+++ security/gorilla/Makefile
@@ -17,6 +17,8 @@
RUN_DEPENDS= itcl>=3.4:lang/itcl \
wish:x11-toolkits/tk-wrapper
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
.if ${ARCH} == i386
Index: security/govpn/Makefile
===================================================================
--- security/govpn/Makefile
+++ security/govpn/Makefile
@@ -25,4 +25,6 @@
PLIST_FILES= bin/govpn-server bin/govpn-client bin/govpn-verifier \
share/govpn/newclient.sh
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: security/gtkpasman/Makefile
===================================================================
--- security/gtkpasman/Makefile
+++ security/gtkpasman/Makefile
@@ -24,6 +24,8 @@
PORTDOCS= *
PLIST_FILES= bin/gtkpasman share/applications/gtkpasman.desktop
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-patch:
Index: security/hamachi/Makefile
===================================================================
--- security/hamachi/Makefile
+++ security/hamachi/Makefile
@@ -21,6 +21,8 @@
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
Index: security/hashcat-legacy/Makefile
===================================================================
--- security/hashcat-legacy/Makefile
+++ security/hashcat-legacy/Makefile
@@ -26,6 +26,8 @@
ALL_TARGET= posix64 posixXOP
+OPTIONS_DEFINE= DOCS EXAMPLES
+
post-patch:
@${REINPLACE_CMD} -r 's|^(CC_.*[[:blank:]]*=[[:blank:]]*)gcc[[:blank:]]*$$|\1${CC}|' ${WRKSRC}/src/Makefile
Index: security/hashcat/Makefile
===================================================================
--- security/hashcat/Makefile
+++ security/hashcat/Makefile
@@ -31,6 +31,8 @@
LFLAGS_NATIVE="${LDFLAGS} -lpthread" \
CFLAGS_NATIVE="${CFLAGS} -Iinclude -IOpenCL -Iinclude/lzma_sdk"
+OPTIONS_DEFINE= DOCS
+
pre-install:
${STRIP_CMD} ${WRKSRC}/libhashcat.so
${STRIP_CMD} ${WRKSRC}/hashcat
Index: security/hitch/Makefile
===================================================================
--- security/hitch/Makefile
+++ security/hitch/Makefile
@@ -28,6 +28,8 @@
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/
Index: security/ipguard/Makefile
===================================================================
--- security/ipguard/Makefile
+++ security/ipguard/Makefile
@@ -19,6 +19,8 @@
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}
Index: security/libntlm/Makefile
===================================================================
--- security/libntlm/Makefile
+++ security/libntlm/Makefile
@@ -18,7 +18,9 @@
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}
Index: security/linux-c6-cyrus-sasl2/Makefile
===================================================================
--- security/linux-c6-cyrus-sasl2/Makefile
+++ security/linux-c6-cyrus-sasl2/Makefile
@@ -19,4 +19,6 @@
USE_LDCONFIG= yes
USE_LINUX_RPM= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: security/linux-c6-libgcrypt/Makefile
===================================================================
--- security/linux-c6-libgcrypt/Makefile
+++ security/linux-c6-libgcrypt/Makefile
@@ -16,4 +16,6 @@
USE_LINUX= libgpg-error
USE_LINUX_RPM= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: security/linux-c6-libssh2/Makefile
===================================================================
--- security/linux-c6-libssh2/Makefile
+++ security/linux-c6-libssh2/Makefile
@@ -16,4 +16,6 @@
USE_LINUX= openssl
USE_LINUX_RPM= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: security/linux-c6-libtasn1/Makefile
===================================================================
--- security/linux-c6-libtasn1/Makefile
+++ security/linux-c6-libtasn1/Makefile
@@ -16,4 +16,6 @@
USE_LDCONFIG= yes
USE_LINUX_RPM= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: security/linux-c6-openssl/Makefile
===================================================================
--- security/linux-c6-openssl/Makefile
+++ security/linux-c6-openssl/Makefile
@@ -15,4 +15,6 @@
USE_LDCONFIG= yes
USE_LINUX_RPM= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: security/linux-c7-cyrus-sasl2/Makefile
===================================================================
--- security/linux-c7-cyrus-sasl2/Makefile
+++ security/linux-c7-cyrus-sasl2/Makefile
@@ -21,4 +21,6 @@
USE_LDCONFIG= yes
USE_LINUX_RPM= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: security/linux-c7-libgcrypt/Makefile
===================================================================
--- security/linux-c7-libgcrypt/Makefile
+++ security/linux-c7-libgcrypt/Makefile
@@ -20,4 +20,6 @@
USE_LINUX= libgpg-error
USE_LINUX_RPM= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: security/linux-c7-libssh2/Makefile
===================================================================
--- security/linux-c7-libssh2/Makefile
+++ security/linux-c7-libssh2/Makefile
@@ -18,4 +18,6 @@
USE_LINUX= openssl
USE_LINUX_RPM= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: security/linux-c7-libtasn1/Makefile
===================================================================
--- security/linux-c7-libtasn1/Makefile
+++ security/linux-c7-libtasn1/Makefile
@@ -19,4 +19,6 @@
USE_LDCONFIG= yes
USE_LINUX_RPM= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: security/linux-c7-nettle/Makefile
===================================================================
--- security/linux-c7-nettle/Makefile
+++ security/linux-c7-nettle/Makefile
@@ -13,4 +13,6 @@
USE_LDCONFIG= yes
USE_LINUX_RPM= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: security/linux-c7-openssl/Makefile
===================================================================
--- security/linux-c7-openssl/Makefile
+++ security/linux-c7-openssl/Makefile
@@ -23,4 +23,6 @@
USE_LDCONFIG= yes
USE_LINUX_RPM= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: security/linux-c7-p11-kit/Makefile
===================================================================
--- security/linux-c7-p11-kit/Makefile
+++ security/linux-c7-p11-kit/Makefile
@@ -13,4 +13,6 @@
USE_LDCONFIG= yes
USE_LINUX_RPM= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: security/linux-c7-trousers/Makefile
===================================================================
--- security/linux-c7-trousers/Makefile
+++ security/linux-c7-trousers/Makefile
@@ -14,4 +14,6 @@
USE_LINUX= openssl
USE_LINUX_RPM= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: security/logcheck/Makefile
===================================================================
--- security/logcheck/Makefile
+++ security/logcheck/Makefile
@@ -28,7 +28,7 @@
DBDIR= ${BASEDIR}/var/db/${PORTNAME}
RUNDIR= ${BASEDIR}/var/run/${PORTNAME}
-OPTIONS_DEFINE= CRON
+OPTIONS_DEFINE= CRON EXAMPLES
CRON_DESC= Install cron script automatically
.if !defined(BATCH)
OPTIONS_DEFAULT=CRON
Index: security/lynis/Makefile
===================================================================
--- security/lynis/Makefile
+++ security/lynis/Makefile
@@ -22,6 +22,8 @@
PORTDOCS= FAQ README
+OPTIONS_DEFINE= DOCS
+
post-patch:
@${REINPLACE_CMD} -e '/tINCLUDE_TARGETS/ s|".*"|"${DATADIR}/include"|; \
/tPLUGIN_TARGETS/ s|".*"|"${DATADIR}/plugins"|; \
Index: security/obfsclient/Makefile
===================================================================
--- security/obfsclient/Makefile
+++ security/obfsclient/Makefile
@@ -28,6 +28,8 @@
PORTDOCS= COPYING
+OPTIONS_DEFINE= DOCS
+
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/COPYING ${STAGEDIR}${DOCSDIR}
Index: security/openconnect/Makefile
===================================================================
--- security/openconnect/Makefile
+++ security/openconnect/Makefile
@@ -26,7 +26,7 @@
USE_LDCONFIG= yes
PORTDOCS= *
-OPTIONS_DEFINE= PROXY GNUTLS LZ4 P11
+OPTIONS_DEFINE= PROXY GNUTLS LZ4 P11 DOCS
LZ4_DESC= LZ4-based compression
LZ4_LIB_DEPENDS= liblz4.so:archivers/liblz4
Index: security/pad/Makefile
===================================================================
--- security/pad/Makefile
+++ security/pad/Makefile
@@ -20,6 +20,8 @@
CFLAGS+= -I${OPENSSLINC}
LDFLAGS+= -L${OPENSSLLIB}
+OPTIONS_DEFINE= DOCS
+
post-patch:
${REINPLACE_CMD} -e "s|\(-lcrypto\)|${LDFLAGS} \1|g" \
${WRKSRC}/Makefile.in
Index: security/pkcs11-gateway/Makefile
===================================================================
--- security/pkcs11-gateway/Makefile
+++ security/pkcs11-gateway/Makefile
@@ -20,6 +20,8 @@
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
Index: security/pkesh/Makefile
===================================================================
--- security/pkesh/Makefile
+++ security/pkesh/Makefile
@@ -16,6 +16,8 @@
PLIST_FILES= bin/pkesh
PORTDOCS= README
+OPTIONS_DEFINE= DOCS
+
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/pkesh.sh ${STAGEDIR}${PREFIX}/bin/pkesh
${MKDIR} ${STAGEDIR}${DOCSDIR}
Index: security/rcracki_mt/Makefile
===================================================================
--- security/rcracki_mt/Makefile
+++ security/rcracki_mt/Makefile
@@ -21,6 +21,8 @@
PLIST_FILES= bin/${PORTNAME}
PORTDOCS= ChangeLog.txt README.txt
+OPTIONS_DEFINE= DOCS
+
post-patch:
@${REINPLACE_CMD} \
-e 's,CC = g++,CXX ?= g++,' \
Index: security/signing-party/Makefile
===================================================================
--- security/signing-party/Makefile
+++ security/signing-party/Makefile
@@ -44,6 +44,8 @@
PORTDOCS= *
+OPTIONS_DEFINE= DOCS EXAMPLES
+
post-patch:
@${REINPLACE_CMD} -e 's|/usr/share/doc/signing-party/caff/caffrc\.sample|${EXAMPLESDIR}/caffrc.sample|' \
${WRKSRC}/caff/caff
Index: security/stoken/Makefile
===================================================================
--- security/stoken/Makefile
+++ security/stoken/Makefile
@@ -13,7 +13,7 @@
LIB_DEPENDS= libtomcrypt.so:security/libtomcrypt
-OPTIONS_DEFINE= X11
+OPTIONS_DEFINE= DOCS X11
OPTIONS_SUB= yes
X11_CONFIGURE_WITH= gtk
Index: security/sudo/Makefile
===================================================================
--- security/sudo/Makefile
+++ security/sudo/Makefile
@@ -29,7 +29,7 @@
--with-long-otp-prompt
OPTIONS_DEFINE= LDAP INSULTS DISABLE_ROOT_SUDO DISABLE_AUTH NOARGS_SHELL \
- AUDIT OPIE NLS SSSD DOCS
+ AUDIT OPIE NLS SSSD DOCS EXAMPLES
OPTIONS_DEFAULT= AUDIT
OPTIONS_SUB= yes
Index: security/tclsasl/Makefile
===================================================================
--- security/tclsasl/Makefile
+++ security/tclsasl/Makefile
@@ -20,6 +20,8 @@
PORTDOCS= tclsasl.html
+OPTIONS_DEFINE= DOCS
+
post-install:
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/tclsasl.html ${STAGEDIR}${DOCSDIR}
Index: security/tmux-cssh/Makefile
===================================================================
--- security/tmux-cssh/Makefile
+++ security/tmux-cssh/Makefile
@@ -19,7 +19,10 @@
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
Index: security/vlock/Makefile
===================================================================
--- security/vlock/Makefile
+++ security/vlock/Makefile
@@ -24,7 +24,7 @@
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
Index: security/whatweb/Makefile
===================================================================
--- security/whatweb/Makefile
+++ security/whatweb/Makefile
@@ -21,6 +21,8 @@
NO_ARCH= yes
PORTDOCS= CHANGELOG INSTALL README whatweb.xsl
+OPTIONS_DEFINE= DOCS
+
post-patch:
${REINPLACE_CMD} -e \
's!/usr/share/whatweb/!${RUBY_SITELIBDIR}/whatweb!' \
Index: security/wolfssl/Makefile
===================================================================
--- security/wolfssl/Makefile
+++ security/wolfssl/Makefile
@@ -28,6 +28,8 @@
USE_LDCONFIG= yes
PORTDOCS= *
+OPTIONS_DEFINE= DOCS
+
post-configure:
@${REINPLACE_CMD} \
-e 's|$${prefix}/cyassl/include|$${prefix}/include/cyassl|' \
Index: shells/44bsd-csh/Makefile
===================================================================
--- shells/44bsd-csh/Makefile
+++ shells/44bsd-csh/Makefile
@@ -18,6 +18,8 @@
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
Index: shells/heirloom-sh/Makefile
===================================================================
--- shells/heirloom-sh/Makefile
+++ shells/heirloom-sh/Makefile
@@ -20,6 +20,8 @@
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
Index: shells/jailkit/Makefile
===================================================================
--- shells/jailkit/Makefile
+++ shells/jailkit/Makefile
@@ -18,6 +18,8 @@
PORTDOCS= COPYRIGHT README.txt
+OPTIONS_DEFINE= DOCS
+
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
Index: shells/lshell/Makefile
===================================================================
--- shells/lshell/Makefile
+++ shells/lshell/Makefile
@@ -19,6 +19,8 @@
USE_GITHUB= yes
USE_PYTHON= distutils
+OPTIONS_DEFINE= DOCS
+
post-patch:
@${REINPLACE_CMD} -e \
"s|(.*lshell.conf.*),|| ; \
Index: shells/osh/Makefile
===================================================================
--- shells/osh/Makefile
+++ shells/osh/Makefile
@@ -18,6 +18,8 @@
INSTALL_TARGET= install install-doc install-exp
PLIST_SUB+= VER=${DISTVERSION}
+OPTIONS_DEFINE= DOCS EXAMPLES
+
post-patch:
@${REINPLACE_CMD} -E -e 's|(DESTEXPDIR)=|\1?=|' \
${WRKSRC}/Makefile
Index: sysutils/atop/Makefile
===================================================================
--- sysutils/atop/Makefile
+++ sysutils/atop/Makefile
@@ -31,6 +31,8 @@
README \
README.FreeBSD
+OPTIONS_DEFINE= DOCS
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/atop ${STAGEDIR}${PREFIX}/bin
${LN} -sf atop ${STAGEDIR}${PREFIX}/bin/atopsar
Index: sysutils/backupchecker/Makefile
===================================================================
--- sysutils/backupchecker/Makefile
+++ sysutils/backupchecker/Makefile
@@ -18,6 +18,8 @@
PORTDOCS= README.md
+OPTIONS_DEFINE= DOCS
+
post-patch:
@${REINPLACE_CMD} "s|'share','man'|'${MANPREFIX}/man'|" ${WRKSRC}/setup.py
Index: sysutils/bacula-docs/Makefile
===================================================================
--- sysutils/bacula-docs/Makefile
+++ sysutils/bacula-docs/Makefile
@@ -14,6 +14,8 @@
PORTDOCS= *.pdf
+OPTIONS_DEFINE= DOCS
+
do-install:
${MKDIR} ${STAGEDIR}${DOCSDIR}
${FIND} ${WRKSRC}/manuals/en \
Index: sysutils/bacula9-docs/Makefile
===================================================================
--- sysutils/bacula9-docs/Makefile
+++ sysutils/bacula9-docs/Makefile
@@ -18,6 +18,8 @@
PORTDOCS= *.pdf
+OPTIONS_DEFINE= DOCS
+
do-install:
${MKDIR} ${STAGEDIR}${DOCSDIR}
${FIND} ${WRKSRC}/manuals/en \
Index: sysutils/bareos-docs/Makefile
===================================================================
--- sysutils/bareos-docs/Makefile
+++ sysutils/bareos-docs/Makefile
@@ -15,6 +15,8 @@
PORTDOCS= *.pdf
+OPTIONS_DEFINE= DOCS
+
do-extract:
${MKDIR} ${WRKSRC}
${CP} ${DISTDIR}/${PORTNAME}-manual-main-reference.pdf ${WRKSRC}
Index: sysutils/catfish/Makefile
===================================================================
--- sysutils/catfish/Makefile
+++ sysutils/catfish/Makefile
@@ -21,6 +21,8 @@
USE_PYTHON= distutils
USE_GNOME= gtk30 intltool pygobject3
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.pre.mk>
PYDISTUTILS_INSTALLARGS= -c -O1 --prefix=${PREFIX} --root=${STAGEDIR}
Index: sysutils/cdbkup/Makefile
===================================================================
--- sysutils/cdbkup/Makefile
+++ sysutils/cdbkup/Makefile
@@ -23,4 +23,6 @@
PORTDOCS= README TODO COMPLIANCE
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: sysutils/cfengine22/Makefile
===================================================================
--- sysutils/cfengine22/Makefile
+++ sysutils/cfengine22/Makefile
@@ -33,7 +33,7 @@
INFO= cfengine-Tutorial cfengine-Reference
-OPTIONS_DEFINE= DOCS
+OPTIONS_DEFINE= DOCS EXAMPLES
post-patch:
@${REINPLACE_CMD} -e '/^docdir/s!=.*!= @docdir@!'\
Index: sysutils/clonehdd/Makefile
===================================================================
--- sysutils/clonehdd/Makefile
+++ sysutils/clonehdd/Makefile
@@ -18,6 +18,8 @@
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
Index: sysutils/cmockery2/Makefile
===================================================================
--- sysutils/cmockery2/Makefile
+++ sysutils/cmockery2/Makefile
@@ -24,6 +24,8 @@
# 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|' \
Index: sysutils/deltup/Makefile
===================================================================
--- sysutils/deltup/Makefile
+++ sysutils/deltup/Makefile
@@ -37,6 +37,8 @@
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
Index: sysutils/detox/Makefile
===================================================================
--- sysutils/detox/Makefile
+++ sysutils/detox/Makefile
@@ -17,6 +17,8 @@
GNU_CONFIGURE= yes
GH_ACCOUNT= dharple
+OPTIONS_DEFINE= DOCS
+
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/detox
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/inline-detox
Index: sysutils/djmount/Makefile
===================================================================
--- sysutils/djmount/Makefile
+++ sysutils/djmount/Makefile
@@ -23,6 +23,8 @@
PORTDOCS= AUTHORS ChangeLog NEWS README TODO
+OPTIONS_DEFINE= DOCS
+
post-install:
@${INSTALL} -d ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
Index: sysutils/duff/Makefile
===================================================================
--- sysutils/duff/Makefile
+++ sysutils/duff/Makefile
@@ -19,7 +19,7 @@
PORTDOCS= README.SHA
-OPTIONS_DEFINE= JOIN NLS
+OPTIONS_DEFINE= DOCS JOIN NLS
OPTIONS_SUB= yes
JOIN_DESC= Add run-dependencies for join-duplicates.sh
Index: sysutils/duply/Makefile
===================================================================
--- sysutils/duply/Makefile
+++ sysutils/duply/Makefile
@@ -27,6 +27,8 @@
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
${REINPLACE_CMD} -e "s,(python,(${PYTHON_CMD},g" ${WRKSRC}/duply
Index: sysutils/fanout/Makefile
===================================================================
--- sysutils/fanout/Makefile
+++ sysutils/fanout/Makefile
@@ -17,6 +17,8 @@
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
Index: sysutils/fpart/Makefile
===================================================================
--- sysutils/fpart/Makefile
+++ sysutils/fpart/Makefile
@@ -18,7 +18,7 @@
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 \
Index: sysutils/fswatch-mon/Makefile
===================================================================
--- sysutils/fswatch-mon/Makefile
+++ sysutils/fswatch-mon/Makefile
@@ -22,7 +22,7 @@
CONFLICTS_INSTALL= fswatch-[0-9]*
-OPTIONS_DEFINE= NLS
+OPTIONS_DEFINE= DOCS NLS
OPTIONS_SUB= yes
NLS_USES= gettext
Index: sysutils/hfm/Makefile
===================================================================
--- sysutils/hfm/Makefile
+++ sysutils/hfm/Makefile
@@ -33,6 +33,8 @@
ALL_TARGET= test build
+OPTIONS_DEFINE= DOCS EXAMPLES
+
do-patch:
(cd ${WRKSRC}; ${PATCH} vendor/src/github.com/mitchellh/go-libucl/libucl.go < vendor/patches/github.com/mitchellh/go-libucl/libucl.go.patch )
Index: sysutils/immortal/Makefile
===================================================================
--- sysutils/immortal/Makefile
+++ sysutils/immortal/Makefile
@@ -22,6 +22,8 @@
go-yaml:yaml:eb3733d:yaml/src/github.com/go-yaml/yaml
GH_SUBDIR= src/github.com/${PORTNAME}/${PORTNAME}
+OPTIONS_DEFINE= EXAMPLES
+
do-build:
@cd ${WRKSRC}/src/github.com/${GH_ACCOUNT}/${GH_PROJECT}; \
${SETENV} ${BUILD_ENV} GOPATH=${WRKSRC} go build -ldflags \
Index: sysutils/lava/Makefile
===================================================================
--- sysutils/lava/Makefile
+++ sysutils/lava/Makefile
@@ -23,6 +23,8 @@
PLIST_FILES= bin/${PORTNAME}.sh
PORTDOCS= README.md
+OPTIONS_DEFINE= DOCS
+
do-install:
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}/
Index: sysutils/liburcu/Makefile
===================================================================
--- sysutils/liburcu/Makefile
+++ sysutils/liburcu/Makefile
@@ -26,4 +26,6 @@
INSTALL_TARGET= install-strip
TEST_TARGET= check
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: sysutils/lttng-tools/Makefile
===================================================================
--- sysutils/lttng-tools/Makefile
+++ sysutils/lttng-tools/Makefile
@@ -31,6 +31,8 @@
--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/
Index: sysutils/lttng-ust/Makefile
===================================================================
--- sysutils/lttng-ust/Makefile
+++ sysutils/lttng-ust/Makefile
@@ -25,6 +25,8 @@
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
Index: sysutils/memdump/Makefile
===================================================================
--- sysutils/memdump/Makefile
+++ sysutils/memdump/Makefile
@@ -20,6 +20,8 @@
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
Index: sysutils/monitorix/Makefile
===================================================================
--- sysutils/monitorix/Makefile
+++ sysutils/monitorix/Makefile
@@ -52,6 +52,8 @@
PORTDOCS= *
PORTDATA= *.pm
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
pre-everything::
Index: sysutils/most/Makefile
===================================================================
--- sysutils/most/Makefile
+++ sysutils/most/Makefile
@@ -25,6 +25,8 @@
PORTSCOUT= skipv:5.0.0a
+OPTIONS_DEFINE= DOCS
+
post-patch:
@${REINPLACE_CMD} -e 's|<malloc\.h>|<stdlib.h>|' \
${WRKSRC}/src/jdmacros.h
Index: sysutils/nbosd/Makefile
===================================================================
--- sysutils/nbosd/Makefile
+++ sysutils/nbosd/Makefile
@@ -15,6 +15,8 @@
PLIST_FILES= bin/nbosd
PORTDOCS= *
+OPTIONS_DEFINE= DOCS
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/nbosd ${STAGEDIR}${PREFIX}/bin
${MKDIR} ${STAGEDIR}${DOCSDIR}
Index: sysutils/openhpi/Makefile
===================================================================
--- sysutils/openhpi/Makefile
+++ sysutils/openhpi/Makefile
@@ -29,6 +29,8 @@
USE_PERL5= build
USE_RC_SUBR= openhpid
+OPTIONS_DEFINE= DOCS
+
post-patch:
@${REINPLACE_CMD} 's/-lstdc++//' \
${WRKSRC}/baselib/Makefile.in \
Index: sysutils/powerdxx/Makefile
===================================================================
--- sysutils/powerdxx/Makefile
+++ sysutils/powerdxx/Makefile
@@ -17,4 +17,6 @@
MAKE_ARGS= DOCSDIR="${DOCSDIR}"
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: sysutils/py-bcfg2/Makefile
===================================================================
--- sysutils/py-bcfg2/Makefile
+++ sysutils/py-bcfg2/Makefile
@@ -17,7 +17,7 @@
${PYTHON_PKGNAMEPREFIX}lockfile>=0:devel/py-lockfile@${FLAVOR} \
${PYTHON_PKGNAMEPREFIX}lxml>=0:devel/py-lxml@${FLAVOR}
-OPTIONS_DEFINE= CHEETAH GENSHI
+OPTIONS_DEFINE= CHEETAH GENSHI DOCS
CHEETAH_DESC= Support Cheetah Templates
GENSHI_DESC= Support Genshi Templates
Index: sysutils/py-supervisor/Makefile
===================================================================
--- sysutils/py-supervisor/Makefile
+++ sysutils/py-supervisor/Makefile
@@ -31,6 +31,8 @@
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
Index: sysutils/read-edid/Makefile
===================================================================
--- sysutils/read-edid/Makefile
+++ sysutils/read-edid/Makefile
@@ -16,4 +16,6 @@
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>
Index: sysutils/sas2ircu/Makefile
===================================================================
--- sysutils/sas2ircu/Makefile
+++ sysutils/sas2ircu/Makefile
@@ -26,17 +26,17 @@
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>
Index: sysutils/scct/Makefile
===================================================================
--- sysutils/scct/Makefile
+++ sysutils/scct/Makefile
@@ -20,6 +20,8 @@
PLIST_FILES= bin/scct
PORTDOCS= README.org
+OPTIONS_DEFINE= DOCS
+
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/scct ${STAGEDIR}${PREFIX}/bin
${MKDIR} ${STAGEDIR}${DOCSDIR}
Index: sysutils/signon-qt5/Makefile
===================================================================
--- sysutils/signon-qt5/Makefile
+++ sysutils/signon-qt5/Makefile
@@ -24,6 +24,8 @@
GL_TAGNAME= aa1bcf3c9218addbdb376a40151b689409046125
WRKSRC= ${WRKDIR}/${GL_PROJECT}-${GL_TAGNAME}-${GL_TAGNAME}
+OPTIONS_DEFINE= DOCS
+
pre-configure:
#make it find qdbusxml2ccp (as ${QT_BINDIR} is not in PATH)
${REINPLACE_CMD} -e 's,qdbusxml2cpp,${QT_BINDIR}/qdbusxml2cpp,' \
Index: sysutils/tdir/Makefile
===================================================================
--- sysutils/tdir/Makefile
+++ sysutils/tdir/Makefile
@@ -20,6 +20,8 @@
man/man1/tdir.1.gz
PORTDOCS= tdir-license.txt
+OPTIONS_DEFINE= DOCS
+
post-patch:
@${REINPLACE_CMD} 's,-o root -g wheel,,' ${WRKSRC}/Makefile
Index: sysutils/tkdvd/Makefile
===================================================================
--- sysutils/tkdvd/Makefile
+++ sysutils/tkdvd/Makefile
@@ -28,7 +28,7 @@
"AudioVideo;DiscBurning;" \
true
-.include <bsd.port.options.mk>
+OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e 's|tclsh|${TCLSH}|' ${WRKSRC}/install.tcl \
Index: sysutils/tree/Makefile
===================================================================
--- sysutils/tree/Makefile
+++ sysutils/tree/Makefile
@@ -19,6 +19,8 @@
PORTDOCS= CHANGES README
+OPTIONS_DEFINE= DOCS
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/tree ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/doc/*.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
Index: sysutils/ts/Makefile
===================================================================
--- sysutils/ts/Makefile
+++ sysutils/ts/Makefile
@@ -16,6 +16,8 @@
man/man8/ts.8.gz
PORTDOCS= OBJECTIVES PROTOCOL README TRICKS
+OPTIONS_DEFINE= DOCS
+
post-patch:
${REINPLACE_CMD} -e '/^GLIBCFLAGS/d;/^CFLAGS/d'\
${WRKSRC}/Makefile
Index: sysutils/tw_cli/Makefile
===================================================================
--- sysutils/tw_cli/Makefile
+++ sysutils/tw_cli/Makefile
@@ -29,6 +29,8 @@
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
Index: sysutils/ucspi-ssl/Makefile
===================================================================
--- sysutils/ucspi-ssl/Makefile
+++ sysutils/ucspi-ssl/Makefile
@@ -21,6 +21,8 @@
SCRIPTS_TO_INSTALL= https@ sslcat sslconnect
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.pre.mk>
post-patch:
Index: sysutils/watchman/Makefile
===================================================================
--- sysutils/watchman/Makefile
+++ sysutils/watchman/Makefile
@@ -24,7 +24,7 @@
"@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
Index: sysutils/xcdroast/Makefile
===================================================================
--- sysutils/xcdroast/Makefile
+++ sysutils/xcdroast/Makefile
@@ -34,9 +34,9 @@
.if ${PORT_OPTIONS:MNLS}
CONFIGURE_ARGS+=--disable-nls
-PLIST_SUB= NLS="@comment "
+PLIST_SUB+= NLS="@comment "
.else
-PLIST_SUB= NLS=""
+PLIST_SUB+= NLS=""
.endif
.if ${PORT_OPTIONS:MGTK2}
Index: sysutils/xjobs/Makefile
===================================================================
--- sysutils/xjobs/Makefile
+++ sysutils/xjobs/Makefile
@@ -17,6 +17,8 @@
PORTDOCS= ChangeLog README
+OPTIONS_DEFINE= DOCS
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
Index: sysutils/zap/Makefile
===================================================================
--- sysutils/zap/Makefile
+++ sysutils/zap/Makefile
@@ -21,6 +21,8 @@
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
Index: sysutils/zfsnap2/Makefile
===================================================================
--- sysutils/zfsnap2/Makefile
+++ sysutils/zfsnap2/Makefile
@@ -16,7 +16,7 @@
NO_BUILD= yes
USE_GITHUB= yes
-OPTIONS_DEFINE= BASH ZSH
+OPTIONS_DEFINE= BASH ZSH DOCS EXAMPLES
OPTIONS_DEFAULT= BASH ZSH
OPTIONS_SUB= yes
Index: textproc/atom/Makefile
===================================================================
--- textproc/atom/Makefile
+++ textproc/atom/Makefile
@@ -17,6 +17,8 @@
PLIST_FILES= bin/atom man/man1/atom.1.gz
PORTDOCS= README TODO testFile
+OPTIONS_DEFINE= DOCS
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${PREFIX}/man/man1/
Index: textproc/bibtool/Makefile
===================================================================
--- textproc/bibtool/Makefile
+++ textproc/bibtool/Makefile
@@ -23,6 +23,8 @@
PORTDOCS= bibtool.pdf ref_card.pdf c_lib.pdf
+OPTIONS_DEFINE= DOCS
+
post-patch:
${REINPLACE_CMD} 's/bibtex$$/&8/' ${WRKSRC}/doc/Makefile
Index: textproc/c2html/Makefile
===================================================================
--- textproc/c2html/Makefile
+++ textproc/c2html/Makefile
@@ -15,6 +15,8 @@
PLIST_FILES= bin/c2html man/man1/c2html.1.gz
PORTDOCS= AUTHORS NEWS README
+OPTIONS_DEFINE= DOCS
+
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for file in ${PORTDOCS}
Index: textproc/docbook-utils/Makefile
===================================================================
--- textproc/docbook-utils/Makefile
+++ textproc/docbook-utils/Makefile
@@ -30,6 +30,8 @@
PORTDOCS= *
+OPTIONS_DEFINE= DOCS
+
post-patch:
@${REINPLACE_CMD} -e 's|/etc/sgml/catalog|${PREFIX}/share/sgml/catalog|g' \
${WRKSRC}/doc/HTML/Makefile.in
Index: textproc/elixir-earmark/Makefile
===================================================================
--- textproc/elixir-earmark/Makefile
+++ textproc/elixir-earmark/Makefile
@@ -17,4 +17,6 @@
MIX_REWRITE= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: textproc/elixir-ex_doc/Makefile
===================================================================
--- textproc/elixir-ex_doc/Makefile
+++ textproc/elixir-ex_doc/Makefile
@@ -20,4 +20,6 @@
MIX_RUN_DEPS:= ${MIX_BUILD_DEPS}
MIX_REWRITE= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: textproc/elixir-funnel/Makefile
===================================================================
--- textproc/elixir-funnel/Makefile
+++ textproc/elixir-funnel/Makefile
@@ -21,4 +21,6 @@
www/elixir-httpoison
MIX_RUN_DEPS:= ${MIX_BUILD_DEPS}
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: textproc/elixir-sweet_xml/Makefile
===================================================================
--- textproc/elixir-sweet_xml/Makefile
+++ textproc/elixir-sweet_xml/Makefile
@@ -15,4 +15,6 @@
USE_GITHUB= yes
GH_ACCOUNT= gniquil
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: textproc/erlang-edown/Makefile
===================================================================
--- textproc/erlang-edown/Makefile
+++ textproc/erlang-edown/Makefile
@@ -14,4 +14,6 @@
ERL_DOCS= doc/*
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: textproc/erlang-fast_xml/Makefile
===================================================================
--- textproc/erlang-fast_xml/Makefile
+++ textproc/erlang-fast_xml/Makefile
@@ -22,6 +22,8 @@
CFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib -l expat
+OPTIONS_DEFINE= DOCS
+
pre-install:
${STRIP_CMD} ${WRKSRC}/priv/lib/*.so
Index: textproc/erlang-p1_utils/Makefile
===================================================================
--- textproc/erlang-p1_utils/Makefile
+++ textproc/erlang-p1_utils/Makefile
@@ -14,4 +14,6 @@
USE_GITHUB= yes
GH_ACCOUNT= processone
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: textproc/erlang-yamerl/Makefile
===================================================================
--- textproc/erlang-yamerl/Makefile
+++ textproc/erlang-yamerl/Makefile
@@ -17,4 +17,6 @@
ERL_DOCS= README.md doc
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: textproc/expat2/Makefile
===================================================================
--- textproc/expat2/Makefile
+++ textproc/expat2/Makefile
@@ -17,4 +17,6 @@
USE_LDCONFIG= yes
INSTALL_TARGET= install-strip
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: textproc/highlight/Makefile
===================================================================
--- textproc/highlight/Makefile
+++ textproc/highlight/Makefile
@@ -25,6 +25,8 @@
PORTDOCS= *
+OPTIONS_DEFINE= DOCS
+
post-patch:
@${REINPLACE_CMD} \
-e 's|^PREFIX =|PREFIX ?=|' \
Index: textproc/html-xml-utils/Makefile
===================================================================
--- textproc/html-xml-utils/Makefile
+++ textproc/html-xml-utils/Makefile
@@ -22,7 +22,7 @@
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}
Index: textproc/htmlc/Makefile
===================================================================
--- textproc/htmlc/Makefile
+++ textproc/htmlc/Makefile
@@ -21,6 +21,8 @@
HAS_CONFIGURE= yes
CONFIGURE_ARGS= --prefix ${LOCALBASE}
+OPTIONS_DEFINE= DOCS
+
post-patch:
${RM} ${WRKSRC}/doc/Makefile
${TOUCH} ${WRKSRC}/doc/Makefile
Index: textproc/java2html/Makefile
===================================================================
--- textproc/java2html/Makefile
+++ textproc/java2html/Makefile
@@ -16,6 +16,8 @@
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}
Index: textproc/librevenge/Makefile
===================================================================
--- textproc/librevenge/Makefile
+++ textproc/librevenge/Makefile
@@ -19,12 +19,13 @@
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
Index: textproc/libxml++26-reference/pkg-plist
===================================================================
--- textproc/libxml++26-reference/pkg-plist
+++ textproc/libxml++26-reference/pkg-plist
@@ -1 +1 @@
-%%PORTDOCS%%share/devhelp/books/libxml++-%%API_VERSION%%/libxml++-%%API_VERSION%%.devhelp2
+share/devhelp/books/libxml++-%%API_VERSION%%/libxml++-%%API_VERSION%%.devhelp2
Index: textproc/linux-c6-expat/Makefile
===================================================================
--- textproc/linux-c6-expat/Makefile
+++ textproc/linux-c6-expat/Makefile
@@ -15,4 +15,6 @@
USE_LDCONFIG= yes
USE_LINUX_RPM= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: textproc/linux-c6-libxml2/Makefile
===================================================================
--- textproc/linux-c6-libxml2/Makefile
+++ textproc/linux-c6-libxml2/Makefile
@@ -15,4 +15,6 @@
USE_LDCONFIG= yes
USE_LINUX_RPM= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: textproc/linux-c7-expat/Makefile
===================================================================
--- textproc/linux-c7-expat/Makefile
+++ textproc/linux-c7-expat/Makefile
@@ -19,4 +19,6 @@
USE_LDCONFIG= yes
USE_LINUX_RPM= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: textproc/linux-c7-libxml2/Makefile
===================================================================
--- textproc/linux-c7-libxml2/Makefile
+++ textproc/linux-c7-libxml2/Makefile
@@ -19,4 +19,6 @@
USE_LDCONFIG= yes
USE_LINUX_RPM= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: textproc/metauml/Makefile
===================================================================
--- textproc/metauml/Makefile
+++ textproc/metauml/Makefile
@@ -32,6 +32,8 @@
PORTDOCS= ${PORTNAME}_manual_${PORTVERSION}.pdf
PORTEXAMPLES= *.1 *.jpg *.mp lop lop.html lop.pdf lop.tex
+OPTIONS_DEFINE= DOCS EXAMPLES
+
do-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/${MPDIR}
${INSTALL_DATA} ${WRKSRC}/thrunk/*.mp ${STAGEDIR}${PREFIX}/${MPDIR}
Index: textproc/rss2html/Makefile
===================================================================
--- textproc/rss2html/Makefile
+++ textproc/rss2html/Makefile
@@ -20,6 +20,8 @@
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
Index: textproc/ruby-rdtool/Makefile
===================================================================
--- textproc/ruby-rdtool/Makefile
+++ textproc/ruby-rdtool/Makefile
@@ -24,7 +24,7 @@
DOCS_EN= README.rd doc/rd-draft.rd
DOCS_JA= README.rd.ja doc/rd-draft.rd.ja
-OPTIONS_DEFINE= DOCS
+OPTIONS_DEFINE= DOCS EXAMPLES
post-install:
${MKDIR} ${STAGEDIR}${RUBY_SITELIBDIR}/rd
Index: textproc/smi/Makefile
===================================================================
--- textproc/smi/Makefile
+++ textproc/smi/Makefile
@@ -24,6 +24,8 @@
MANDIR="${MANPREFIX}/man/man"
CFLAGS+= -DVERSION=${PORTVERSION}
+OPTIONS_DEFINE= DOCS
+
pre-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
Index: textproc/xerces-j/Makefile
===================================================================
--- textproc/xerces-j/Makefile
+++ textproc/xerces-j/Makefile
@@ -23,6 +23,8 @@
PLIST_FILES= ${JARFILES:S,^,%%JAVAJARDIR%%/,}
+OPTIONS_DEFINE= DOCS
+
do-install:
@${ECHO_MSG} -n ">> Installing JAR files in ${JAVAJARDIR}..."
.for JARFILE in ${JARFILES}
Index: textproc/xp/Makefile
===================================================================
--- textproc/xp/Makefile
+++ textproc/xp/Makefile
@@ -23,6 +23,8 @@
JARFILE= ${PORTNAME}.jar
PLIST_FILES+= %%JAVAJARDIR%%/${JARFILE}
+OPTIONS_DEFINE= DOCS
+
do-install:
@${ECHO_CMD} -n ">> Installing JAR as ${JAVAJARDIR}/${JARFILE}..."
@${MKDIR} ${STAGEDIR}${JAVAJARDIR}
Index: textproc/xsv-rs/Makefile
===================================================================
--- textproc/xsv-rs/Makefile
+++ textproc/xsv-rs/Makefile
@@ -66,6 +66,8 @@
PLIST_FILES= bin/xsv
PORTDOCS= README.md
+OPTIONS_DEFINE= DOCS
+
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/xsv
@${MKDIR} ${STAGEDIR}${DOCSDIR}
Index: www/amphetadesk/Makefile
===================================================================
--- www/amphetadesk/Makefile
+++ www/amphetadesk/Makefile
@@ -38,6 +38,8 @@
PORTDOCS= *
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.pre.mk>
post-patch:
Index: www/apache22/Makefile.options
===================================================================
--- www/apache22/Makefile.options
+++ www/apache22/Makefile.options
@@ -41,7 +41,7 @@
NO_OPTIONS_SORT= yes
-OPTIONS_DEFINE= \
+OPTIONS_DEFINE= DOCS \
AUTH_BASIC \
AUTH_DIGEST \
AUTHN_ALIAS \
Index: www/apache24/Makefile.options
===================================================================
--- www/apache24/Makefile.options
+++ www/apache24/Makefile.options
@@ -85,7 +85,7 @@
# ===================================================================================
-OPTIONS_DEFINE:= \
+OPTIONS_DEFINE:= DOCS \
${MOST_ENABLED_MODULES} \
${MOST_DISABLED_MODULES}\
${ADDITIONAL_OPT} \
Index: www/axis/Makefile
===================================================================
--- www/axis/Makefile
+++ www/axis/Makefile
@@ -13,6 +13,7 @@
LICENSE= APACHE20
+OPTIONS_DEFINE= DOCS EXAMPLES
OPTIONS_SINGLE= AS
OPTIONS_SINGLE_AS= TOMCAT6 TOMCAT7
OPTIONS_DEFAULT= TOMCAT6
Index: www/cgicc/Makefile
===================================================================
--- www/cgicc/Makefile
+++ www/cgicc/Makefile
@@ -11,7 +11,7 @@
LICENSE= LGPL3+
-OPTIONS_DEFINE= DOXYGEN
+OPTIONS_DEFINE= DOXYGEN DOCS
USES= gmake pathfix libtool
GNU_CONFIGURE= yes
@@ -24,6 +24,7 @@
PORTDOCS= *
+DOXYGEN_IMPLIES= DOCS
DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen
DOXYGEN_CONFIGURE_ENV_OFF= ac_cv_prog_DOXYGEN="${ECHO_CMD}"
Index: www/elixir-html_entities/Makefile
===================================================================
--- www/elixir-html_entities/Makefile
+++ www/elixir-html_entities/Makefile
@@ -17,4 +17,6 @@
MIX_REWRITE= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: www/elixir-html_sanitize_ex/Makefile
===================================================================
--- www/elixir-html_sanitize_ex/Makefile
+++ www/elixir-html_sanitize_ex/Makefile
@@ -19,4 +19,6 @@
MIX_RUN_DEPS:= ${MIX_BUILD_DEPS}
MIX_REWRITE= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: www/elixir-httpoison/Makefile
===================================================================
--- www/elixir-httpoison/Makefile
+++ www/elixir-httpoison/Makefile
@@ -18,4 +18,6 @@
MIX_BUILD_DEPS= www/erlang-hackney
MIX_RUN_DEPS:= ${MIX_BUILD_DEPS}
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: www/elixir-httpotion/Makefile
===================================================================
--- www/elixir-httpotion/Makefile
+++ www/elixir-httpotion/Makefile
@@ -19,4 +19,6 @@
MIX_RUN_DEPS:= ${MIX_BUILD_DEPS}
MIX_REWRITE= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: www/elixir-joken/Makefile
===================================================================
--- www/elixir-joken/Makefile
+++ www/elixir-joken/Makefile
@@ -19,4 +19,6 @@
security/elixir-jose
MIX_RUN_DEPS:= ${MIX_BUILD_DEPS}
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: www/elixir-maru/Makefile
===================================================================
--- www/elixir-maru/Makefile
+++ www/elixir-maru/Makefile
@@ -20,4 +20,6 @@
www/erlang-cowboy
MIX_RUN_DEPS:= ${MIX_BUILD_DEPS}
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: www/elixir-phoenix/Makefile
===================================================================
--- www/elixir-phoenix/Makefile
+++ www/elixir-phoenix/Makefile
@@ -15,7 +15,7 @@
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
Index: www/elixir-phoenix_ecto/Makefile
===================================================================
--- www/elixir-phoenix_ecto/Makefile
+++ www/elixir-phoenix_ecto/Makefile
@@ -22,4 +22,6 @@
MIX_RUN_DEPS:= ${MIX_BUILD_DEPS}
MIX_REWRITE= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: www/elixir-phoenix_html/Makefile
===================================================================
--- www/elixir-phoenix_html/Makefile
+++ www/elixir-phoenix_html/Makefile
@@ -19,4 +19,6 @@
MIX_RUN_DEPS:= ${MIX_BUILD_DEPS}
MIX_REWRITE= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: www/elixir-phoenix_pubsub/Makefile
===================================================================
--- www/elixir-phoenix_pubsub/Makefile
+++ www/elixir-phoenix_pubsub/Makefile
@@ -17,4 +17,6 @@
MIX_REWRITE= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: www/elixir-webassembly/Makefile
===================================================================
--- www/elixir-webassembly/Makefile
+++ www/elixir-webassembly/Makefile
@@ -15,4 +15,6 @@
USE_GITHUB= yes
GH_ACCOUNT= herenowcoder
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: www/erlang-cowboy/Makefile
===================================================================
--- www/erlang-cowboy/Makefile
+++ www/erlang-cowboy/Makefile
@@ -18,7 +18,9 @@
ERL_RUN_DEPS= www/erlang-cowlib \
net/erlang-ranch
-post-install:
+OPTIONS_DEFINE= DOCS EXAMPLES
+
+post-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
cd ${WRKSRC}/examples && ${COPYTREE_SHARE} \* ${STAGEDIR}${EXAMPLESDIR}
Index: www/erlang-cowlib/Makefile
===================================================================
--- www/erlang-cowlib/Makefile
+++ www/erlang-cowlib/Makefile
@@ -15,4 +15,6 @@
USE_GITHUB= yes
GH_ACCOUNT= ninenines
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: www/erlang-hackney/Makefile
===================================================================
--- www/erlang-hackney/Makefile
+++ www/erlang-hackney/Makefile
@@ -21,6 +21,8 @@
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
Index: www/erlang-ibrowse/Makefile
===================================================================
--- www/erlang-ibrowse/Makefile
+++ www/erlang-ibrowse/Makefile
@@ -16,4 +16,6 @@
USE_GITHUB= yes
GH_ACCOUNT= cmullaparthi
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: www/erlang-mochiweb-basho/Makefile
===================================================================
--- www/erlang-mochiweb-basho/Makefile
+++ www/erlang-mochiweb-basho/Makefile
@@ -18,7 +18,9 @@
GH_ACCOUNT= basho
GH_TAGNAME= 4d38821 # required
-post-install:
+OPTIONS_DEFINE= DOCS EXAMPLES
+
+post-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
cd ${WRKSRC}/examples && ${COPYTREE_SHARE} \* ${STAGEDIR}${EXAMPLESDIR}
Index: www/erlang-mochiweb/Makefile
===================================================================
--- www/erlang-mochiweb/Makefile
+++ www/erlang-mochiweb/Makefile
@@ -18,7 +18,9 @@
USE_GITHUB= yes
GH_ACCOUNT= mochi
-post-install:
+OPTIONS_DEFINE= DOCS EXAMPLES
+
+post-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
cd ${WRKSRC}/examples && ${COPYTREE_SHARE} \* ${STAGEDIR}${EXAMPLESDIR}
Index: www/erlang-webmachine/Makefile
===================================================================
--- www/erlang-webmachine/Makefile
+++ www/erlang-webmachine/Makefile
@@ -17,7 +17,9 @@
ERL_BUILD_DEPS= www/erlang-mochiweb-basho
ERL_RUN_DEPS:= ${ERL_BUILD_DEPS}
-post-install:
+OPTIONS_DEFINE= DOCS EXAMPLES
+
+post-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
cd ${WRKSRC}/demo && ${COPYTREE_SHARE} \* ${STAGEDIR}${EXAMPLESDIR}
Index: www/hypermail/Makefile
===================================================================
--- www/hypermail/Makefile
+++ www/hypermail/Makefile
@@ -24,6 +24,8 @@
CFLAGS+= -L${LOCALBASE}/lib
WRKSRC= ${WRKDIR}/${PORTNAME}
+OPTIONS_DEFINE= DOCS
+
post-install:
${STRIP_CMD} ${STAGEDIR}/${PREFIX}/bin/hypermail \
${STAGEDIR}/${PREFIX}/bin/msg2archive \
Index: www/jericho-html/Makefile
===================================================================
--- www/jericho-html/Makefile
+++ www/jericho-html/Makefile
@@ -19,6 +19,8 @@
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} \
Index: www/linux-opera/Makefile
===================================================================
--- www/linux-opera/Makefile
+++ www/linux-opera/Makefile
@@ -38,6 +38,8 @@
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
Index: www/luakit/Makefile
===================================================================
--- www/luakit/Makefile
+++ www/luakit/Makefile
@@ -29,7 +29,7 @@
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
Index: www/mod_auth_cas/Makefile
===================================================================
--- www/mod_auth_cas/Makefile
+++ www/mod_auth_cas/Makefile
@@ -36,7 +36,7 @@
APMOD_FILE= 250_${PORTNAME}.conf.sample
PLIST_SUB+= APMOD_FILE=${APMOD_FILE}
-.include <bsd.port.pre.mk>
+OPTIONS_DEFINE= DOCS
do-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/${APACHEMODDIR} ${STAGEDIR}${DOCSDIR}
@@ -47,4 +47,4 @@
${INSTALL_DATA} ${WRKDIR}/${APMOD_FILE} ${STAGEDIR}${PREFIX}/${APACHEETCDIR}/modules.d
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
Index: www/mod_auth_external2/Makefile
===================================================================
--- www/mod_auth_external2/Makefile
+++ www/mod_auth_external2/Makefile
@@ -21,7 +21,9 @@
PORTDOCS= AUTHENTICATORS INSTALL README
-post-install:
+OPTIONS_DEFINE= DOCS
+
+post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
Index: www/mod_auth_imap2/Makefile
===================================================================
--- www/mod_auth_imap2/Makefile
+++ www/mod_auth_imap2/Makefile
@@ -22,6 +22,8 @@
PORTDOCS= htaccess-example httpd.conf-append-example
+OPTIONS_DEFINE= DOCS
+
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/examples/|} ${STAGEDIR}${DOCSDIR}
Index: www/mod_auth_mysql_another/Makefile
===================================================================
--- www/mod_auth_mysql_another/Makefile
+++ www/mod_auth_mysql_another/Makefile
@@ -25,6 +25,8 @@
PORTDOCS= CONFIGURE CHANGES
+OPTIONS_DEFINE= DOCS
+
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
Index: www/mod_auth_pam2/Makefile
===================================================================
--- www/mod_auth_pam2/Makefile
+++ www/mod_auth_pam2/Makefile
@@ -24,6 +24,8 @@
AP_EXTRAS+= -lpam
+OPTIONS_DEFINE= DOCS EXAMPLES
+
post-install:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/samples/httpd ${STAGEDIR}${EXAMPLESDIR}/pam-httpd.sample
Index: www/mod_auth_pgsql2/Makefile
===================================================================
--- www/mod_auth_pgsql2/Makefile
+++ www/mod_auth_pgsql2/Makefile
@@ -20,6 +20,8 @@
AP_GENPLIST= yes
PORTDOCS= mod_auth_pgsql.html
+OPTIONS_DEFINE= DOCS
+
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
Index: www/mod_authn_sasl/Makefile
===================================================================
--- www/mod_authn_sasl/Makefile
+++ www/mod_authn_sasl/Makefile
@@ -14,7 +14,7 @@
LIB_DEPENDS= libsasl2.so:security/cyrus-sasl2
-OPTIONS_DEFINE= SASLAUTHD
+OPTIONS_DEFINE= SASLAUTHD DOCS
SASLAUTHD_DESC= cyrus-sasl2-saslauthd support
SASLAUTHD_RUN_DEPENDS= saslauthd:security/cyrus-sasl2-saslauthd
Index: www/mod_authnz_external24/Makefile
===================================================================
--- www/mod_authnz_external24/Makefile
+++ www/mod_authnz_external24/Makefile
@@ -21,6 +21,8 @@
PORTDOCS= AUTHENTICATORS INSTALL README \
CHANGES UPGRADE INSTALL.HARDCODE
+OPTIONS_DEFINE= DOCS
+
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
@${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
Index: www/mod_bw/Makefile
===================================================================
--- www/mod_bw/Makefile
+++ www/mod_bw/Makefile
@@ -22,7 +22,9 @@
SRC_FILE= mod_bw.c
PORTDOCS= mod_bw.txt
-post-install:
+OPTIONS_DEFINE= DOCS
+
+post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
Index: www/mod_cfg_ldap/Makefile
===================================================================
--- www/mod_cfg_ldap/Makefile
+++ www/mod_cfg_ldap/Makefile
@@ -26,7 +26,9 @@
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}
Index: www/mod_chroot/Makefile
===================================================================
--- www/mod_chroot/Makefile
+++ www/mod_chroot/Makefile
@@ -18,6 +18,8 @@
PORTDOCS= INSTALL CAVEATS README.Apache20 README
+OPTIONS_DEFINE= DOCS
+
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
Index: www/mod_cvs2/Makefile
===================================================================
--- www/mod_cvs2/Makefile
+++ www/mod_cvs2/Makefile
@@ -22,6 +22,8 @@
PORTDOCS= reference.html guide.html README
+OPTIONS_DEFINE= DOCS
+
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
Index: www/mod_domaintree/Makefile
===================================================================
--- www/mod_domaintree/Makefile
+++ www/mod_domaintree/Makefile
@@ -18,6 +18,8 @@
PORTDOCS= LICENSE.txt ChangeLog
+OPTIONS_DEFINE= DOCS
+
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
Index: www/mod_evasive/Makefile
===================================================================
--- www/mod_evasive/Makefile
+++ www/mod_evasive/Makefile
@@ -24,6 +24,8 @@
PORTDOCS= README test.pl
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.pre.mk>
post-patch:
Index: www/mod_extract_forwarded/Makefile
===================================================================
--- www/mod_extract_forwarded/Makefile
+++ www/mod_extract_forwarded/Makefile
@@ -11,7 +11,7 @@
MAINTAINER= kuriyama@FreeBSD.org
COMMENT= Apache module that can make proxied requests appear with client IP
-OPTIONS_DEFINE= YOSHFUJI
+OPTIONS_DEFINE= YOSHFUJI DOCS
YOSHFUJI_DESC= yoshfuji patch (support IPv6 addr in config, etc)
#OPTIONS_DEFAULT= YOSHFUJI
Index: www/mod_fastcgi/Makefile
===================================================================
--- www/mod_fastcgi/Makefile
+++ www/mod_fastcgi/Makefile
@@ -19,7 +19,9 @@
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}
Index: www/mod_geoip2/Makefile
===================================================================
--- www/mod_geoip2/Makefile
+++ www/mod_geoip2/Makefile
@@ -26,6 +26,8 @@
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}
Index: www/mod_gzip2/Makefile
===================================================================
--- www/mod_gzip2/Makefile
+++ www/mod_gzip2/Makefile
@@ -22,6 +22,8 @@
PORTDOCS= commands.txt samples.txt
PORTEXAMPLES= mod_gzip2.conf.sample
+OPTIONS_DEFINE= DOCS EXAMPLES
+
post-patch:
@${MV} ${WRKSRC}/mod_gzip.c ${WRKSRC}/${PORTNAME}.c
Index: www/mod_http2-devel/Makefile
===================================================================
--- www/mod_http2-devel/Makefile
+++ www/mod_http2-devel/Makefile
@@ -33,6 +33,8 @@
PLIST_FILES= ${APACHEMODDIR}/mod_h2.so \
${APACHEMODDIR}/mod_proxy_h2.so
+OPTIONS_DEFINE= DOCS
+
post-install:
# Rename mod_http2 to mod_h2 to avoid conflict with Apache24
${MV} ${STAGEDIR}${PREFIX}/${APACHEMODDIR}/mod_http2.so.0.0.0 \
Index: www/mod_limitipconn2/Makefile
===================================================================
--- www/mod_limitipconn2/Makefile
+++ www/mod_limitipconn2/Makefile
@@ -23,6 +23,8 @@
PORTDOCS= ChangeLog INSTALL README
+OPTIONS_DEFINE= DOCS
+
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}/
Index: www/mod_md-devel/Makefile
===================================================================
--- www/mod_md-devel/Makefile
+++ www/mod_md-devel/Makefile
@@ -37,6 +37,8 @@
${APACHEMODDIR}/mod_md.so \
bin/a2md
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.pre.mk>
.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1100085 && ${SSL_DEFAULT} == base
Index: www/mod_proxy_html/Makefile
===================================================================
--- www/mod_proxy_html/Makefile
+++ www/mod_proxy_html/Makefile
@@ -30,6 +30,8 @@
PORTDOCS= README proxy_html.conf
+OPTIONS_DEFINE= DOCS
+
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
Index: www/mod_xml2enc/Makefile
===================================================================
--- www/mod_xml2enc/Makefile
+++ www/mod_xml2enc/Makefile
@@ -29,6 +29,8 @@
PORTDOCS= COPYING
+OPTIONS_DEFINE= DOCS
+
post-install:
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_MAN} ${WRKSRC}/COPYING ${STAGEDIR}${DOCSDIR}
Index: www/p5-CGI.pm/Makefile
===================================================================
--- www/p5-CGI.pm/Makefile
+++ www/p5-CGI.pm/Makefile
@@ -32,6 +32,8 @@
examples/popup.cgi examples/save_state.cgi \
examples/tryit.cgi examples/wilogo.gif
+OPTIONS_DEFINE= EXAMPLES
+
post-patch:
@${REINPLACE_CMD} -e '/require 5\.6/d; /INSTALLDIRS/d' ${WRKSRC}/Makefile.PL
Index: www/php-templates/Makefile
===================================================================
--- www/php-templates/Makefile
+++ www/php-templates/Makefile
@@ -25,6 +25,8 @@
PORTDOCS= *
+OPTIONS_DEFINE= DOCS
+
do-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/lib/php/${PHP_EXT_DIR}
${INSTALL_LIB} ${WRKSRC}/modules/templates.so \
Index: www/pmwiki/Makefile
===================================================================
--- www/pmwiki/Makefile
+++ www/pmwiki/Makefile
@@ -25,6 +25,8 @@
SUB_LIST+= PMWIKIDIR=${PMWIKIDIR}
SUB_FILES= pkg-message
+OPTIONS_DEFINE= DOCS
+
pre-fetch:
.if !defined(PMWIKIDIR)
@${ECHO_MSG} ""
Index: www/polipo/Makefile
===================================================================
--- www/polipo/Makefile
+++ www/polipo/Makefile
@@ -27,7 +27,7 @@
SUB_LIST+= USER=${PUSER} GROUP=${PGRP} DESTDIR=${DESTDIR} PCONFIGDIR=${PCONFIGDIR} \
PCACHEDIR=${PCACHEDIR} PPIDDIR=${PPIDDIR} PPIDFILE=${PPIDFILE} \
PLOGFILE=${PLOGFILE}
-PLIST_SUB= PCACHEDIR=${PCACHEDIR}
+PLIST_SUB+= PCACHEDIR=${PCACHEDIR}
# polipo installation options, propagated to install scripts
PUSER?= polipo
Index: www/privatebin/Makefile
===================================================================
--- www/privatebin/Makefile
+++ www/privatebin/Makefile
@@ -19,6 +19,8 @@
USE_GITHUB= yes
GH_PROJECT= PrivateBin
+OPTIONS_DEFINE= DOCS
+
post-patch:
@${REINPLACE_CMD} -e 's:%%DATADBDIR%%:/var/db/${PORTNAME}:' \
${WRKSRC}/index.php
Index: www/roundup/Makefile
===================================================================
--- www/roundup/Makefile
+++ www/roundup/Makefile
@@ -17,7 +17,7 @@
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
Index: www/spdylay/Makefile
===================================================================
--- www/spdylay/Makefile
+++ www/spdylay/Makefile
@@ -34,6 +34,8 @@
PORTDOCS= *
+OPTIONS_DEFINE= DOCS
+
post-install:
${INSTALL_SCRIPT} ${WRKSRC}/examples/spdycli ${STAGEDIR}${PREFIX}/bin/
${INSTALL_DATA} ${WRKSRC}/shrpx.conf.sample ${STAGEDIR}${PREFIX}/etc/
Index: www/spreadlogd/Makefile
===================================================================
--- www/spreadlogd/Makefile
+++ www/spreadlogd/Makefile
@@ -21,6 +21,8 @@
PORTDOCS= README
+OPTIONS_DEFINE= DOCS
+
post-patch:
@${REINPLACE_CMD} -e 's|/etc|${PREFIX}/etc|' ${WRKSRC}/spreadlogd.c
Index: www/squidanalyzer/Makefile
===================================================================
--- www/squidanalyzer/Makefile
+++ www/squidanalyzer/Makefile
@@ -33,6 +33,8 @@
CONF_FILES= excluded included network-aliases \
squidanalyzer.conf user-aliases
+OPTIONS_DEFINE= DOCS
+
post-install:
.for file in ${CONF_FILES}
@${MV} ${STAGEDIR}${ETCDIR}/${file} \
Index: www/tt-rss/Makefile
===================================================================
--- www/tt-rss/Makefile
+++ www/tt-rss/Makefile
@@ -59,7 +59,7 @@
SUB_FILES= httpd-tt-rss.conf pkg-message
SUB_LIST= DB=${DB} WWWOWN=${WWWOWN} MYSQL=${MYSQL} PGSQL=${PGSQL}
-PLIST_SUB= WWWOWN=${WWWOWN} WWWGRP=${WWWGRP}
+PLIST_SUB+= WWWOWN=${WWWOWN} WWWGRP=${WWWGRP}
PKGMESSAGE= ${WRKDIR}/pkg-message
PHP2FIX= config.php-dist update.php update_daemon2.php
Index: www/ufdbguard/Makefile
===================================================================
--- www/ufdbguard/Makefile
+++ www/ufdbguard/Makefile
@@ -57,7 +57,7 @@
MAKE_JOBS_UNSAFE= yes
-OPTIONS_DEFINE= UNIXSOCKETS
+OPTIONS_DEFINE= UNIXSOCKETS EXAMPLES
UNIXSOCKETS_CONFIGURE_WITH= unix-sockets
Index: www/varnish-libvmod-awsrest/Makefile
===================================================================
--- www/varnish-libvmod-awsrest/Makefile
+++ www/varnish-libvmod-awsrest/Makefile
@@ -24,4 +24,6 @@
USE_GITHUB= yes
GH_ACCOUNT= xcir
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: www/varnish-libvmod-digest/Makefile
===================================================================
--- www/varnish-libvmod-digest/Makefile
+++ www/varnish-libvmod-digest/Makefile
@@ -23,4 +23,6 @@
USE_GITHUB= yes
GH_ACCOUNT= varnish
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: www/varnish-libvmod-maxminddb/Makefile
===================================================================
--- www/varnish-libvmod-maxminddb/Makefile
+++ www/varnish-libvmod-maxminddb/Makefile
@@ -26,4 +26,6 @@
MAKE_JOBS_UNSAFE= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: www/varnish4/Makefile
===================================================================
--- www/varnish4/Makefile
+++ www/varnish4/Makefile
@@ -41,6 +41,8 @@
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|}
Index: www/varnish5/Makefile
===================================================================
--- www/varnish5/Makefile
+++ www/varnish5/Makefile
@@ -40,6 +40,8 @@
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|}
Index: www/volta/Makefile
===================================================================
--- www/volta/Makefile
+++ www/volta/Makefile
@@ -25,6 +25,8 @@
PORTDOCS= README INSTALL LICENSE ChangeLog
SUB_FILES= pkg-message
+OPTIONS_DEFINE= DOCS
+
do-install:
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
Index: www/webinject/Makefile
===================================================================
--- www/webinject/Makefile
+++ www/webinject/Makefile
@@ -32,6 +32,8 @@
PORTDOCS= LICENSE README
+OPTIONS_DEFINE= DOCS
+
do-install:
@${MKDIR} ${STAGEDIR}${DATADIR}
@cd ${WRKSRC} && ${INSTALL_DATA} *.xml ${STAGEDIR}${DATADIR}
Index: www/websh/Makefile
===================================================================
--- www/websh/Makefile
+++ www/websh/Makefile
@@ -30,6 +30,8 @@
USE_APACHE= 22+
CONFIGURE_ARGS+=--with-httpdinclude=`apxs -q includedir`
+OPTIONS_DEFINE= DOCS EXAMPLES
+
CPPFLAGS+= -I ${LOCALBASE}/include/apr-1
.if !defined(NO_WERROR) && ${CC} == "cc" || ${CC:T:Mgcc*} != ""
CPPFLAGS+= -Wall -Werror
Index: www/www6to4/Makefile
===================================================================
--- www/www6to4/Makefile
+++ www/www6to4/Makefile
@@ -20,6 +20,8 @@
ALL_TARGET= www6to4
+OPTIONS_DEFINE= DOCS
+
post-patch:
@${REINPLACE_CMD} -e 's,/etc,${ETCDIR},' \
${WRKSRC}/www6to4.c ${WRKSRC}/www6to4.conf
Index: www/xshttpd-devel/Makefile
===================================================================
--- www/xshttpd-devel/Makefile
+++ www/xshttpd-devel/Makefile
@@ -22,7 +22,7 @@
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+
Index: www/xshttpd/Makefile
===================================================================
--- www/xshttpd/Makefile
+++ www/xshttpd/Makefile
@@ -24,7 +24,7 @@
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
Index: x11-fm/mucommander/Makefile
===================================================================
--- x11-fm/mucommander/Makefile
+++ x11-fm/mucommander/Makefile
@@ -22,6 +22,8 @@
WRKSRC= ${WRKDIR}/muCommander-${PORTVERSION:S/./_/g}
+OPTIONS_DEFINE= DOCS
+
do-install:
@${MKDIR} ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${WRKSRC}/mucommander.jar ${STAGEDIR}${DATADIR}
Index: x11-fm/rodent/Makefile
===================================================================
--- x11-fm/rodent/Makefile
+++ x11-fm/rodent/Makefile
@@ -30,7 +30,7 @@
PORTDOCS= *
-OPTIONS_DEFINE= NLS
+OPTIONS_DEFINE= NLS DOCS
OPTIONS_SUB= yes
NLS_USES= gettext
Index: x11-fonts/averiagwf/Makefile
===================================================================
--- x11-fonts/averiagwf/Makefile
+++ x11-fonts/averiagwf/Makefile
@@ -19,6 +19,8 @@
PORTDOCS= FONTLOG.txt
+OPTIONS_DEFINE= DOCS
+
do-install:
${MKDIR} ${STAGEDIR}${FONTSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} *.ttf ${STAGEDIR}${FONTSDIR}
Index: x11-fonts/linux-c6-fontconfig/Makefile
===================================================================
--- x11-fonts/linux-c6-fontconfig/Makefile
+++ x11-fonts/linux-c6-fontconfig/Makefile
@@ -16,6 +16,8 @@
USE_LINUX= expat
USE_LINUX_RPM= yes
+OPTIONS_DEFINE= DOCS
+
post-patch:
@${RM} -r ${WRKSRC}/etc ${WRKSRC}/usr/share/fonts ${WRKSRC}/var
Index: x11-fonts/linux-c7-fontconfig/Makefile
===================================================================
--- x11-fonts/linux-c7-fontconfig/Makefile
+++ x11-fonts/linux-c7-fontconfig/Makefile
@@ -18,6 +18,8 @@
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
Index: x11-fonts/mkbold-mkitalic/Makefile
===================================================================
--- x11-fonts/mkbold-mkitalic/Makefile
+++ x11-fonts/mkbold-mkitalic/Makefile
@@ -16,6 +16,8 @@
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})
Index: x11-fonts/webfonts/Makefile
===================================================================
--- x11-fonts/webfonts/Makefile
+++ x11-fonts/webfonts/Makefile
@@ -32,7 +32,7 @@
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
Index: x11-themes/sddm-freebsd-black-theme/Makefile
===================================================================
--- x11-themes/sddm-freebsd-black-theme/Makefile
+++ x11-themes/sddm-freebsd-black-theme/Makefile
@@ -22,6 +22,8 @@
SUB_FILES= pkg-message
PORTDOCS= README.md AUTHORS COPYING TRADEMARKS
+OPTIONS_DEFINE= DOCS
+
do-install:
${MKDIR} ${STAGEDIR}${THEMEDIR}
(cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${THEMEDIR} \
Index: x11-toolkits/gtksourceview3/Makefile
===================================================================
--- x11-toolkits/gtksourceview3/Makefile
+++ x11-toolkits/gtksourceview3/Makefile
@@ -32,6 +32,8 @@
LIBS+= -L${LOCALBASE}/lib
INSTALL_TARGET= install-strip
+OPTIONS_DEFINE= DOCS
+
post-patch:
@${REINPLACE_CMD} -e 's|--warn-all||g' \
${WRKSRC}/gtksourceview/Makefile.in
Index: x11-toolkits/libxaw3dxft/Makefile
===================================================================
--- x11-toolkits/libxaw3dxft/Makefile
+++ x11-toolkits/libxaw3dxft/Makefile
@@ -23,6 +23,8 @@
DOCSDIR= ${LOCALBASE}/share/doc/libXaw3dXft
PORTDOCS= *
+OPTIONS_DEFINE= DOCS
+
post-patch:
@${REINPLACE_CMD} '/^typedef.*Pixel;/d' ${WRKSRC}/src/Xaw3dXft.c
Index: x11-toolkits/linux-c6-openmotif/Makefile
===================================================================
--- x11-toolkits/linux-c6-openmotif/Makefile
+++ x11-toolkits/linux-c6-openmotif/Makefile
@@ -16,6 +16,8 @@
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
Index: x11-toolkits/linux-c6-pango/Makefile
===================================================================
--- x11-toolkits/linux-c6-pango/Makefile
+++ x11-toolkits/linux-c6-pango/Makefile
@@ -16,4 +16,6 @@
USE_LINUX= cairo fontconfig libthai xorglibs
USE_LINUX_RPM= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: x11-toolkits/linux-c6-tk85/Makefile
===================================================================
--- x11-toolkits/linux-c6-tk85/Makefile
+++ x11-toolkits/linux-c6-tk85/Makefile
@@ -19,4 +19,6 @@
USE_LINUX_RPM= yes
USE_LINUX_RPM_BAD_PERMS= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: x11-toolkits/linux-c7-openmotif/Makefile
===================================================================
--- x11-toolkits/linux-c7-openmotif/Makefile
+++ x11-toolkits/linux-c7-openmotif/Makefile
@@ -18,6 +18,8 @@
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
Index: x11-toolkits/linux-c7-pango/Makefile
===================================================================
--- x11-toolkits/linux-c7-pango/Makefile
+++ x11-toolkits/linux-c7-pango/Makefile
@@ -17,4 +17,6 @@
USE_LINUX= cairo fontconfig harfbuzz libthai xorglibs
USE_LINUX_RPM= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: x11-toolkits/linux-c7-tk85/Makefile
===================================================================
--- x11-toolkits/linux-c7-tk85/Makefile
+++ x11-toolkits/linux-c7-tk85/Makefile
@@ -21,4 +21,6 @@
USE_LINUX_RPM= yes
USE_LINUX_RPM_BAD_PERMS= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: x11-toolkits/osm-gps-map/Makefile
===================================================================
--- x11-toolkits/osm-gps-map/Makefile
+++ x11-toolkits/osm-gps-map/Makefile
@@ -21,4 +21,6 @@
MAKE_ARGS= pkgconfigdir="${PREFIX}/libdata/pkgconfig"
INSTALL_TARGET= install-strip
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: x11-wm/blackbox/Makefile
===================================================================
--- x11-wm/blackbox/Makefile
+++ x11-wm/blackbox/Makefile
@@ -19,7 +19,7 @@
PORTDOCS= README.bbtools README.bsetbg
-OPTIONS_DEFINE= TOOLS_ONLY
+OPTIONS_DEFINE= TOOLS_ONLY DOCS
TOOLS_ONLY_DESC= Do not install window manager, only tools
.include <bsd.port.options.mk>
Index: x11-wm/ctwm/Makefile
===================================================================
--- x11-wm/ctwm/Makefile
+++ x11-wm/ctwm/Makefile
@@ -16,4 +16,6 @@
USES= cmake:outsource jpeg tar:xz
USE_XORG= x11 xext xt ice sm xpm xmu
+OPTIONS_DEFINE= DOCS EXAMPLES
+
.include <bsd.port.mk>
Index: x11-wm/larswm/Makefile
===================================================================
--- x11-wm/larswm/Makefile
+++ x11-wm/larswm/Makefile
@@ -19,6 +19,8 @@
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}
Index: x11/alttab/Makefile
===================================================================
--- x11/alttab/Makefile
+++ x11/alttab/Makefile
@@ -27,4 +27,6 @@
PORTDOCS= README xmonad.md
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: x11/libXcm/Makefile
===================================================================
--- x11/libXcm/Makefile
+++ x11/libXcm/Makefile
@@ -19,4 +19,6 @@
INSTALL_TARGET= install-strip
PORTDOCS= *
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: x11/lightdm-gtk-greeter/Makefile
===================================================================
--- x11/lightdm-gtk-greeter/Makefile
+++ x11/lightdm-gtk-greeter/Makefile
@@ -21,6 +21,8 @@
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)
Index: x11/linux-c6-xorg-libs/Makefile
===================================================================
--- x11/linux-c6-xorg-libs/Makefile
+++ x11/linux-c6-xorg-libs/Makefile
@@ -81,6 +81,8 @@
USE_LINUX= fontconfig
USE_LINUX_RPM= yes
+OPTIONS_DEFINE= DOCS
+
post-patch:
@${RM} -r ${WRKSRC}/usr/share/icons
Index: x11/linux-c7-xorg-libs/Makefile
===================================================================
--- x11/linux-c7-xorg-libs/Makefile
+++ x11/linux-c7-xorg-libs/Makefile
@@ -85,6 +85,8 @@
USE_LINUX= fontconfig
USE_LINUX_RPM= yes
+OPTIONS_DEFINE= DOCS
+
post-patch:
@${RM} -r ${WRKSRC}/usr/share/icons
Index: x11/mate-desktop/Makefile
===================================================================
--- x11/mate-desktop/Makefile
+++ x11/mate-desktop/Makefile
@@ -50,4 +50,6 @@
org.mate.typing-break.gschema.xml \
org.mate.debug.gschema.xml
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: x11/mate-panel/Makefile
===================================================================
--- x11/mate-panel/Makefile
+++ x11/mate-panel/Makefile
@@ -44,4 +44,6 @@
org.mate.panel.object.gschema.xml \
org.mate.panel.toplevel.gschema.xml
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: x11/mrxvt-devel/Makefile
===================================================================
--- x11/mrxvt-devel/Makefile
+++ x11/mrxvt-devel/Makefile
@@ -28,7 +28,7 @@
false
OPTIONS_DEFINE= XFT BACKGROUND JPEG PNG TRANSPARENCY SWAPSCREEN JAPANESE 24BITS \
- MENUBAR TEXTSHADOW FRILLS DOCS
+ MENUBAR TEXTSHADOW FRILLS DOCS EXAMPLES
OPTIONS_DEFAULT= BACKGROUND JPEG PNG TRANSPARENCY SWAPSCREEN 24BITS \
MENUBAR XFT JAPANESE FRILLS TEXTSHADOW
BACKGROUND_DESC= Background images
Index: x11/rxvt-unicode/Makefile
===================================================================
--- x11/rxvt-unicode/Makefile
+++ x11/rxvt-unicode/Makefile
@@ -73,10 +73,10 @@
CONFIGURE_ARGS+= --disable-perl
USES+= perl5
USE_PERL5= build
-PLIST_SUB= PERL="@comment "
+PLIST_SUB+= PERL="@comment "
.else
USES+= perl5
-PLIST_SUB= PERL=""
+PLIST_SUB+= PERL=""
.endif
# disable XIM (X Input Method) protocol support
Index: x11/tint/Makefile
===================================================================
--- x11/tint/Makefile
+++ x11/tint/Makefile
@@ -25,7 +25,7 @@
CMAKE_ARGS= -DMANDIR:PATH=man -DSYSCONFDIR:PATH=etc
-OPTIONS_DEFINE= EXAMPLES NLS
+OPTIONS_DEFINE= DOCS EXAMPLES NLS
OPTIONS_SUB= yes
EXAMPLES_CMAKE_BOOL= ENABLE_EXAMPLES
NLS_USES= gettext
Index: x11/trayer/Makefile
===================================================================
--- x11/trayer/Makefile
+++ x11/trayer/Makefile
@@ -26,6 +26,8 @@
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}
Index: x11/urxvt-perls/Makefile
===================================================================
--- x11/urxvt-perls/Makefile
+++ x11/urxvt-perls/Makefile
@@ -21,6 +21,8 @@
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}
Index: x11/wbarconf/Makefile
===================================================================
--- x11/wbarconf/Makefile
+++ x11/wbarconf/Makefile
@@ -23,6 +23,8 @@
PORTDOCS= README COPYING
INSTALLS_ICONS= yes
+OPTIONS_DEFINE= DOCS
+
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
${MKDIR} ${STAGEDIR}${DATADIR}
Index: x11/xcm/Makefile
===================================================================
--- x11/xcm/Makefile
+++ x11/xcm/Makefile
@@ -30,4 +30,6 @@
man/man1/xcmevents.1.gz man/man1/xcmhextobin.1.gz
PORTDOCS= *
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
Index: x11/xkbset/Makefile
===================================================================
--- x11/xkbset/Makefile
+++ x11/xkbset/Makefile
@@ -28,10 +28,10 @@
.if ${PORT_OPTIONS:MGUI}
RUN_DEPENDS+= p5-Tk>=0:x11-toolkits/p5-Tk
-PLIST_SUB= GUI=""
+PLIST_SUB+= GUI=""
MAKE_ARGS+= INSTALL_SCRIPT="${INSTALL_SCRIPT}"
.else
-PLIST_SUB= GUI="@comment "
+PLIST_SUB+= GUI="@comment "
MAKE_ARGS+= INSTALL_SCRIPT=:
.endif

File Metadata

Mime Type
text/plain
Expires
Wed, Dec 18, 4:30 PM (21 h, 57 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15490421
Default Alt Text
D13651.id37518.diff (290 KB)

Event Timeline