aboutsummaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/arista/Makefile2
-rw-r--r--multimedia/camserv/Makefile2
-rw-r--r--multimedia/ffmpeg0/Makefile2
-rw-r--r--multimedia/gmerlin-avdecoder/Makefile2
-rw-r--r--multimedia/gmerlin/Makefile2
-rw-r--r--multimedia/libdvdcss/Makefile2
-rw-r--r--multimedia/lxdvdrip/Makefile2
-rw-r--r--multimedia/lxdvdrip/pkg-plist8
-rw-r--r--multimedia/subtitleripper/Makefile2
-rw-r--r--multimedia/universal-media-server/Makefile2
-rw-r--r--multimedia/xbmc/Makefile2
-rw-r--r--multimedia/y4mscaler/Makefile2
12 files changed, 19 insertions, 11 deletions
diff --git a/multimedia/arista/Makefile b/multimedia/arista/Makefile
index 25ff6eb137e1..d15c1fcf27de 100644
--- a/multimedia/arista/Makefile
+++ b/multimedia/arista/Makefile
@@ -16,6 +16,8 @@ USE_GNOME= pygnomedesktop
USE_PYTHON= yes
USE_PYDISTUTILS= yes
+OPTIONS_DEFINE= DOCS
+
post-patch:
@${REINPLACE_CMD} -e 's|Icon=.*|Icon=arista.svg|g' \
${WRKSRC}/arista.desktop
diff --git a/multimedia/camserv/Makefile b/multimedia/camserv/Makefile
index c687d89a35ce..6f5627fc3db0 100644
--- a/multimedia/camserv/Makefile
+++ b/multimedia/camserv/Makefile
@@ -23,7 +23,7 @@ INSTALL_TARGET= install-strip
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
-OPTIONS_DEFINE= IMLIB2 PIXBUF V4L
+OPTIONS_DEFINE= IMLIB2 PIXBUF V4L DOCS
OPTIONS_DEFAULT=IMLIB2
OPTIONS_SUB= yes
diff --git a/multimedia/ffmpeg0/Makefile b/multimedia/ffmpeg0/Makefile
index 3162115cfa93..0295b7c1473b 100644
--- a/multimedia/ffmpeg0/Makefile
+++ b/multimedia/ffmpeg0/Makefile
@@ -43,7 +43,7 @@ DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}${PKGNAMESUFFIX}
OPTIONS_DEFINE= AACPLUS ALSA AMR_NB AMR_WB CELT DEBUG DIRAC FAAC \
FFSERVER FREETYPE FREI0R GSM LAME OPENCV OPENJPEG \
OPTIMIZED_CFLAGS RTMP SCHROEDINGER SDL SPEEX THEORA VAAPI \
- VDPAU VO_AACENC VO_AMRWBENC VORBIS VPX X11GRAB X264 XVID
+ VDPAU VO_AACENC VO_AMRWBENC VORBIS VPX X11GRAB X264 XVID DOCS
OPTIONS_DEFAULT= FFSERVER FREETYPE FREI0R OPENCV SCHROEDINGER THEORA \
VORBIS VPX X264 XVID
diff --git a/multimedia/gmerlin-avdecoder/Makefile b/multimedia/gmerlin-avdecoder/Makefile
index 1207ebe0e9f6..3e9ca536774e 100644
--- a/multimedia/gmerlin-avdecoder/Makefile
+++ b/multimedia/gmerlin-avdecoder/Makefile
@@ -17,7 +17,7 @@ LIB_DEPENDS= libgavl.so:${PORTSDIR}/multimedia/gavl
OPTIONS_DEFINE= A52 CDIO DCA DVDREAD FAAD FFMPEG FLAC GMERLIN MAD \
MJPEGTOOLS MPEG2 MUSEPACK OPENJPEG OPTIMIZED_CFLAGS PNG \
- SAMBA SCHROEDINGER SPEEX THEORA TIFF VDPAU VORBIS
+ SAMBA SCHROEDINGER SPEEX THEORA TIFF VDPAU VORBIS DOCS
OPTIONS_DEFAULT= A52 CDIO DCA DVDREAD FAAD FFMPEG FLAC GMERLIN MAD \
MJPEGTOOLS MPEG2 MUSEPACK OPENJPEG OPTIMIZED_CFLAGS PNG \
SAMBA SCHROEDINGER SPEEX THEORA TIFF VDPAU VORBIS
diff --git a/multimedia/gmerlin/Makefile b/multimedia/gmerlin/Makefile
index 1bcf9ffb61ec..3ef4b1524177 100644
--- a/multimedia/gmerlin/Makefile
+++ b/multimedia/gmerlin/Makefile
@@ -34,7 +34,7 @@ LDFLAGS+= -L${LOCALBASE}/lib `pkg-config --libs gtk+-x11-2.0`
INFO= gmerlin
OPTIONS_DEFINE= ALSA CDDB CDIO ESOUND JACK JPEG LIBVISUAL \
- OPTIMIZED_CFLAGS PNG PULSEAUDIO QUICKTIME TIFF
+ OPTIMIZED_CFLAGS PNG PULSEAUDIO QUICKTIME TIFF DOCS
OPTIONS_DEFAULT= CDDB CDIO JACK JPEG LIBVISUAL \
OPTIMIZED_CFLAGS PNG PULSEAUDIO QUICKTIME TIFF
OPTIONS_SUB= yes
diff --git a/multimedia/libdvdcss/Makefile b/multimedia/libdvdcss/Makefile
index 4190f128165c..dfeb44edb69d 100644
--- a/multimedia/libdvdcss/Makefile
+++ b/multimedia/libdvdcss/Makefile
@@ -17,7 +17,7 @@ INSTALL_TARGET= install-strip
USES= gmake libtool pathfix tar:bzip2
USE_LDCONFIG= yes
-OPTIONS_DEFINE= DOXYGEN
+OPTIONS_DEFINE= DOXYGEN DOCS
.include <bsd.port.options.mk>
diff --git a/multimedia/lxdvdrip/Makefile b/multimedia/lxdvdrip/Makefile
index 720348d01c2b..5b5f21d7f9ec 100644
--- a/multimedia/lxdvdrip/Makefile
+++ b/multimedia/lxdvdrip/Makefile
@@ -46,6 +46,8 @@ DOCS= Changelog.de Changelog.en Changelog.fr \
README.dvdwizard.DE README.dvdwizard.EN README.dvdwizard.FR \
TODO freebsd.doc
+OPTIONS_DEFINE= DOCS EXAMPLES
+
post-patch:
@${REINPLACE_CMD} -E \
-e 's|playwave[[:space:]]+-r[[:space:]]+|wavplay -s|' \
diff --git a/multimedia/lxdvdrip/pkg-plist b/multimedia/lxdvdrip/pkg-plist
index edcbd525c6aa..27786bbd6108 100644
--- a/multimedia/lxdvdrip/pkg-plist
+++ b/multimedia/lxdvdrip/pkg-plist
@@ -7,9 +7,9 @@ bin/vamps_lxdvdrip
etc/lxdvdrip.conf.sample
@exec [ -f %B/lxdvdrip.conf ] || cp %B/%f %B/lxdvdrip.conf
%%DATADIR%%/lxdvdrip.wav
-%%EXAMPLESDIR%%/lxdvdrip.conf.DE
-%%EXAMPLESDIR%%/lxdvdrip.conf.EN
-%%EXAMPLESDIR%%/lxdvdrip.conf.FR
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lxdvdrip.conf.DE
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lxdvdrip.conf.EN
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lxdvdrip.conf.FR
man/man1/lxdvdrip.1.gz
%%PORTDOCS%%%%DOCSDIR%%/Changelog.de
%%PORTDOCS%%%%DOCSDIR%%/Changelog.en
@@ -24,4 +24,4 @@ man/man1/lxdvdrip.1.gz
%%PORTDOCS%%%%DOCSDIR%%/freebsd.doc
%%PORTDOCS%%@dirrm %%DOCSDIR%%
@dirrm %%DATADIR%%
-@dirrm %%EXAMPLESDIR%%
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
diff --git a/multimedia/subtitleripper/Makefile b/multimedia/subtitleripper/Makefile
index 26c89e549eae..5b68f0751227 100644
--- a/multimedia/subtitleripper/Makefile
+++ b/multimedia/subtitleripper/Makefile
@@ -41,6 +41,8 @@ PROGRAM_FILES= \
SCRIPT_FILES= \
pgm2txt
+OPTIONS_DEFINE= DOCS EXAMPLES
+
post-patch:
@${REINPLACE_CMD} -E \
-e 's|^(CC[[:space:]]*=).*$$|\1${CC}|' \
diff --git a/multimedia/universal-media-server/Makefile b/multimedia/universal-media-server/Makefile
index 42901f2ea85d..3301fe61198f 100644
--- a/multimedia/universal-media-server/Makefile
+++ b/multimedia/universal-media-server/Makefile
@@ -17,7 +17,7 @@ JAVA_VERSION= 1.7+
JAVA_VENDOR= openjdk
JAVA_RUN= true
-OPTIONS_DEFINE= MEDIAINFO FLAC DCRAW TSMUXER FFMPEG MPLAYER VLC MENCODER
+OPTIONS_DEFINE= MEDIAINFO FLAC DCRAW TSMUXER FFMPEG MPLAYER VLC MENCODER DOCS
OPTIONS_DEFAULT= MEDIAINFO FLAC DCRAW
MEDIAINFO_DESC= Metadata information about video & audio files
diff --git a/multimedia/xbmc/Makefile b/multimedia/xbmc/Makefile
index 4028b127e3a5..b4a0266ae7f5 100644
--- a/multimedia/xbmc/Makefile
+++ b/multimedia/xbmc/Makefile
@@ -76,7 +76,7 @@ DESKTOP_ENTRIES="XBMC" \
WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION}-Gotham
OPTIONS_SUB= yes
-OPTIONS_DEFINE= AIRPLAY AIRTUNES AVAHI CEC LAME \
+OPTIONS_DEFINE= AIRPLAY AIRTUNES AVAHI CEC DOCS LAME \
LIBBLURAY HAL LIRC MYSQL NONFREE PULSEAUDIO RTMP SFTP \
SMB VAAPI VDPAU VORBIS WEBSERVER XRANDR
AIRPLAY_DESC= AirPlay support via libplist
diff --git a/multimedia/y4mscaler/Makefile b/multimedia/y4mscaler/Makefile
index 23b4b8523fd8..e263661be0a7 100644
--- a/multimedia/y4mscaler/Makefile
+++ b/multimedia/y4mscaler/Makefile
@@ -21,6 +21,8 @@ USES= gmake
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
DOCS= COPYING ChangeLog INSTALL README TODO
+OPTIONS_DEFINE= DOCS
+
post-patch:
@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' \
${WRKSRC}/Makefile