aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
authornox <nox@FreeBSD.org>2013-11-30 01:30:23 +0800
committernox <nox@FreeBSD.org>2013-11-30 01:30:23 +0800
commitfbdc2459d6e89851cd5dc98df211a339a9516204 (patch)
tree8460410e0e1b6daae5be41a52afebd5f722a1f21 /multimedia
parent09c502fe6896d846cff50850eb3393e80319c9da (diff)
downloadfreebsd-ports-gnome-fbdc2459d6e89851cd5dc98df211a339a9516204.tar.gz
freebsd-ports-gnome-fbdc2459d6e89851cd5dc98df211a339a9516204.tar.zst
freebsd-ports-gnome-fbdc2459d6e89851cd5dc98df211a339a9516204.zip
- Fix plist and introduce XINE_PLUGINSDIR variable for the problem dir.
- Bump PORTREVISION.
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/vdr-plugin-xineliboutput/Makefile5
-rw-r--r--multimedia/vdr-plugin-xineliboutput/pkg-plist8
2 files changed, 8 insertions, 5 deletions
diff --git a/multimedia/vdr-plugin-xineliboutput/Makefile b/multimedia/vdr-plugin-xineliboutput/Makefile
index cdd0b20adced..e5fbc7271531 100644
--- a/multimedia/vdr-plugin-xineliboutput/Makefile
+++ b/multimedia/vdr-plugin-xineliboutput/Makefile
@@ -3,7 +3,7 @@
PORTNAME= vdr-plugin-xineliboutput
PORTVERSION= 1.0.90s20120511
-PORTREVISION= 7
+PORTREVISION= 8
CATEGORIES= multimedia
MASTER_SITES= SF:release \
LOCAL:snapshot
@@ -27,6 +27,7 @@ USE_GL= gl glu glut
PORTDOCS= COPYING README HISTORY
PORTEXAMPLES= xine
WRKSRC= ${WRKDIR}/vdr-${PLUGIN}
+XINE_PLUGINSDIR= lib/xine/plugins/2.3
OPTIONS_DEFINE= LIBBLURAY LIBEXTRACTOR
@@ -37,6 +38,8 @@ NO_STAGE= yes
.include <bsd.port.pre.mk>
+PLIST_SUB+= XINE_PLUGINSDIR=${XINE_PLUGINSDIR}
+
CONFIGURE_ARGS+= --cc="${CC}" --cxx="${CXX}" --add-cflags=-I${VDRDIR}
.if ${PORT_OPTIONS:MLIBEXTRACTOR}
diff --git a/multimedia/vdr-plugin-xineliboutput/pkg-plist b/multimedia/vdr-plugin-xineliboutput/pkg-plist
index 376149db807a..74e44e9889d1 100644
--- a/multimedia/vdr-plugin-xineliboutput/pkg-plist
+++ b/multimedia/vdr-plugin-xineliboutput/pkg-plist
@@ -1,9 +1,9 @@
bin/vdr-fbfe
bin/vdr-sxfe
-lib/xine/plugins/2.2/xineplug_inp_xvdr.so
-lib/xine/plugins/2.2/post/xineplug_post_autocrop.so
-lib/xine/plugins/2.2/post/xineplug_post_swscale.so
-lib/xine/plugins/2.2/post/xineplug_post_audiochannel.so
+%%XINE_PLUGINSDIR%%/xineplug_inp_xvdr.so
+%%XINE_PLUGINSDIR%%/post/xineplug_post_autocrop.so
+%%XINE_PLUGINSDIR%%/post/xineplug_post_swscale.so
+%%XINE_PLUGINSDIR%%/post/xineplug_post_audiochannel.so
lib/vdr/libvdr-xineliboutput.so.%%APIVERSION%%
lib/vdr/libxineliboutput-sxfe.so.1.0.90-cvs
@unexec if cmp -s %D/etc/vdr/plugins/xineliboutput/allowed_hosts.conf.sample %D/etc/vdr/plugins/xineliboutput/allowed_hosts.conf; then rm -f %D/etc/vdr/plugins/xineliboutput/allowed_hosts.conf; fi