summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
Diffstat (limited to 'graphics')
-rw-r--r--graphics/bugle/Makefile2
-rw-r--r--graphics/embree/Makefile2
-rw-r--r--graphics/eom/Makefile2
-rw-r--r--graphics/gwenview/Makefile2
-rw-r--r--graphics/icc-profiles-adobe-cs4/Makefile2
-rw-r--r--graphics/kamera/Makefile2
-rw-r--r--graphics/kcolorchooser/Makefile2
-rw-r--r--graphics/kdegraphics-mobipocket/Makefile2
-rw-r--r--graphics/kdegraphics-svgpart/Makefile2
-rw-r--r--graphics/kdegraphics-thumbnailers/Makefile2
-rw-r--r--graphics/kimagemapeditor/Makefile2
-rw-r--r--graphics/kolourpaint/Makefile2
-rw-r--r--graphics/libboard/Makefile3
-rw-r--r--graphics/libgxps/Makefile2
-rw-r--r--graphics/libkdcraw/Makefile2
-rw-r--r--graphics/libkexiv2/Makefile2
-rw-r--r--graphics/libkipi/Makefile2
-rw-r--r--graphics/libksane/Makefile2
-rw-r--r--graphics/linux-c6-cairo/Makefile2
-rw-r--r--graphics/linux-c6-jpeg/Makefile2
-rw-r--r--graphics/linux-c6-png/Makefile2
-rw-r--r--graphics/linux-c6-sdl_image/Makefile2
-rw-r--r--graphics/linux-c6-sdl_ttf/Makefile2
-rw-r--r--graphics/linux-c6-tiff/Makefile2
-rw-r--r--graphics/linux-c7-cairo/Makefile2
-rw-r--r--graphics/linux-c7-dri/Makefile2
-rw-r--r--graphics/linux-c7-graphite2/Makefile2
-rw-r--r--graphics/linux-c7-jasper/Makefile2
-rw-r--r--graphics/linux-c7-jbigkit/Makefile2
-rw-r--r--graphics/linux-c7-jpeg/Makefile2
-rw-r--r--graphics/linux-c7-png/Makefile2
-rw-r--r--graphics/linux-c7-sdl_image/Makefile2
-rw-r--r--graphics/linux-c7-sdl_ttf/Makefile2
-rw-r--r--graphics/linux-c7-tiff/Makefile2
-rw-r--r--graphics/mandelbulber/Makefile2
-rw-r--r--graphics/mapnik/Makefile2
-rw-r--r--graphics/okular/Makefile2
-rw-r--r--graphics/openjump/Makefile2
-rw-r--r--graphics/optipng/Makefile2
-rw-r--r--graphics/oyranos/Makefile3
-rw-r--r--graphics/pencil/Makefile2
-rw-r--r--graphics/piglit/Makefile2
-rw-r--r--graphics/pqiv/Makefile2
-rw-r--r--graphics/rawtherapee/Makefile2
-rw-r--r--graphics/sdump/Makefile2
-rw-r--r--graphics/seq2gif/Makefile2
-rw-r--r--graphics/spectacle/Makefile2
-rw-r--r--graphics/vapoursynth-fmtconv/Makefile2
-rw-r--r--graphics/vapoursynth-waifu2x-w2xc/Makefile2
49 files changed, 92 insertions, 8 deletions
diff --git a/graphics/bugle/Makefile b/graphics/bugle/Makefile
index 5ee6f714d771..5aa35321c5bf 100644
--- a/graphics/bugle/Makefile
+++ b/graphics/bugle/Makefile
@@ -25,7 +25,7 @@ USE_LDCONFIG= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
-OPTIONS_DEFINE= FFMPEG GTK2 READLINE THREADS
+OPTIONS_DEFINE= FFMPEG GTK2 READLINE THREADS DOCS
OPTIONS_DEFAULT= READLINE THREADS
FFMPEG_CONFIGURE_WITH= lavc
diff --git a/graphics/embree/Makefile b/graphics/embree/Makefile
index 91fcbb357139..b40b7cfcbb82 100644
--- a/graphics/embree/Makefile
+++ b/graphics/embree/Makefile
@@ -26,7 +26,7 @@ CMAKE_ARGS= -DEMBREE_TASKING_SYSTEM:STRING=INTERNAL
DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}2
PLIST_SUB+= VERSION=${DISTVERSION}
-OPTIONS_DEFINE= IMAGEMAGICK ISPC JPEG PNG
+OPTIONS_DEFINE= DOCS IMAGEMAGICK ISPC JPEG PNG
OPTIONS_DEFAULT= ISPC
OPTIONS_SUB= yes
diff --git a/graphics/eom/Makefile b/graphics/eom/Makefile
index 25015f5c0d75..1f58dcdb06c1 100644
--- a/graphics/eom/Makefile
+++ b/graphics/eom/Makefile
@@ -35,7 +35,7 @@ INSTALL_TARGET= install-strip
GLIB_SCHEMAS= org.mate.eom.gschema.xml \
org.mate.eom.enums.xml
-OPTIONS_DEFINE= EXIF EXEMPI
+OPTIONS_DEFINE= EXIF EXEMPI DOCS
OPTIONS_DEFAULT=EXIF EXEMPI
EXEMPI_DESC= XMP support
diff --git a/graphics/gwenview/Makefile b/graphics/gwenview/Makefile
index f3d4e236ebef..72d660b8f35f 100644
--- a/graphics/gwenview/Makefile
+++ b/graphics/gwenview/Makefile
@@ -25,4 +25,6 @@ USE_QT= concurrent core dbus gui network opengl phonon4 printsupport \
buildtools_build qmake_build
USE_XORG= x11
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
diff --git a/graphics/icc-profiles-adobe-cs4/Makefile b/graphics/icc-profiles-adobe-cs4/Makefile
index 2554d291c6f9..ccbf9b5e3bab 100644
--- a/graphics/icc-profiles-adobe-cs4/Makefile
+++ b/graphics/icc-profiles-adobe-cs4/Makefile
@@ -21,6 +21,8 @@ NO_ARCH= yes
SYSCOLORDIR= share/color
PLIST_SUB= SYSCOLORDIR=${SYSCOLORDIR}
+OPTIONS_DEFINE= DOCS
+
do-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
(cd ${WRKDIR}/Adobe\ ICC\ Profiles\ \(end-user\) && ${COPYTREE_SHARE} \*.pdf ${STAGEDIR}${DOCSDIR})
diff --git a/graphics/kamera/Makefile b/graphics/kamera/Makefile
index 80d8c488f765..f2215721bd2c 100644
--- a/graphics/kamera/Makefile
+++ b/graphics/kamera/Makefile
@@ -15,4 +15,6 @@ USE_KDE= auth codecs config configwidgets coreaddons doctools ecm i18n \
USE_QT= core dbus gui widgets xml \
buildtools_build qmake_build
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
diff --git a/graphics/kcolorchooser/Makefile b/graphics/kcolorchooser/Makefile
index f1d40b042a92..91f84b8c0562 100644
--- a/graphics/kcolorchooser/Makefile
+++ b/graphics/kcolorchooser/Makefile
@@ -13,4 +13,6 @@ USE_KDE= auth codecs config configwidgets coreaddons ecm i18n \
USE_QT= core dbus gui widgets xml \
buildtools_build qmake_build
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
diff --git a/graphics/kdegraphics-mobipocket/Makefile b/graphics/kdegraphics-mobipocket/Makefile
index c70b275f9899..e49428944d23 100644
--- a/graphics/kdegraphics-mobipocket/Makefile
+++ b/graphics/kdegraphics-mobipocket/Makefile
@@ -15,4 +15,6 @@ USE_QT= core gui network widgets \
USE_LDCONFIG= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
diff --git a/graphics/kdegraphics-svgpart/Makefile b/graphics/kdegraphics-svgpart/Makefile
index 55fce785bf1f..3d3007865828 100644
--- a/graphics/kdegraphics-svgpart/Makefile
+++ b/graphics/kdegraphics-svgpart/Makefile
@@ -15,4 +15,6 @@ USE_KDE= auth codecs completion config configwidgets coreaddons ecm \
USE_QT= core dbus gui network svg widgets xml \
buildtools_build qmake_build
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
diff --git a/graphics/kdegraphics-thumbnailers/Makefile b/graphics/kdegraphics-thumbnailers/Makefile
index 5623ff37c65d..6d65cb088367 100644
--- a/graphics/kdegraphics-thumbnailers/Makefile
+++ b/graphics/kdegraphics-thumbnailers/Makefile
@@ -13,4 +13,6 @@ USE_KDE= completion config coreaddons ecm jobwidgets libkdcraw \
USE_QT= core gui network widgets \
buildtools_build qmake_build
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
diff --git a/graphics/kimagemapeditor/Makefile b/graphics/kimagemapeditor/Makefile
index d7253818125d..3848ab702025 100644
--- a/graphics/kimagemapeditor/Makefile
+++ b/graphics/kimagemapeditor/Makefile
@@ -17,4 +17,6 @@ USE_KDE= auth bookmarks codecs completion config configwidgets \
USE_QT= core dbus gui network printsupport widgets xml \
buildtools_build qmake_build
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
diff --git a/graphics/kolourpaint/Makefile b/graphics/kolourpaint/Makefile
index 2a0bd91bb96a..06ebc6690c05 100644
--- a/graphics/kolourpaint/Makefile
+++ b/graphics/kolourpaint/Makefile
@@ -17,4 +17,6 @@ USE_QT= dbus core gui network printsupport widgets xml \
buildtools_build qmake_build
USE_LDCONFIG= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
diff --git a/graphics/libboard/Makefile b/graphics/libboard/Makefile
index fd47a2533f66..e4d5ddbec185 100644
--- a/graphics/libboard/Makefile
+++ b/graphics/libboard/Makefile
@@ -26,7 +26,8 @@ GH_TAGNAME= 5b38274
PORTDOCS= *
-OPTIONS_DEFINE= DOXYGEN EXAMPLES
+OPTIONS_DEFINE= DOXYGEN EXAMPLES DOCS
+DOXYGEN_IMPLIES= DOCS
DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen
.include <bsd.port.pre.mk>
diff --git a/graphics/libgxps/Makefile b/graphics/libgxps/Makefile
index 10de81947d9c..bf5d94e3f772 100644
--- a/graphics/libgxps/Makefile
+++ b/graphics/libgxps/Makefile
@@ -21,4 +21,6 @@ USE_GNOME= cairo glib20 gnomeprefix introspection:build
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
diff --git a/graphics/libkdcraw/Makefile b/graphics/libkdcraw/Makefile
index 399e23695eb5..15de95892a09 100644
--- a/graphics/libkdcraw/Makefile
+++ b/graphics/libkdcraw/Makefile
@@ -21,4 +21,6 @@ USE_QT= core gui \
buildtools_build qmake_build
USE_LDCONFIG= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
diff --git a/graphics/libkexiv2/Makefile b/graphics/libkexiv2/Makefile
index 15f2f7934230..8bff742ab4eb 100644
--- a/graphics/libkexiv2/Makefile
+++ b/graphics/libkexiv2/Makefile
@@ -15,4 +15,6 @@ USE_QT= core gui \
buildtools_build qmake_build
USE_LDCONFIG= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
diff --git a/graphics/libkipi/Makefile b/graphics/libkipi/Makefile
index 083e69570f9a..7f59648587ff 100644
--- a/graphics/libkipi/Makefile
+++ b/graphics/libkipi/Makefile
@@ -14,4 +14,6 @@ USE_QT= core dbus gui widgets xml \
buildtools_build qmake_build
USE_LDCONFIG= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
diff --git a/graphics/libksane/Makefile b/graphics/libksane/Makefile
index 8badd1858e76..e3d4e496b52b 100644
--- a/graphics/libksane/Makefile
+++ b/graphics/libksane/Makefile
@@ -15,4 +15,6 @@ USE_QT= core gui testlib widgets \
buildtools_build qmake_build
USE_LDCONFIG= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
diff --git a/graphics/linux-c6-cairo/Makefile b/graphics/linux-c6-cairo/Makefile
index bc9740955918..079461ff583e 100644
--- a/graphics/linux-c6-cairo/Makefile
+++ b/graphics/linux-c6-cairo/Makefile
@@ -16,4 +16,6 @@ USE_LDCONFIG= yes
USE_LINUX= fontconfig pixman png xorglibs
USE_LINUX_RPM= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
diff --git a/graphics/linux-c6-jpeg/Makefile b/graphics/linux-c6-jpeg/Makefile
index 220007b93847..f5341edf84fe 100644
--- a/graphics/linux-c6-jpeg/Makefile
+++ b/graphics/linux-c6-jpeg/Makefile
@@ -18,4 +18,6 @@ USES= linux:c6
USE_LDCONFIG= yes
USE_LINUX_RPM= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
diff --git a/graphics/linux-c6-png/Makefile b/graphics/linux-c6-png/Makefile
index ba0793f2c465..6c5813271a7b 100644
--- a/graphics/linux-c6-png/Makefile
+++ b/graphics/linux-c6-png/Makefile
@@ -15,4 +15,6 @@ USES= linux:c6
USE_LDCONFIG= yes
USE_LINUX_RPM= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
diff --git a/graphics/linux-c6-sdl_image/Makefile b/graphics/linux-c6-sdl_image/Makefile
index 96e589df5cdf..23754012835d 100644
--- a/graphics/linux-c6-sdl_image/Makefile
+++ b/graphics/linux-c6-sdl_image/Makefile
@@ -20,4 +20,6 @@ USE_LDCONFIG= yes
USE_LINUX= jpeg png sdl12 tiff
USE_LINUX_RPM= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
diff --git a/graphics/linux-c6-sdl_ttf/Makefile b/graphics/linux-c6-sdl_ttf/Makefile
index ed8d5ce5021f..4a37af16398f 100644
--- a/graphics/linux-c6-sdl_ttf/Makefile
+++ b/graphics/linux-c6-sdl_ttf/Makefile
@@ -20,4 +20,6 @@ USE_LDCONFIG= yes
USE_LINUX= jpeg png sdl12 tiff
USE_LINUX_RPM= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
diff --git a/graphics/linux-c6-tiff/Makefile b/graphics/linux-c6-tiff/Makefile
index f1ef571fb388..dece7e06968d 100644
--- a/graphics/linux-c6-tiff/Makefile
+++ b/graphics/linux-c6-tiff/Makefile
@@ -18,4 +18,6 @@ USE_LDCONFIG= yes
USE_LINUX= jpeg
USE_LINUX_RPM= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
diff --git a/graphics/linux-c7-cairo/Makefile b/graphics/linux-c7-cairo/Makefile
index 6f9c2cbdf68f..39e8e521b24c 100644
--- a/graphics/linux-c7-cairo/Makefile
+++ b/graphics/linux-c7-cairo/Makefile
@@ -17,4 +17,6 @@ USE_LDCONFIG= yes
USE_LINUX= dri fontconfig pixman png xorglibs
USE_LINUX_RPM= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
diff --git a/graphics/linux-c7-dri/Makefile b/graphics/linux-c7-dri/Makefile
index c5c66eeb56f5..475e44a25309 100644
--- a/graphics/linux-c7-dri/Makefile
+++ b/graphics/linux-c7-dri/Makefile
@@ -30,6 +30,8 @@ USE_LDCONFIG= yes
USE_LINUX= expat libelf libpciaccess xorglibs
USE_LINUX_RPM= yes
+OPTIONS_DEFINE= DOCS
+
post-install:
@${RM} ${STAGEDIR}${PREFIX}/usr/lib/libEGL.so.1
@${RM} ${STAGEDIR}${PREFIX}/usr/lib/libGL.so.1
diff --git a/graphics/linux-c7-graphite2/Makefile b/graphics/linux-c7-graphite2/Makefile
index 7c9f69874a1b..d08dec0502ba 100644
--- a/graphics/linux-c7-graphite2/Makefile
+++ b/graphics/linux-c7-graphite2/Makefile
@@ -14,4 +14,6 @@ USES= linux:c7
USE_LDCONFIG= yes
USE_LINUX_RPM= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
diff --git a/graphics/linux-c7-jasper/Makefile b/graphics/linux-c7-jasper/Makefile
index d71196410437..8fffd464a4a9 100644
--- a/graphics/linux-c7-jasper/Makefile
+++ b/graphics/linux-c7-jasper/Makefile
@@ -20,4 +20,6 @@ USE_LDCONFIG= yes
USE_LINUX= jpeg
USE_LINUX_RPM= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
diff --git a/graphics/linux-c7-jbigkit/Makefile b/graphics/linux-c7-jbigkit/Makefile
index 971f3eb11a87..f29fd7b6b6bc 100644
--- a/graphics/linux-c7-jbigkit/Makefile
+++ b/graphics/linux-c7-jbigkit/Makefile
@@ -19,4 +19,6 @@ USES= linux:c7
USE_LDCONFIG= yes
USE_LINUX_RPM= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
diff --git a/graphics/linux-c7-jpeg/Makefile b/graphics/linux-c7-jpeg/Makefile
index 975749c1eef1..d6f651d875e3 100644
--- a/graphics/linux-c7-jpeg/Makefile
+++ b/graphics/linux-c7-jpeg/Makefile
@@ -20,4 +20,6 @@ USES= linux:c7
USE_LDCONFIG= yes
USE_LINUX_RPM= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
diff --git a/graphics/linux-c7-png/Makefile b/graphics/linux-c7-png/Makefile
index 93a4ef1beed7..9d954d63c264 100644
--- a/graphics/linux-c7-png/Makefile
+++ b/graphics/linux-c7-png/Makefile
@@ -22,4 +22,6 @@ USES= linux:c7
USE_LDCONFIG= yes
USE_LINUX_RPM= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
diff --git a/graphics/linux-c7-sdl_image/Makefile b/graphics/linux-c7-sdl_image/Makefile
index d5b44688db8d..69353155e0f2 100644
--- a/graphics/linux-c7-sdl_image/Makefile
+++ b/graphics/linux-c7-sdl_image/Makefile
@@ -23,4 +23,6 @@ USE_LDCONFIG= yes
USE_LINUX= jpeg png sdl12 tiff
USE_LINUX_RPM= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
diff --git a/graphics/linux-c7-sdl_ttf/Makefile b/graphics/linux-c7-sdl_ttf/Makefile
index 19c73917c064..63a2c932f75f 100644
--- a/graphics/linux-c7-sdl_ttf/Makefile
+++ b/graphics/linux-c7-sdl_ttf/Makefile
@@ -23,4 +23,6 @@ USE_LDCONFIG= yes
USE_LINUX= jpeg png sdl12 tiff
USE_LINUX_RPM= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
diff --git a/graphics/linux-c7-tiff/Makefile b/graphics/linux-c7-tiff/Makefile
index e0a5cbd327be..507a81e4466e 100644
--- a/graphics/linux-c7-tiff/Makefile
+++ b/graphics/linux-c7-tiff/Makefile
@@ -18,4 +18,6 @@ USE_LDCONFIG= yes
USE_LINUX= jbigkit jpeg
USE_LINUX_RPM= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
diff --git a/graphics/mandelbulber/Makefile b/graphics/mandelbulber/Makefile
index ce821204ccd2..3be24b64c657 100644
--- a/graphics/mandelbulber/Makefile
+++ b/graphics/mandelbulber/Makefile
@@ -25,6 +25,8 @@ PLIST_FILES= bin/${PORTNAME} share/applications/${PORTNAME}.desktop
PORTDOCS= README NEWS
PORTDATA= *
+OPTIONS_DEFINE= DOCS
+
post-patch:
@${REINPLACE_CMD} -e 's|/usr/share/mandelbulber|${DATADIR}|' \
${WRKSRC}/${PORTNAME}.desktop
diff --git a/graphics/mapnik/Makefile b/graphics/mapnik/Makefile
index 8c4de0f6ef30..b51e278793f2 100644
--- a/graphics/mapnik/Makefile
+++ b/graphics/mapnik/Makefile
@@ -37,7 +37,7 @@ PORTDOCS= *
INPUT_PLUGINS= csv raster shape geojson topojson
-OPTIONS_DEFINE= CAIRO JPEG PNG TIFF WEBP PROJ
+OPTIONS_DEFINE= DOCS CAIRO JPEG PNG TIFF WEBP PROJ
OPTIONS_DEFAULT=CAIRO GDAL OGR POSTGIS PGRASTER SQLITE3 JPEG PNG TIFF PROJ WEBP
OPTIONS_GROUP= INPUT
OPTIONS_GROUP_INPUT= GDAL OGR POSTGIS PGRASTER SQLITE3
diff --git a/graphics/okular/Makefile b/graphics/okular/Makefile
index fe4b2547526f..f2e409694d30 100644
--- a/graphics/okular/Makefile
+++ b/graphics/okular/Makefile
@@ -34,4 +34,6 @@ USE_QT= core dbus gui network phonon4 printsupport qml quick speech \
svg widgets xml \
buildtools_build qmake_build
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
diff --git a/graphics/openjump/Makefile b/graphics/openjump/Makefile
index c64cef77b560..1dc6faaa48f2 100644
--- a/graphics/openjump/Makefile
+++ b/graphics/openjump/Makefile
@@ -48,6 +48,8 @@ TARGET_DIR= ${STAGEDIR}${PREFIX}/${PORTNAME}
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}-r${PLUS_REV}-PLUS
PLUS_REV= 5792
+OPTIONS_DEFINE= DOCS
+
do-install:
@${ECHO_CMD} "---> Installing JAR files"
${MKDIR} ${TARGET_DIR}/lib
diff --git a/graphics/optipng/Makefile b/graphics/optipng/Makefile
index ff8ff96e88ca..fe8c8ada0e93 100644
--- a/graphics/optipng/Makefile
+++ b/graphics/optipng/Makefile
@@ -12,7 +12,7 @@ COMMENT= Optimizer for PNG files
LICENSE= ZLIB
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
-OPTIONS_DEFINE= BUNDLED_LIBPNG BUNDLED_ZLIB
+OPTIONS_DEFINE= BUNDLED_LIBPNG BUNDLED_ZLIB DOCS
BUNDLED_LIBPNG_DESC= Use bundled libpng
BUNDLED_LIBPNG_CONFIGURE_OFF= --with-system-libpng
diff --git a/graphics/oyranos/Makefile b/graphics/oyranos/Makefile
index 88d7154c90d2..1a46e6d08e0e 100644
--- a/graphics/oyranos/Makefile
+++ b/graphics/oyranos/Makefile
@@ -40,7 +40,8 @@ CMAKE_ARGS+= -DXDG_CONFIG_DIR=${PREFIX}/etc/xdg
LDFLAGS+= -L${LOCALBASE}/lib ${ICONV_LIB}
MAKE_JOBS_UNSAFE=yes
-OPTIONS_DEFINE= DOXYGEN
+OPTIONS_DEFINE= DOXYGEN DOCS
+DOXYGEN_IMPLIES= DOCS
DOXYGEN_BUILD_DEPENDS= ${LOCALBASE}/bin/doxygen:devel/doxygen
PORTDOCS= *
diff --git a/graphics/pencil/Makefile b/graphics/pencil/Makefile
index d9106fdc65fb..decd14933b27 100644
--- a/graphics/pencil/Makefile
+++ b/graphics/pencil/Makefile
@@ -29,6 +29,8 @@ PLIST_FILES= bin/pencil
PORTDOCS= README TODO
+OPTIONS_DEFINE= DOCS
+
post-patch:
@${MKDIR} ${WRKSRC}/src/external/freebsd
@${CP} ${FILESDIR}/src-external-freebsd-freebsd.cpp \
diff --git a/graphics/piglit/Makefile b/graphics/piglit/Makefile
index d6c07ea8e92d..2a1c8cbd86dc 100644
--- a/graphics/piglit/Makefile
+++ b/graphics/piglit/Makefile
@@ -45,4 +45,6 @@ SUB_FILES= pkg-message
DATADIR= ${PREFIX}/lib/piglit
PORTDATA= *
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
diff --git a/graphics/pqiv/Makefile b/graphics/pqiv/Makefile
index 1d9ec2564f92..226aaccb6cea 100644
--- a/graphics/pqiv/Makefile
+++ b/graphics/pqiv/Makefile
@@ -19,6 +19,8 @@ BUILD_DEPENDS= bash:shells/bash
USE_GITHUB= yes
GH_ACCOUNT= phillipberndt
+OPTIONS_DEFINE= DOCS
+
OPTIONS_SINGLE= GTK
OPTIONS_SINGLE_GTK= GTK2 GTK3
diff --git a/graphics/rawtherapee/Makefile b/graphics/rawtherapee/Makefile
index a502bdccf392..017d8e094c3d 100644
--- a/graphics/rawtherapee/Makefile
+++ b/graphics/rawtherapee/Makefile
@@ -60,7 +60,7 @@ CMAKE_ARGS+= -DPROC_TARGET_NUMBER="1"
RTDIR= ${PREFIX}/libdata/${PORTNAME}
-OPTIONS_DEFINE= OPTIMIZED_CFLAGS OPENMP NATIVE
+OPTIONS_DEFINE= DOCS OPTIMIZED_CFLAGS OPENMP NATIVE
OPTIONS_DEFAULT= OPTIMIZED_CFLAGS OPENMP
OPENMP_DESC= Enable multicore processing using OpenMP (amd64)
OPTIMIZED_CFLAGS_DESC= Use extra compiler optimizations (requires SSE2 support)
diff --git a/graphics/sdump/Makefile b/graphics/sdump/Makefile
index 78828335093d..8c0fd797c699 100644
--- a/graphics/sdump/Makefile
+++ b/graphics/sdump/Makefile
@@ -29,6 +29,8 @@ LDFLAGS += -L${LOCALBASE}/lib -ljpeg -lpng -lsixel
PORTDOCS= README.markdown
+OPTIONS_DEFINE= DOCS
+
post-build:
@cd ${WRKSRC}/yaimg-sixel && ${SETENV} ${MAKE_ENV} ${MAKE_CMD}
diff --git a/graphics/seq2gif/Makefile b/graphics/seq2gif/Makefile
index ebfe53472ab9..7e0559006087 100644
--- a/graphics/seq2gif/Makefile
+++ b/graphics/seq2gif/Makefile
@@ -25,6 +25,8 @@ PORTDOCS= README.md
PLIST_FILES= bin/seq2gif
+OPTIONS_DEFINE= DOCS
+
post-install:
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}
diff --git a/graphics/spectacle/Makefile b/graphics/spectacle/Makefile
index 6d13441d2a09..82152fe410ef 100644
--- a/graphics/spectacle/Makefile
+++ b/graphics/spectacle/Makefile
@@ -21,4 +21,6 @@ USE_QT= core concurrent dbus gui network printsupport qml quick \
buildtools_build qmake_build
USE_XORG= x11 xcb xext xfixes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
diff --git a/graphics/vapoursynth-fmtconv/Makefile b/graphics/vapoursynth-fmtconv/Makefile
index fc6b2d29031b..5fe237b59031 100644
--- a/graphics/vapoursynth-fmtconv/Makefile
+++ b/graphics/vapoursynth-fmtconv/Makefile
@@ -33,6 +33,8 @@ DOCSDIR= ${PREFIX}/share/doc/${PKGBASE}
PLIST_FILES= %%DATADIR%%/libfmtconv.so
PORTDOCS= *
+OPTIONS_DEFINE= DOCS
+
post-patch:
@${REINPLACE_CMD} -e 's/x86_64/&|amd64/' \
${WRKSRC}/configure.ac
diff --git a/graphics/vapoursynth-waifu2x-w2xc/Makefile b/graphics/vapoursynth-waifu2x-w2xc/Makefile
index 5e9865adc6a8..c47bbddfb49e 100644
--- a/graphics/vapoursynth-waifu2x-w2xc/Makefile
+++ b/graphics/vapoursynth-waifu2x-w2xc/Makefile
@@ -36,6 +36,8 @@ PLIST_FILES= %%DATADIR%%/libwaifu2x-w2xc.so
PORTDATA= models
PORTDOCS= *.md
+OPTIONS_DEFINE= DOCS
+
post-patch:
@${REINPLACE_CMD} -e 's/\*linux\*/*/' \
-e 's/-O3 //; /=.*-mfpmath/d; /-msse/d' \