aboutsummaryrefslogtreecommitdiff
path: root/multimedia/vdr-plugin-softhddevice
diff options
context:
space:
mode:
authorJuergen Lock <nox@FreeBSD.org>2012-06-02 19:37:10 +0000
committerJuergen Lock <nox@FreeBSD.org>2012-06-02 19:37:10 +0000
commitf9c1938da060c21d117041a47315c0448e9ad1a5 (patch)
treed47163dc1cd7f71a33b29913202ba7c607d517c9 /multimedia/vdr-plugin-softhddevice
parent98e078c405c7bf721d1defc27d8d72d2c6e999b9 (diff)
downloadports-f9c1938da060c21d117041a47315c0448e9ad1a5.tar.gz
ports-f9c1938da060c21d117041a47315c0448e9ad1a5.zip
Notes
Diffstat (limited to 'multimedia/vdr-plugin-softhddevice')
-rw-r--r--multimedia/vdr-plugin-softhddevice/Makefile19
1 files changed, 10 insertions, 9 deletions
diff --git a/multimedia/vdr-plugin-softhddevice/Makefile b/multimedia/vdr-plugin-softhddevice/Makefile
index f8a2d550c958..fb53df491b1e 100644
--- a/multimedia/vdr-plugin-softhddevice/Makefile
+++ b/multimedia/vdr-plugin-softhddevice/Makefile
@@ -15,11 +15,11 @@ EXTRACT_SUFX= .tgz
MAINTAINER= nox@FreeBSD.org
COMMENT= Video Disk Recorder - softhddevice plugin
-LIB_DEPENDS+= avcodec.1:${PORTSDIR}/multimedia/ffmpeg \
- vdpau.1:${PORTSDIR}/multimedia/libvdpau \
- xcb.2:${PORTSDIR}/x11/libxcb \
- xcb-keysyms.1:${PORTSDIR}/x11/xcb-util-keysyms \
- asound.2:${PORTSDIR}/audio/alsa-lib
+LIB_DEPENDS+= avcodec:${PORTSDIR}/multimedia/ffmpeg \
+ vdpau:${PORTSDIR}/multimedia/libvdpau \
+ xcb:${PORTSDIR}/x11/libxcb \
+ xcb-keysyms:${PORTSDIR}/x11/xcb-util-keysyms \
+ asound:${PORTSDIR}/audio/alsa-lib
USE_GNOME+= pkgconfig
USE_XORG+= xv x11 xinerama
@@ -36,19 +36,20 @@ WRKSRC= ${WRKDIR}/${PLUGIN}-${PORTVERSION}
.include "${.CURDIR}/../vdr/Makefile.plugins"
-OPTIONS= VAAPI "Enable vaapi support (experimental)" off
+OPTIONS_DEFINE= VAAPI
+VAAPI_DESC= "Enable vaapi support (experimental)"
.include <bsd.port.options.mk>
-.if defined(WITH_VAAPI)
-LIB_DEPENDS+= va.1:${PORTSDIR}/multimedia/libva
+.if ${PORT_OPTIONS:MVAAPI}
+LIB_DEPENDS+= va:${PORTSDIR}/multimedia/libva
CONFIG+= -DUSE_VAAPI
.endif
post-patch: post-patch-plugin
post-install: post-install-pluginlocales
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
(cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR})
.endif