aboutsummaryrefslogtreecommitdiff
path: root/multimedia/vlc
diff options
context:
space:
mode:
authorThierry Thomas <thierry@FreeBSD.org>2007-08-12 20:12:02 +0000
committerThierry Thomas <thierry@FreeBSD.org>2007-08-12 20:12:02 +0000
commit6b484558488c9164cc07b5e112f18b310c5745e0 (patch)
tree2b33fdef1376a3ba894783395dd5c5ba85e86bbf /multimedia/vlc
parent73023861593faf34ba73bf4ae776fc72735d326d (diff)
downloadports-6b484558488c9164cc07b5e112f18b310c5745e0.tar.gz
ports-6b484558488c9164cc07b5e112f18b310c5745e0.zip
Notes
Diffstat (limited to 'multimedia/vlc')
-rw-r--r--multimedia/vlc/Makefile2
-rw-r--r--multimedia/vlc/Makefile.inc12
2 files changed, 13 insertions, 1 deletions
diff --git a/multimedia/vlc/Makefile b/multimedia/vlc/Makefile
index 10f43a64c13a..565bb6b5bff1 100644
--- a/multimedia/vlc/Makefile
+++ b/multimedia/vlc/Makefile
@@ -10,7 +10,7 @@
PORTNAME= vlc
DISTVERSION= 0.8.6c
-PORTREVISION= 2
+PORTREVISION= 3
PORTEPOCH= 2
CATEGORIES= multimedia audio ipv6 net www
MASTER_SITES= http://download.videolan.org/pub/videolan/vlc/${DISTVERSION}/ \
diff --git a/multimedia/vlc/Makefile.inc b/multimedia/vlc/Makefile.inc
index 63e1527d5a7e..56f8db9b5b8f 100644
--- a/multimedia/vlc/Makefile.inc
+++ b/multimedia/vlc/Makefile.inc
@@ -225,6 +225,18 @@
# Do not install Vlc's Documents
#
+pre-everything::
+.if exists(${LOCALBASE}/lib/libswscale.so)
+ @${ECHO_CMD}
+ @${ECHO_CMD} 'VLC cannot find ffmpeg if it has been built with the software scaler,'
+ @${ECHO_CMD} 'be sure to not define WITH_SWSCALER to build it.'
+ @${ECHO_CMD}
+.endif
+
+post-extract:
+# remove badly formatted pre-generated messages catalogs
+ ${FIND} ${WRKSRC} -name "*.gmo" -delete
+
post-patch:
# Subtitle default font
@${REINPLACE_CMD} -e \