Skip to content

Commit

Permalink
Add DOCS options to ports that should have one.
Browse files Browse the repository at this point in the history
Also various fixes related to said option.

PR:		230864
Submitted by:	mat
exp-runs by:	antoine
  • Loading branch information
mat813 committed Sep 10, 2018
1 parent c6f82ca commit 6baece3
Show file tree
Hide file tree
Showing 995 changed files with 1,897 additions and 179 deletions.
2 changes: 2 additions & 0 deletions accessibility/kmag/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,6 @@ USE_KDE= auth codecs config configwidgets coreaddons ecm \
USE_QT= core dbus gui printsupport widgets xml \
buildtools_build qmake_build

OPTIONS_DEFINE= DOCS

.include <bsd.port.mk>
2 changes: 2 additions & 0 deletions accessibility/kmousetool/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,6 @@ USE_QT= core dbus gui phonon4 widgets xml \
buildtools_build qmake_build
USE_XORG= ice sm x11 xext xtst

OPTIONS_DEFINE= DOCS

.include <bsd.port.mk>
2 changes: 2 additions & 0 deletions accessibility/kmouth/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,6 @@ USE_KDE= auth codecs completion config configwidgets coreaddons crash \
USE_QT= core dbus gui network printsupport speech widgets xml \
buildtools_build qmake_build

OPTIONS_DEFINE= DOCS

.include <bsd.port.mk>
2 changes: 1 addition & 1 deletion archivers/ark/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ USE_QT= concurrent core dbus gui network widgets xml \

USE_LDCONFIG= yes

OPTIONS_DEFINE= 7ZIP RAR ZIP
OPTIONS_DEFINE= 7ZIP RAR ZIP DOCS
OPTIONS_SUB= YES

7ZIP_DESC= Support for 7-Zip archives
Expand Down
2 changes: 2 additions & 0 deletions archivers/brotli/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
PLIST_SUB= SHLIBVER=${PORTVERSION}

OPTIONS_DEFINE= DOCS

pre-configure:
(cd ${WRKSRC} && ./bootstrap)

Expand Down
2 changes: 2 additions & 0 deletions archivers/erlang-snappy/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,6 @@ GH_ACCOUNT= skunkwerks
GH_PROJECT= snappy-erlang-nif
GH_TAGNAME= 0951a1b

OPTIONS_DEFINE= DOCS

.include <bsd.port.mk>
2 changes: 2 additions & 0 deletions archivers/lzop/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,6 @@ GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib

OPTIONS_DEFINE= DOCS

.include <bsd.port.mk>
2 changes: 1 addition & 1 deletion astro/geographiclib/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ CMAKE_ARGS= -DGEOGRAPHICLIB_DATA:STRING=${DATADIR:Q}\
-DINSTALL_PYTHON_DIR:STRING=${PYTHON_SITELIBDIR:Q}\
-DINSTALL_DOC_DIR:STRING=${DOCSDIR:Q}

OPTIONS_DEFINE= DOXYGEN PERL
OPTIONS_DEFINE= DOXYGEN PERL DOCS
OPTIONS_DEFAULT= DOXYGEN PERL\
GEOID_EGM96_5 GRAVITY_EGM96 GRAVITY_WGS84\
MAGNETIC_WMM2015 MAGNETIC_IGRF12
Expand Down
2 changes: 2 additions & 0 deletions astro/libkgeomap/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,6 @@ USE_QT= concurrent core gui network webkit widgets xml \

USE_LDCONFIG= yes

OPTIONS_DEFINE= DOCS

.include <bsd.port.mk>
2 changes: 1 addition & 1 deletion astro/marble/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ MAKE_ENV= XDG_CONFIG_HOME=/dev/null
CMAKE_ARGS= -DMOBILE:BOOL=FALSE \
-DQT_IMPORTS_DIR:PATH=${QT_IMPORTDIR}

OPTIONS_DEFINE= GPS
OPTIONS_DEFINE= GPS DOCS
OPTIONS_DEFAULT=GPS
OPTIONS_SUB= yes

Expand Down
2 changes: 2 additions & 0 deletions astro/opencpn/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ LDFLAGS+= -Wl,--as-needed # ICE, SM, Xext

BROKEN_aarch64= Fails to compile: use of undeclared identifier rand

OPTIONS_DEFINE= DOCS

