1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-13 07:34:50 +00:00
freebsd-ports/multimedia/vlc/Makefile

40 lines
998 B
Makefile
Raw Normal View History

# New ports collection makefile for: vlc
# Date created: 3rd August 2001
# Whom: Brian Somers <brian@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= vlc
2002-01-08 04:33:06 +00:00
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}" \
2001-10-12 11:00:48 +00:00
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
find ${WRKSRC}/ -name \*.[ch] | xargs ${PERL} -pi.orig \
-e 's,"videolan/dvdcss.h","dvdcss/dvdcss.h",; \
s,<videolan/dvdcss.h>,<dvdcss/dvdcss.h>,'
2002-01-08 04:33:06 +00:00
.include <bsd.port.mk>