aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/vlc/Makefile
blob: 913160402810313c6f31c18a78387cb6c0a2d03a (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
# New ports collection makefile for:    vlc
# Date created:     3rd August 2001
# Whom:         Brian Somers <brian@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   vlc
PORTVERSION=    0.2.92
CATEGORIES= graphics
MASTER_SITES=   http://www.videolan.org/pub/videolan/vlc/${PORTVERSION}/ \
        ftp://ftp.Awfulhak.org/pub/vlc/ \
        http://people.FreeBSD.org/~brian/vlc/

MAINTAINER= brian@FreeBSD.org

LIB_DEPENDS=    dvdcss.2:${PORTSDIR}/graphics/libdvdcss


GNU_CONFIGURE=  yes
CONFIGURE_ENV=  PATH_GTKCONFIG="${GTK_CONFIG}" \
        CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
        INCLUDE="-I${LOCALBASE}/include" \
        LIB="-L${LOCALBASE}/lib" \
        LDFLAGS="-L${LOCALBASE}/lib"

CONFIGURE_ARGS+=--with-dvdcss=${LOCALBASE}

USE_GTK=    yes
USE_GMAKE=  yes
USE_BZIP2=  yes

post-patch:
    ${PERL} -pi.orig -e 's,-lpthread,${PTHREAD_LIBS},g' ${WRKSRC}/configure

.include <bsd.port.mk>