post-patch:
@${REINPLACE_CMD} -e 's,/usr/local,${PREFIX},' \
${WRKSRC}/src/mygdal/cpl_csv.cpp \
Expand Down
2 changes: 1 addition & 1 deletion audio/audiocd-kio/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ USE_QT= core dbus gui network phonon4 printsupport widgets xml \

USE_LDCONFIG= yes

OPTIONS_DEFINE= LAME
OPTIONS_DEFINE= LAME DOCS
LAME_DESC= Install LAME MP3 audio encoder
LAME_RUN_DEPENDS= lame:audio/lame

Expand Down
2 changes: 1 addition & 1 deletion audio/chromaprint/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ CMAKE_ARGS= -DBUILD_TOOLS:BOOL=true \

WRKSRC= ${WRKDIR}/${PORTNAME}-v${PORTVERSION}

OPTIONS_DEFINE= DOXYGEN TEST
OPTIONS_DEFINE= DOCS DOXYGEN TEST

DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen \
dot:graphics/graphviz
Expand Down
2 changes: 2 additions & 0 deletions audio/juk/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,6 @@ USE_KDE= auth bookmarks codecs completion config configwidgets \
USE_QT= core dbus gui network phonon4 svg widgets xml \
buildtools_build qmake_build

OPTIONS_DEFINE= DOCS

.include <bsd.port.mk>
2 changes: 1 addition & 1 deletion audio/kmix/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ USE_QT= core dbus gui widgets xml \
# we want the KF5 version of kmix
CMAKE_ARGS= -DKMIX_KF5_BUILD:BOOL=TRUE

OPTIONS_DEFINE= PULSEAUDIO
OPTIONS_DEFINE= PULSEAUDIO DOCS
# TODO: readd ALSA option
#
# ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib
Expand Down
2 changes: 2 additions & 0 deletions audio/kwave/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib
PULSEAUDIO_CMAKE_BOOL= WITH_PULSEAUDIO
PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio

OPTIONS_DEFINE= DOCS

.include <bsd.port.pre.mk>

. if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1100000 && ${OSVERSION} < 1101505
Expand Down
2 changes: 2 additions & 0 deletions audio/libkcddb/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,6 @@ USE_QT= core gui network widgets xml \
buildtools_build qmake_build
USE_LDCONFIG= yes

OPTIONS_DEFINE= DOCS

.include <bsd.port.mk>
2 changes: 1 addition & 1 deletion audio/libkcompactdisc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ USE_QT= core dbus phonon4\
buildtools_build qmake_build
USE_LDCONFIG= yes

OPTIONS_DEFINE= ALSA
OPTIONS_DEFINE= ALSA DOCS

ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib
ALSA_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_ALSA
Expand Down
3 changes: 2 additions & 1 deletion audio/libnjb/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,9 @@ LDFLAGS+= -L${LOCALBASE}/lib

PORTDOCS= *

OPTIONS_DEFINE= DOXYGEN
OPTIONS_DEFINE= DOXYGEN DOCS

DOXYGEN_IMPLIES= DOCS
DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen
DOXYGEN_CONFIGURE_ENV_OFF= ac_cv_prog_HAVE_DOXYGEN=no

Expand Down
2 changes: 2 additions & 0 deletions audio/linux-c6-alsa-lib/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ USES= linux:c6
USE_LDCONFIG= yes
USE_LINUX_RPM= yes

OPTIONS_DEFINE= DOCS

