aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2005-12-28 21:17:06 +0800
committerlioux <lioux@FreeBSD.org>2005-12-28 21:17:06 +0800
commitd26d57b4062283de6c4b9ed84c889e132d15dd05 (patch)
tree4662a5a762fda59e93efb49b7f2265110a3e5ce4 /multimedia
parentb60bdc55882e61a06b42cd1cb0b2958d041871cc (diff)
downloadfreebsd-ports-gnome-d26d57b4062283de6c4b9ed84c889e132d15dd05.tar.gz
freebsd-ports-gnome-d26d57b4062283de6c4b9ed84c889e132d15dd05.tar.zst
freebsd-ports-gnome-d26d57b4062283de6c4b9ed84c889e132d15dd05.zip
o du(1) should follow symbolic links to avoid detecting them as 0
size. Otherwise, there are problems with test(1) algebraic evaluations on tovid.sh when trying to detect video aspect ratio. o Bump PORTREVISION
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/tovid/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/multimedia/tovid/Makefile b/multimedia/tovid/Makefile
index 768e8a2d7e7d..ea15566fa1d4 100644
--- a/multimedia/tovid/Makefile
+++ b/multimedia/tovid/Makefile
@@ -7,7 +7,7 @@
PORTNAME= tovid
PORTVERSION= 0.24
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= multimedia python
MASTER_SITES= http://download.berlios.de/tovid/
@@ -55,12 +55,15 @@ post-patch:
${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT} \
# md5sum -> md5
# gnu sed -> sed
-# linux du -> du
+# linux du -b -> emulation with awk
+# du should follow symbolic links
# faster mplayer -dumpaudio
@${REINPLACE_CMD} -E \
-e 's|md5sum|md5|' \
-e 's|sed[[:space:]]+-r|sed -E|' \
-e "s,du[[:space:]]+-b([^\|]+),ls -ALln \1 | ${AWK} '{print \$$5}'," \
+ -e 's|(du[[:space:]]+-c)|\1 -H|' \
+ -e 's|(du[[:space:]]+-h)|\1 -H|' \
-e 's|(-dumpaudio)|-vc dummy -vo null \1|' \
${WRKSRC}/src/*
# bash to sh fixes
sion bump of all ports with USE_GL after consolidation of mesa-libsrezny2017-05-231-1/+1 * Chase ffmpeg 3.3 update (ABI changes)riggs2017-04-251-0/+1