aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/avidemux/Makefile
blob: 40799eceac2f76a0a8576d8c3b8a7c6690e87472 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# New ports collection makefile for:    avidemux
# Date created:         15 August 2002
# Whom:                 Anish Mistry
#                       with help from mean
# $FreeBSD$
#

PORTNAME=   avidemux
PORTVERSION=    0.9.0.13
CATEGORIES= graphics
MASTER_SITES=   http://fixounet.free.fr/avidemux/
DISTNAME=   avidemux-0.9pre13
EXTRACT_SUFX=   .tgz

MAINTAINER= amistry@am-productions.biz

LIB_DEPENDS=    xvidcore.0:${PORTSDIR}/graphics/xvid \
        mp3lame.0:${PORTSDIR}/audio/lame \
        mad.1:${PORTSDIR}/audio/mad
BUILD_DEPENDS=  \
    ${LINUXBASE}/usr/include/divx/decore.h:${PORTSDIR}/graphics/divx4linux \
    ${X11BASE}/include/X11/extensions/Xvlib.h:${PORTSDIR}/graphics/xv

USE_REINPLACE=  yes
USE_X_PREFIX=   yes
USE_XLIB=   yes
USE_GNOMENG=    yes
USE_GNOME=  gtk12
GNU_CONFIGURE=  yes
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include \
        -I${LINUXBASE}/usr/include/divx" \
        LIBFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib" \
        LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib"
CONFIGURE_ARGS= --with-xvid-as-decoder
USE_GMAKE=  yes

post-patch:
    @${REINPLACE_CMD} 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure

.include <bsd.port.mk>