aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--accessibility/eflite/Makefile2
-rw-r--r--archivers/deutex/Makefile2
-rw-r--r--archivers/lbrate/Makefile2
-rw-r--r--archivers/lbzip2/Makefile2
-rw-r--r--archivers/linux-f10-ucl/Makefile2
-rw-r--r--archivers/lzma/Makefile2
-rw-r--r--archivers/mtf/Makefile2
-rw-r--r--archivers/par2cmdline-tbb/Makefile2
-rw-r--r--archivers/par2cmdline/Makefile2
-rw-r--r--archivers/torrentzip/Makefile2
-rw-r--r--archivers/upx/Makefile2
-rw-r--r--audio/HVSC-Update/Makefile2
-rw-r--r--audio/cd2mp3/Makefile2
-rw-r--r--audio/cplay/Makefile2
-rw-r--r--audio/dir2ogg/Makefile2
-rw-r--r--audio/dtmfdial/Makefile2
-rw-r--r--audio/easytag/Makefile2
-rw-r--r--audio/gmusicbrowser/Makefile2
-rw-r--r--audio/gtkpod/Makefile2
-rw-r--r--audio/harp/Makefile2
-rw-r--r--audio/id3ren/Makefile2
-rw-r--r--audio/ifp-line/Makefile2
-rw-r--r--audio/libshout/Makefile2
-rw-r--r--audio/linux-f10-esound/Makefile2
-rw-r--r--audio/linux-f10-freealut/Makefile2
-rw-r--r--audio/linux-f10-libogg/Makefile2
-rw-r--r--audio/linux-f10-libvorbis/Makefile2
-rw-r--r--audio/linux-f10-mikmod/Makefile2
-rw-r--r--audio/linux-f10-nas-libs/Makefile2
-rw-r--r--audio/linux-f10-openal-soft/Makefile2
-rw-r--r--audio/linux-f10-openal/Makefile2
-rw-r--r--audio/linux-f10-sdl_mixer/Makefile2
-rw-r--r--audio/linux-mbrola/Makefile2
-rw-r--r--audio/mp3info/Makefile2
-rw-r--r--audio/mp3riot/Makefile2
-rw-r--r--audio/musicpd/Makefile2
-rw-r--r--audio/py-eyed3-06/Makefile2
-rw-r--r--audio/py-eyed3/Makefile2
-rw-r--r--audio/scmpc/Makefile2
-rw-r--r--audio/teamspeak3-server/Makefile2
-rw-r--r--audio/tkeca/Makefile2
-rw-r--r--audio/tta/Makefile2
42 files changed, 77 insertions, 7 deletions
diff --git a/accessibility/eflite/Makefile b/accessibility/eflite/Makefile
index a9d3dbe44a07..9175fc0f4e18 100644
--- a/accessibility/eflite/Makefile
+++ b/accessibility/eflite/Makefile
@@ -34,6 +34,8 @@ CONFIGURE_ENV+= flite_dir=${LOCALBASE}
PLIST_FILES= bin/eflite
PORTDOCS= AUTHORS CREDITS ChangeLog INSTALL README
+OPTIONS_DEFINE= DOCS
+
pre-fetch:
.ifdef!(FL_LANG || FL_LEX || FL_VOX)
@${ECHO_MSG} "===> You can set FL_LANG, FL_LEX and/or FL_VOX"
diff --git a/archivers/deutex/Makefile b/archivers/deutex/Makefile
index 5d8cca6afd6d..0caa9ff5cbb1 100644
--- a/archivers/deutex/Makefile
+++ b/archivers/deutex/Makefile
@@ -19,6 +19,8 @@ PLIST_FILES= bin/deusf bin/deutex \
man/man6/${PORTNAME}.6.gz
PORTDOCS= *
+OPTIONS_DEFINE= DOCS
+
post-extract:
@${REINPLACE_CMD} -e 's,-mkdir,mkdir -p,' ${WRKSRC}/Makefile
@${REINPLACE_CMD} -e 's,malloc\.h,stdlib.h,' ${WRKSRC}/src/tools.c
diff --git a/archivers/lbrate/Makefile b/archivers/lbrate/Makefile
index 099362f8a608..c99e0baceb64 100644
--- a/archivers/lbrate/Makefile
+++ b/archivers/lbrate/Makefile
@@ -19,6 +19,8 @@ PORTDOCS= ChangeLog README TODO
PLIST_FILES= bin/lbrate \
man/man1/lbrate.1.gz
+OPTIONS_DEFINE= DOCS
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/lbrate ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/lbrate.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
diff --git a/archivers/lbzip2/Makefile b/archivers/lbzip2/Makefile
index b125ab789c61..c3afd33c4385 100644
--- a/archivers/lbzip2/Makefile
+++ b/archivers/lbzip2/Makefile
@@ -15,6 +15,8 @@ PLIST_FILES= bin/lbzip2 \
PORTDOCS= ChangeLog README
+OPTIONS_DEFINE= DOCS
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/lbzip2 ${STAGEDIR}${PREFIX}/bin/lbzip2
${INSTALL_MAN} ${WRKSRC}/lbzip2.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
diff --git a/archivers/linux-f10-ucl/Makefile b/archivers/linux-f10-ucl/Makefile
index f229af6e485e..8afeed7307ea 100644
--- a/archivers/linux-f10-ucl/Makefile
+++ b/archivers/linux-f10-ucl/Makefile
@@ -23,4 +23,6 @@ DOCSDIR= ${PREFIX}/usr/share/doc/${PORTNAME}-${PORTVERSION}
PORTDOCS= COPYING NEWS README THANKS TODO
DESCR= ${.CURDIR}/../${PORTNAME}/pkg-descr
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
diff --git a/archivers/lzma/Makefile b/archivers/lzma/Makefile
index 7dbc3c1a1db8..02f6c2e1f24f 100644
--- a/archivers/lzma/Makefile
+++ b/archivers/lzma/Makefile
@@ -28,6 +28,8 @@ CFLAGS+= -D_LZMA_SIZE_OPT
.endif
PORTDOCS= 7zC.txt 7zFormat.txt Methods.txt history.txt lzma.txt
+OPTIONS_DEFINE= DOCS
+
post-patch:
@${REINPLACE_CMD} -e '/bool Open(LPCTSTR fileName, DWORD creationDisposition)/,/}/d'\
${WRKSRC}/CPP/7zip/Common/FileStreams.h
diff --git a/archivers/mtf/Makefile b/archivers/mtf/Makefile
index af09e3d6d0c8..7727c68e5c49 100644
--- a/archivers/mtf/Makefile
+++ b/archivers/mtf/Makefile
@@ -19,6 +19,8 @@ PLIST_FILES= bin/mtf
PORTDOCS= README
MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}"
+OPTIONS_DEFINE= DOCS
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/mtf ${STAGEDIR}${PREFIX}/bin
@${MKDIR} ${STAGEDIR}${DOCSDIR}
diff --git a/archivers/par2cmdline-tbb/Makefile b/archivers/par2cmdline-tbb/Makefile
index 2cce2e611a4b..cf97e7924325 100644
--- a/archivers/par2cmdline-tbb/Makefile
+++ b/archivers/par2cmdline-tbb/Makefile
@@ -27,6 +27,8 @@ CONFLICTS= par2cmdline-[0-9]*
PLIST_FILES= bin/par2 bin/par2create bin/par2repair bin/par2verify
+OPTIONS_DEFINE= DOCS
+
post-extract:
@${CHMOD} u+x ${WRKSRC}/install-sh
diff --git a/archivers/par2cmdline/Makefile b/archivers/par2cmdline/Makefile
index 805cf301d4bb..088c2d22f906 100644
--- a/archivers/par2cmdline/Makefile
+++ b/archivers/par2cmdline/Makefile
@@ -19,6 +19,8 @@ CONFLICTS= par2cmdline-tbb-[0-9]*
PLIST_FILES= bin/par2 bin/par2create bin/par2repair bin/par2verify
+OPTIONS_DEFINE= DOCS
+
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
diff --git a/archivers/torrentzip/Makefile b/archivers/torrentzip/Makefile
index 40cf8cc68702..5381c5a5b62f 100644
--- a/archivers/torrentzip/Makefile
+++ b/archivers/torrentzip/Makefile
@@ -22,6 +22,8 @@ PORTDOCS= README
run-autotools:: run-autotools-aclocal run-autotools-autoheader \
run-autotools-autoconf run-autotools-automake
+OPTIONS_DEFINE= DOCS
+
pre-install:
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}/README
diff --git a/archivers/upx/Makefile b/archivers/upx/Makefile
index f7bd520d98c4..476f3e7be421 100644
--- a/archivers/upx/Makefile
+++ b/archivers/upx/Makefile
@@ -28,6 +28,8 @@ PORTDOCS= BUGS COPYING LICENSE NEWS PROJECTS README\
PLIST_FILES= bin/upx \
man/man1/upx.1.gz
+OPTIONS_DEFINE= DOCS
+
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/src/upx.out ${STAGEDIR}${PREFIX}/bin/upx
@${INSTALL_MAN} ${WRKSRC}/doc/upx.1 ${STAGEDIR}${MANPREFIX}/man/man1
diff --git a/audio/HVSC-Update/Makefile b/audio/HVSC-Update/Makefile
index 212d709fe481..91c53f97f329 100644
--- a/audio/HVSC-Update/Makefile
+++ b/audio/HVSC-Update/Makefile
@@ -19,6 +19,8 @@ WRKSRC= ${WRKDIR}/${PORTNAME:S/-/_/}_Tool_${PORTVERSION:S/.//g}
PORTDOCS= HVS_file_format.txt HVSC_Update.txt SID_file_format.txt
PLIST_FILES= bin/${PORTNAME}
+OPTIONS_DEFINE= DOCS
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/Update ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
diff --git a/audio/cd2mp3/Makefile b/audio/cd2mp3/Makefile
index 84f58e762564..8029c5bb84f6 100644
--- a/audio/cd2mp3/Makefile
+++ b/audio/cd2mp3/Makefile
@@ -21,6 +21,8 @@ WRKSRC= ${WRKDIR}/cd2mp3
PLIST_FILES= bin/cd2mp3
PORTDOCS= README
+OPTIONS_DEFINE= DOCS
+
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/cd2mp3 ${STAGEDIR}${PREFIX}/bin/
${MKDIR} ${STAGEDIR}${DOCSDIR}
diff --git a/audio/cplay/Makefile b/audio/cplay/Makefile
index ef1c005a8d41..6e664ebd1ba0 100644
--- a/audio/cplay/Makefile
+++ b/audio/cplay/Makefile
@@ -19,6 +19,8 @@ MAKE_ARGS= PREFIX="${STAGEDIR}${PREFIX}"
PORTDOCS= README
+OPTIONS_DEFINE= DOCS
+
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR}
diff --git a/audio/dir2ogg/Makefile b/audio/dir2ogg/Makefile
index 9b3b476ce447..449b8217893f 100644
--- a/audio/dir2ogg/Makefile
+++ b/audio/dir2ogg/Makefile
@@ -23,6 +23,8 @@ PORTDOCS= NEWS README
PLIST_FILES= bin/${PORTNAME} \
man/man1/${PORTNAME}.1.gz
+OPTIONS_DEFINE= DOCS
+
post-patch:
@${REINPLACE_CMD} -e \
'/^#!/s|/.*python|${SETENV} python|g' ${WRKSRC}/${PORTNAME}
diff --git a/audio/dtmfdial/Makefile b/audio/dtmfdial/Makefile
index 8ac71f43544d..d795e22ffed3 100644
--- a/audio/dtmfdial/Makefile
+++ b/audio/dtmfdial/Makefile
@@ -17,6 +17,8 @@ PORTDOCS= README TODO
PLIST_FILES= bin/dtmfdial
+OPTIONS_DEFINE= DOCS
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/dial ${STAGEDIR}${PREFIX}/bin/dtmfdial
@${MKDIR} ${STAGEDIR}${DOCSDIR}
diff --git a/audio/easytag/Makefile b/audio/easytag/Makefile
index fa2878182703..ba88962f2f87 100644
--- a/audio/easytag/Makefile
+++ b/audio/easytag/Makefile
@@ -34,7 +34,7 @@ CONFIGURE_ARGS= --disable-appdata-validate \
PORTDOCS= HACKING THANKS TODO
-OPTIONS_DEFINE= WAVPACK NLS OPUS SPEEX
+OPTIONS_DEFINE= WAVPACK NLS OPUS SPEEX DOCS
OPTIONS_SINGLE= GTK
OPTIONS_SINGLE_GTK= GTK2 GTK3
OPTIONS_DEFAULT= GTK2 NLS
diff --git a/audio/gmusicbrowser/Makefile b/audio/gmusicbrowser/Makefile
index d3309cb5033e..667ee7792590 100644
--- a/audio/gmusicbrowser/Makefile
+++ b/audio/gmusicbrowser/Makefile
@@ -19,7 +19,7 @@ PORTDATA= *
USES= shebangfix
SHEBANG_FILES= *.pl
-OPTIONS_DEFINE= GSTREAMER MPLAYER DBUS WEBKIT NLS LIBNOTIFY
+OPTIONS_DEFINE= GSTREAMER MPLAYER DBUS WEBKIT NLS LIBNOTIFY DOCS
OPTIONS_DEFAULT=MPLAYER
LIBNOTIFY_DESC= Desktop notification
diff --git a/audio/gtkpod/Makefile b/audio/gtkpod/Makefile
index cbef56ab73cf..258dc829287c 100644
--- a/audio/gtkpod/Makefile
+++ b/audio/gtkpod/Makefile
@@ -25,7 +25,7 @@ LDFLAGS+= -L${LOCALBASE}/lib
PORTDOCS= ChangeLog NEWS README TODOandBUGS.txt TROUBLESHOOTING
-OPTIONS_DEFINE= VORBIS FLAC CURL
+OPTIONS_DEFINE= VORBIS FLAC CURL DOCS
OPTIONS_DEFAULT= VORBIS FLAC CURL
CURL_DESC= Cover art download support via libcurl
diff --git a/audio/harp/Makefile b/audio/harp/Makefile
index 3380e52a7477..d990148fc9a8 100644
--- a/audio/harp/Makefile
+++ b/audio/harp/Makefile
@@ -19,7 +19,7 @@ USE_SQLITE= yes
USE_LDCONFIG= yes
-OPTIONS_DEFINE= AAC FLAC MP3 SHOUTCAST VORBIS JACK
+OPTIONS_DEFINE= AAC FLAC MP3 SHOUTCAST VORBIS JACK DOCS
OPTIONS_DEFAULT= AAC FLAC MP3 SHOUTCAST VORBIS
OPTIONS_SUB= yes
diff --git a/audio/id3ren/Makefile b/audio/id3ren/Makefile
index b9b473a6aca6..811b1de5535c 100644
--- a/audio/id3ren/Makefile
+++ b/audio/id3ren/Makefile
@@ -20,7 +20,7 @@ PLIST_FILES= bin/id3ren man/man1/id3ren.1.gz
PORTDOCS= AUTHORS ChangeLog FEATURES FEEDBACK INSTALL PORTS \
README THANKS TODO USAGE
-.include <bsd.port.options.mk>
+OPTIONS_DEFINE= DOCS
pre-patch:
@${REINPLACE_CMD} -e 's,<malloc.h>,<stdlib.h>,' \
diff --git a/audio/ifp-line/Makefile b/audio/ifp-line/Makefile
index 40e3548a8ee0..fcc31ad0af65 100644
--- a/audio/ifp-line/Makefile
+++ b/audio/ifp-line/Makefile
@@ -22,6 +22,8 @@ LDFLAGS+= -L${LOCALBASE}/lib -lusb
PLIST_FILES= bin/ifp man/man1/ifp.1.gz
PORTDOCS= NEWS README TIPS nonroot.sh
+OPTIONS_DEFINE= DOCS
+
post-patch:
@${REINPLACE_CMD} -e \
'/LIBUSB/s|ERROR|WARN|' ${WRKSRC}/configure.ac
diff --git a/audio/libshout/Makefile b/audio/libshout/Makefile
index 6af38ef09d77..7da788e7d4cc 100644
--- a/audio/libshout/Makefile
+++ b/audio/libshout/Makefile
@@ -26,6 +26,8 @@ USES= gmake libtool pathfix pkgconfig
PORTDOCS= *
+OPTIONS_DEFINE= DOCS
+
post-patch:
@${REINPLACE_CMD} -e 's|-ffast-math||g' ${WRKSRC}/configure
@${REINPLACE_CMD} -e 's|^Requires: |Requires.private: |' ${WRKSRC}/shout.pc.in
diff --git a/audio/linux-f10-esound/Makefile b/audio/linux-f10-esound/Makefile
index 57e16cc1d288..8e0f2f7731d4 100644
--- a/audio/linux-f10-esound/Makefile
+++ b/audio/linux-f10-esound/Makefile
@@ -27,4 +27,6 @@ DOCSDIR= ${PREFIX}/usr/share/doc/${LINUX_NAME}-${PORTVERSION}
PORTDOCS= AUTHORS COPYING.LIB ChangeLog NEWS README TIPS TODO esound.sgml
DESCR= ${.CURDIR}/../${PORTNAME}/pkg-descr
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
diff --git a/audio/linux-f10-freealut/Makefile b/audio/linux-f10-freealut/Makefile
index 4940c66d2aaa..2a3ce84dd334 100644
--- a/audio/linux-f10-freealut/Makefile
+++ b/audio/linux-f10-freealut/Makefile
@@ -25,4 +25,6 @@ DOCSDIR= ${PREFIX}/usr/share/doc/${PORTNAME}-${PORTVERSION}
PORTDOCS= AUTHORS COPYING ChangeLog README
DESCR= ${.CURDIR}/../${PORTNAME}/pkg-descr
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
diff --git a/audio/linux-f10-libogg/Makefile b/audio/linux-f10-libogg/Makefile
index 2093d28ce531..b46cb10f019b 100644
--- a/audio/linux-f10-libogg/Makefile
+++ b/audio/linux-f10-libogg/Makefile
@@ -24,4 +24,6 @@ DOCSDIR= ${PREFIX}/usr/share/doc/${PORTNAME}-${PORTVERSION}
PORTDOCS= AUTHORS CHANGES COPYING README
DESCR= ${.CURDIR}/../${PORTNAME}/pkg-descr
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
diff --git a/audio/linux-f10-libvorbis/Makefile b/audio/linux-f10-libvorbis/Makefile
index 4ae5df3cda1e..018022878d24 100644
--- a/audio/linux-f10-libvorbis/Makefile
+++ b/audio/linux-f10-libvorbis/Makefile
@@ -27,4 +27,6 @@ DOCSDIR= ${PREFIX}/usr/share/doc/${PORTNAME}-${PORTVERSION}
PORTDOCS= AUTHORS COPYING README
DESCR= ${.CURDIR}/../${PORTNAME}/pkg-descr
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
diff --git a/audio/linux-f10-mikmod/Makefile b/audio/linux-f10-mikmod/Makefile
index 2403a4748705..cd760aafe808 100644
--- a/audio/linux-f10-mikmod/Makefile
+++ b/audio/linux-f10-mikmod/Makefile
@@ -25,4 +25,6 @@ DOCSDIR= ${PREFIX}/usr/share/doc/${LINUX_NAME}-${PORTVERSION}
PORTDOCS= AUTHORS COPYING.LESSER COPYING.LIB NEWS README TODO
DESCR= ${.CURDIR}/../${PORTNAME}/pkg-descr
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
diff --git a/audio/linux-f10-nas-libs/Makefile b/audio/linux-f10-nas-libs/Makefile
index c0911bb0b9b3..04ce723c74cc 100644
--- a/audio/linux-f10-nas-libs/Makefile
+++ b/audio/linux-f10-nas-libs/Makefile
@@ -25,4 +25,6 @@ DOCSDIR= ${PREFIX}/usr/share/doc/${PORTNAME}-${PORTVERSION}
PORTDOCS= FAQ HISTORY README TODO
DESCR= ${.CURDIR}/../nas/pkg-descr
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
diff --git a/audio/linux-f10-openal-soft/Makefile b/audio/linux-f10-openal-soft/Makefile
index 014004d31595..1c816e21b428 100644
--- a/audio/linux-f10-openal-soft/Makefile
+++ b/audio/linux-f10-openal-soft/Makefile
@@ -23,4 +23,6 @@ DOCSDIR= ${PREFIX}/usr/share/doc/${PORTNAME}-${PORTVERSION}
PORTDOCS= COPYING
DESCR= ${.CURDIR}/../${PORTNAME}/pkg-descr
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
diff --git a/audio/linux-f10-openal/Makefile b/audio/linux-f10-openal/Makefile
index 5d5b423393da..9af3d1e2b6c1 100644
--- a/audio/linux-f10-openal/Makefile
+++ b/audio/linux-f10-openal/Makefile
@@ -25,4 +25,6 @@ DOCSDIR= ${PREFIX}/usr/share/doc/${PORTNAME}-${PORTVERSION}
PORTDOCS= AUTHORS COPYING ChangeLog NOTES README TODO
DESCR= ${.CURDIR}/../${PORTNAME}/pkg-descr
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
diff --git a/audio/linux-f10-sdl_mixer/Makefile b/audio/linux-f10-sdl_mixer/Makefile
index 8f4ff9e012d3..5c238593e07c 100644
--- a/audio/linux-f10-sdl_mixer/Makefile
+++ b/audio/linux-f10-sdl_mixer/Makefile
@@ -29,4 +29,6 @@ DOCSDIR= ${PREFIX}/usr/share/doc/${LINUX_NAME}-${PORTVERSION}
PORTDOCS= CHANGES COPYING README
DESCR= ${.CURDIR}/../${PORTNAME}/pkg-descr
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
diff --git a/audio/linux-mbrola/Makefile b/audio/linux-mbrola/Makefile
index 2b641360fd6b..24de33a78a9c 100644
--- a/audio/linux-mbrola/Makefile
+++ b/audio/linux-mbrola/Makefile
@@ -26,6 +26,8 @@ RESTRICTED= for non-commercial, non-military applications only
PLIST_FILES= bin/mbrola
PORTDOCS= readme.txt
+OPTIONS_DEFINE= DOCS
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/mbrola-linux-i386 ${STAGEDIR}${PREFIX}/bin/mbrola
@${MKDIR} ${STAGEDIR}${DOCSDIR}
diff --git a/audio/mp3info/Makefile b/audio/mp3info/Makefile
index 640c762aa450..26592b6f9e23 100644
--- a/audio/mp3info/Makefile
+++ b/audio/mp3info/Makefile
@@ -13,7 +13,7 @@ COMMENT= MP3 technical info viewer and ID3 1.x tag editor
LICENSE= GPLv2
-OPTIONS_DEFINE= GTK2
+OPTIONS_DEFINE= GTK2 DOCS
GTK2_DESC= Enable to have the gmp3info
ALL_TARGET= mp3info
diff --git a/audio/mp3riot/Makefile b/audio/mp3riot/Makefile
index 4cbd0e28e0cc..74a951e1b724 100644
--- a/audio/mp3riot/Makefile
+++ b/audio/mp3riot/Makefile
@@ -18,6 +18,8 @@ NO_WRKSUBDIR= yes
PORTDOCS= example.unix groupfile CHANGELOG MANUAL mp3table.sql README repl.dat TODO utf.dat
PLIST_FILES= bin/mp3riot
+OPTIONS_DEFINE= DOCS
+
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/mp3riot ${STAGEDIR}${PREFIX}/bin
@${MKDIR} ${STAGEDIR}${DOCSDIR}
diff --git a/audio/musicpd/Makefile b/audio/musicpd/Makefile
index 116aa6023eef..e878c1c9dfba 100644
--- a/audio/musicpd/Makefile
+++ b/audio/musicpd/Makefile
@@ -27,7 +27,7 @@ PORTDOCS= AUTHORS README COPYING NEWS UPGRADING
SUB_FILES= pkg-message
OPTIONS_DEFINE= ID3TAG IPV6 ARCHIVE SAMPLERATE SQLITE3 \
- CDPARANOIA LAME MMS VORBISENC
+ CDPARANOIA LAME MMS VORBISENC DOCS
OPTIONS_RADIO= ZEROCONF
OPTIONS_RADIO_ZEROCONF= AVAHI MDNSRESPONDER
diff --git a/audio/py-eyed3-06/Makefile b/audio/py-eyed3-06/Makefile
index f1796f1bd8dc..4465f82579a9 100644
--- a/audio/py-eyed3-06/Makefile
+++ b/audio/py-eyed3-06/Makefile
@@ -27,6 +27,8 @@ DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
PORTDOCS= AUTHORS ChangeLog README
PLIST_FILES+= bin/eyeD3 man/man1/eyeD3.1.gz
+OPTIONS_DEFINE= DOCS EXAMPLES
+
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
diff --git a/audio/py-eyed3/Makefile b/audio/py-eyed3/Makefile
index 1eded50d4b1c..cb32b5eeba0f 100644
--- a/audio/py-eyed3/Makefile
+++ b/audio/py-eyed3/Makefile
@@ -26,6 +26,8 @@ DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
PORTDOCS= AUTHORS ChangeLog README.rst
PORTEXAMPLES= *
+OPTIONS_DEFINE= DOCS EXAMPLES
+
post-patch:
${REINPLACE_CMD} -e 's/bash/sh/g' ${WRKSRC}/bin/eyeD3
post-install:
diff --git a/audio/scmpc/Makefile b/audio/scmpc/Makefile
index 59db5e833541..2e702545300c 100644
--- a/audio/scmpc/Makefile
+++ b/audio/scmpc/Makefile
@@ -22,6 +22,8 @@ USE_GNOME= glib20
PLIST_FILES= bin/scmpc man/man1/scmpc.1.gz
PORTDOCS= NEWS README.md scmpc.conf.example
+OPTIONS_DEFINE= DOCS
+
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
diff --git a/audio/teamspeak3-server/Makefile b/audio/teamspeak3-server/Makefile
index a37409b4a37a..e6bedbd8a6eb 100644
--- a/audio/teamspeak3-server/Makefile
+++ b/audio/teamspeak3-server/Makefile
@@ -48,6 +48,8 @@ SUB_LIST+= DBDIR=${DBDIR} \
ETCDIR=${ETCDIR} \
LOGDIR=${LOGDIR}
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
.if ${ARCH} == "i386"
diff --git a/audio/tkeca/Makefile b/audio/tkeca/Makefile
index 7b6094ee871d..15b1a5e7d557 100644
--- a/audio/tkeca/Makefile
+++ b/audio/tkeca/Makefile
@@ -18,6 +18,8 @@ USES= desktop-file-utils tk
NO_BUILD= yes
PORTDOCS= *
+OPTIONS_DEFINE= DOCS
+
post-patch:
${REINPLACE_CMD} -e '3s,^exec wish,exec ${WISH},' ${WRKSRC}/tkeca.tcl
diff --git a/audio/tta/Makefile b/audio/tta/Makefile
index 332fb022f612..18f102c2236f 100644
--- a/audio/tta/Makefile
+++ b/audio/tta/Makefile
@@ -20,6 +20,8 @@ MAKE_ARGS= CFLAGS="${CFLAGS}" INSDIR="${STAGEDIR}${PREFIX}/bin"
PLIST_FILES= bin/ttaenc
PORTDOCS= README
+OPTIONS_DEFINE= DOCS
+
post-patch:
@${REINPLACE_CMD} -e '/ifdef _BIG_ENDIAN/s|ifdef|if _BYTE_ORDER ==|' \
${WRKSRC}/ttaenc.h