diff options
author | lioux <lioux@FreeBSD.org> | 2005-12-28 21:17:06 +0800 |
---|---|---|
committer | lioux <lioux@FreeBSD.org> | 2005-12-28 21:17:06 +0800 |
commit | d26d57b4062283de6c4b9ed84c889e132d15dd05 (patch) | |
tree | 4662a5a762fda59e93efb49b7f2265110a3e5ce4 /multimedia | |
parent | b60bdc55882e61a06b42cd1cb0b2958d041871cc (diff) | |
download | freebsd-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/Makefile | 7 |
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 |