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

PORTNAME=   vlc
PORTVERSION=    0.2.81
PORTREVISION=   1
CATEGORIES= graphics
MASTER_SITES=   http://www.videolan.org/pub/videolan/vlc/0.2.81/ \
        ftp://ftp.Awfulhak.org/pub/vlc/ \
        http://people.FreeBSD.org/~brian/vlc/

MAINTAINER= brian@Awfulhak.org

LIB_DEPENDS=    SDL-1.1:${PORTSDIR}/devel/sdl12

HAS_CONFIGURE=  yes
CONFIGURE_ENV=  PATH_GTKCONFIG="${PREFIX}/bin/gtk12-config" \
        CPPFLAGS="-I${LOCALBASE}/include" \
        LDFLAGS="-L${LOCALBASE}/lib" \
        SDL_CONFIG="${LOCALBASE}/bin/sdl11-config"
USE_GTK=    yes
USE_GMAKE=  yes
USE_X_PREFIX=   yes
USE_BZIP2=  yes

pre-patch:
    @${PERL} -pi.orig -e "s|SDL/SDL.h|SDL11/SDL.h|g" ${WRKSRC}/configure \
        ${WRKSRC}/plugins/sdl/vout_sdl.c

.include <bsd.port.mk>