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

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

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"
USE_GTK=    yes
USE_GMAKE=  yes
USE_BZIP2=  yes
PLIST_SUB=  LIB_DATE="${LIB_DATE}"

LIB_DATE!=  date +%Y-%m-%d

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

.include <bsd.port.mk>