aboutsummaryrefslogtreecommitdiff
path: root/multimedia/avidemux2
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2004-01-27 01:11:38 +0000
committerPav Lucistnik <pav@FreeBSD.org>2004-01-27 01:11:38 +0000
commit5f30e7ed263decfce08fac9420cd8fe9902b91c2 (patch)
tree1d25f1ce2541f6cc2f5f02f7b9223a96693d80b3 /multimedia/avidemux2
parentc4db8f4fb7aac11da8d388187630bc6a7340ca4c (diff)
downloadports-5f30e7ed263decfce08fac9420cd8fe9902b91c2.tar.gz
ports-5f30e7ed263decfce08fac9420cd8fe9902b91c2.zip
Notes
Diffstat (limited to 'multimedia/avidemux2')
-rw-r--r--multimedia/avidemux2/Makefile16
-rw-r--r--multimedia/avidemux2/distinfo2
-rw-r--r--multimedia/avidemux2/pkg-plist4
3 files changed, 15 insertions, 7 deletions
diff --git a/multimedia/avidemux2/Makefile b/multimedia/avidemux2/Makefile
index e8ebd159a0df..d45c316a67c9 100644
--- a/multimedia/avidemux2/Makefile
+++ b/multimedia/avidemux2/Makefile
@@ -6,17 +6,17 @@
#
PORTNAME= avidemux2
-PORTVERSION= 2.0.18
-PORTREVISION= 1
+PORTVERSION= 2.0.20
CATEGORIES= multimedia
MASTER_SITES= http://fixounet.free.fr/avidemux/
-DISTNAME= avidemux-2.0.18
+DISTNAME= avidemux-2.0.20
MAINTAINER= amistry@am-productions.biz
COMMENT= Simple GUI based video editor
LIB_DEPENDS= mp3lame.0:${PORTSDIR}/audio/lame \
- mad.2:${PORTSDIR}/audio/mad
+ mad.2:${PORTSDIR}/audio/libmad \
+ xml2.5:${PORTSDIR}/textproc/libxml2
BUILD_DEPENDS= \
${X11BASE}/include/X11/extensions/Xvlib.h:${PORTSDIR}/graphics/xv
@@ -82,7 +82,11 @@ pre-everything::
post-patch:
@${TOUCH} ${WRKSRC}/*
@${REINPLACE_CMD} 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure ${WRKSRC}/*/*/Makefile
-post-configure:
-# @${SH} ${WRKSRC}/buildLavCodec.sh
+ @${REINPLACE_CMD} 's|<malloc.h>|<stdlib.h>|g' ${WRKSRC}/adm_lavcodec/*.c
+ @${REINPLACE_CMD} 's|ADM_LOCALEDIR=$${datadir}/locale|ADM_LOCALEDIR=${PREFIX}/share/locale|' ${WRKSRC}/configure
+.if ${OSVERSION} >= 500000
+ @${ECHO_MSG} "Remove this ugly hack!"
+ @${REINPLACE_CMD} 's|#define EMULATE_FAST_INT 1||g' ${WRKSRC}/configure
+.endif
.include <bsd.port.post.mk>
diff --git a/multimedia/avidemux2/distinfo b/multimedia/avidemux2/distinfo
index 1d56d0c50207..60e78b28ecc0 100644
--- a/multimedia/avidemux2/distinfo
+++ b/multimedia/avidemux2/distinfo
@@ -1 +1 @@
-MD5 (avidemux-2.0.18.tar.gz) = 5236a00d4a56b25df2c5f28fa8a40ce8
+MD5 (avidemux-2.0.20.tar.gz) = c7070e0a4b506e688d653d159cceeb31
diff --git a/multimedia/avidemux2/pkg-plist b/multimedia/avidemux2/pkg-plist
index cece1bd92783..c1acb9f123d6 100644
--- a/multimedia/avidemux2/pkg-plist
+++ b/multimedia/avidemux2/pkg-plist
@@ -1 +1,5 @@
bin/avidemux2
+share/locale/es/LC_MESSAGES/avidemux.mo
+share/locale/fr/LC_MESSAGES/avidemux.mo
+share/locale/klingon/LC_MESSAGES/avidemux.mo
+share/locale/ru/LC_MESSAGES/avidemux.mo