post-patch:
@${RM} -r ${WRKSRC}/etc/* ${WRKSRC}/usr/lib/alsa-lib/smixer/*.la \
${WRKSRC}/usr/lib64/alsa-lib/smixer/*.la
Expand Down
2 changes: 2 additions & 0 deletions audio/linux-c6-alsa-plugins-oss/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,6 @@ USE_LDCONFIG= yes
USE_LINUX= alsalib
USE_LINUX_RPM= yes

OPTIONS_DEFINE= DOCS

.include <bsd.port.mk>
2 changes: 2 additions & 0 deletions audio/linux-c6-alsa-plugins-pulseaudio/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,6 @@ USE_LDCONFIG= yes
USE_LINUX= alsalib pulseaudio-libs
USE_LINUX_RPM= yes

OPTIONS_DEFINE= DOCS

.include <bsd.port.mk>
2 changes: 2 additions & 0 deletions audio/linux-c6-flac/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,6 @@ USE_LDCONFIG= yes
USE_LINUX= libogg
USE_LINUX_RPM= yes

OPTIONS_DEFINE= DOCS

.include <bsd.port.mk>
2 changes: 2 additions & 0 deletions audio/linux-c6-libaudiofile/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,6 @@ USES= linux:c6
USE_LDCONFIG= yes
USE_LINUX_RPM= yes

OPTIONS_DEFINE= DOCS

.include <bsd.port.mk>
2 changes: 2 additions & 0 deletions audio/linux-c6-libogg/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,6 @@ USES= linux:c6
USE_LDCONFIG= yes
USE_LINUX_RPM= yes

OPTIONS_DEFINE= DOCS

.include <bsd.port.mk>
2 changes: 2 additions & 0 deletions audio/linux-c6-libsndfile/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,6 @@ USE_LDCONFIG= yes
USE_LINUX= flac libogg libvorbis
USE_LINUX_RPM= yes

OPTIONS_DEFINE= DOCS

.include <bsd.port.mk>
2 changes: 2 additions & 0 deletions audio/linux-c6-libvorbis/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,6 @@ USE_LDCONFIG= yes
USE_LINUX= libogg
USE_LINUX_RPM= yes

OPTIONS_DEFINE= DOCS

.include <bsd.port.mk>
2 changes: 2 additions & 0 deletions audio/linux-c6-mikmod/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,6 @@ USES= linux:c6
USE_LDCONFIG= yes
USE_LINUX_RPM= yes

OPTIONS_DEFINE= DOCS

.include <bsd.port.mk>
2 changes: 2 additions & 0 deletions audio/linux-c6-nas-libs/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ USE_LDCONFIG= yes
USE_LINUX= xorglibs
USE_LINUX_RPM= yes

OPTIONS_DEFINE= DOCS

post-patch:
@${RM} -r ${WRKSRC}/etc ${WRKSRC}/usr/bin ${WRKSRC}/usr/share/man

Expand Down
2 changes: 2 additions & 0 deletions audio/linux-c6-openal-soft/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,6 @@ USE_LDCONFIG= yes
USE_LINUX= alsalib
USE_LINUX_RPM= yes

OPTIONS_DEFINE= DOCS

.include <bsd.port.mk>
2 changes: 2 additions & 0 deletions audio/linux-c6-sdl_mixer/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,6 @@ USE_LDCONFIG= yes
USE_LINUX= sdl12
USE_LINUX_RPM= yes

OPTIONS_DEFINE= DOCS

.include <bsd.port.mk>
2 changes: 2 additions & 0 deletions audio/linux-c7-alsa-lib/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ USES= linux:c7
USE_LDCONFIG= yes
USE_LINUX_RPM= yes

OPTIONS_DEFINE= DOCS

post-patch:
@${RM} -r ${WRKSRC}/etc/* ${WRKSRC}/lib/modprobe.d \
${WRKSRC}/usr/share/doc/alsa-lib
Expand Down
2 changes: 2 additions & 0 deletions audio/linux-c7-alsa-plugins-oss/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,6 @@ USE_LDCONFIG= yes
USE_LINUX= alsalib
USE_LINUX_RPM= yes

OPTIONS_DEFINE= DOCS

.include <bsd.port.mk>
2 changes: 2 additions & 0 deletions audio/linux-c7-alsa-plugins-pulseaudio/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,6 @@ USE_LDCONFIG= yes
USE_LINUX= alsalib pulseaudio-libs
USE_LINUX_RPM= yes

OPTIONS_DEFINE= DOCS

.include <bsd.port.mk>
2 changes: 2 additions & 0 deletions audio/linux-c7-audiofile/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,6 @@ USES= linux:c7
USE_LDCONFIG= yes
USE_LINUX_RPM= yes

OPTIONS_DEFINE= DOCS

.include <bsd.port.mk>
2 changes: 2 additions & 0 deletions audio/linux-c7-flac/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,6 @@ USE_LDCONFIG= yes
USE_LINUX= libogg
USE_LINUX_RPM= yes

OPTIONS_DEFINE= DOCS

.include <bsd.port.mk>
2 changes: 2 additions & 0 deletions audio/linux-c7-libogg/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,6 @@ USES= linux:c7
USE_LDCONFIG= yes
USE_LINUX_RPM= yes

OPTIONS_DEFINE= DOCS

.include <bsd.port.mk>
2 changes: 2 additions & 0 deletions audio/linux-c7-libsndfile/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,6 @@ USE_LDCONFIG= yes
USE_LINUX= flac libogg libvorbis
USE_LINUX_RPM= yes

OPTIONS_DEFINE= DOCS

.include <bsd.port.mk>
2 changes: 2 additions & 0 deletions audio/linux-c7-libvorbis/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,6 @@ USE_LDCONFIG= yes
USE_LINUX= libogg
USE_LINUX_RPM= yes

OPTIONS_DEFINE= DOCS

.include <bsd.port.mk>
2 changes: 2 additions & 0 deletions audio/linux-c7-openal-soft/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,6 @@ USE_LDCONFIG= yes
USE_LINUX= alsalib
USE_LINUX_RPM= yes

OPTIONS_DEFINE= DOCS

.include <bsd.port.mk>
2 changes: 2 additions & 0 deletions audio/linux-c7-sdl_mixer/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,6 @@ USE_LDCONFIG= yes
USE_LINUX= sdl12
USE_LINUX_RPM= yes

OPTIONS_DEFINE= DOCS

.include <bsd.port.mk>
3 changes: 2 additions & 1 deletion audio/lv2/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,14 @@ CONFLICTS_INSTALL= lv2core
USES= python shebangfix tar:bzip2 waf
SHEBANG_FILES= lv2specgen/lv2specgen.py

OPTIONS_DEFINE= DOXYGEN EXAMPLES
OPTIONS_DEFINE= DOCS DOXYGEN EXAMPLES
OPTIONS_SUB= yes

DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen \
${PYTHON_PKGNAMEPREFIX}rdflib>0:textproc/py-rdflib@${PY_FLAVOR}
DOXYGEN_CONFIGURE_ON= --docs
DOXYGEN_PORTDOCS= *
DOXYGEN_IMPLIES= DOCS

EXAMPLES_CONFIGURE_OFF= --no-plugins
EXAMPLES_LIB_DEPENDS= libsndfile.so:audio/libsndfile
Expand Down
2 changes: 2 additions & 0 deletions audio/py-soundcloud/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ USE_PYTHON= autoplist distutils
PORTDOCS= README.rst
DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME}

OPTIONS_DEFINE= DOCS

post-install:
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README.rst ${STAGEDIR}${DOCSDIR}
Expand Down
2 changes: 1 addition & 1 deletion audio/rhythmbox/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ INSTALL_TARGET= install-strip
GLIB_SCHEMAS= org.gnome.rhythmbox.gschema.xml

OPTIONS_SUB= yes
OPTIONS_DEFINE= BRASERO DAAP GRILO IPOD LIRC MTP NLS NOTIFY PYTHON
OPTIONS_DEFINE= BRASERO DAAP DOCS GRILO IPOD LIRC MTP NLS NOTIFY PYTHON
OPTIONS_DEFAULT=BRASERO NOTIFY PYTHON
BRASERO_DESC= Brasero disc burning support
BRASERO_CONFIGURE_WITH= brasero
Expand Down
2 changes: 2 additions & 0 deletions audio/speex/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,6 @@ GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
USE_LDCONFIG= yes

OPTIONS_DEFINE= DOCS

.include <bsd.port.mk>
2 changes: 2 additions & 0 deletions audio/speexdsp/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ INSTALL_TARGET= install-strip
USES= libtool pathfix
USE_LDCONFIG= yes

OPTIONS_DEFINE= DOCS

.include <bsd.port.options.mk>

.if ${ARCH} == "aarch64"
Expand Down
2 changes: 2 additions & 0 deletions audio/yoshimi/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,6 @@ USE_XORG= x11 ice sm xext
CMAKE_SOURCE_PATH= ${WRKSRC}/src
INSTALLS_ICONS= yes

OPTIONS_DEFINE= DOCS

.include <bsd.port.mk>
2 changes: 2 additions & 0 deletions benchmarks/iperf3/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ PORTDOCS= README.md RELEASE_NOTES
# Set ${DOCSDIR} to avoid conflict with benchmarks/iperf ${DOCSDIR}
DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}${PKGNAMESUFFIX}

OPTIONS_DEFINE= DOCS

post-patch:
# Don't build stuff that we're not going to install. Among other
# things this means we're not going to try to build profiled objects
Expand Down
2 changes: 2 additions & 0 deletions benchmarks/pathchirp/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ MAKE_JOBS_UNSAFE= yes
PLIST_FILES= bin/pathchirp_rcv bin/pathchirp_snd bin/pathchirp_run
PORTDOCS= README

OPTIONS_DEFINE= DOCS

post-patch:
@${REINPLACE_CMD} -e '/CFLAGS.*O4/d' ${WRKSRC}/configure

Expand Down
Loading

0 comments on commit 6baece3

Please sign in to comment.