2001-08-04 13:01:02 +00:00
|
|
|
# New ports collection makefile for: vlc
|
|
|
|
# Date created: 3rd August 2001
|
2002-03-13 11:31:08 +00:00
|
|
|
# Whom: Brian Somers <brian@FreeBSD.org>
|
2001-08-04 13:01:02 +00:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= vlc
|
2002-01-08 04:33:06 +00:00
|
|
|
PORTVERSION= 0.2.92
|
2001-08-04 13:01:02 +00:00
|
|
|
CATEGORIES= graphics
|
2001-08-10 11:35:16 +00:00
|
|
|
MASTER_SITES= http://www.videolan.org/pub/videolan/vlc/${PORTVERSION}/ \
|
2001-08-06 23:05:58 +00:00
|
|
|
ftp://ftp.Awfulhak.org/pub/vlc/ \
|
|
|
|
http://people.FreeBSD.org/~brian/vlc/
|
2001-08-04 13:01:02 +00:00
|
|
|
|
2002-03-13 11:31:08 +00:00
|
|
|
MAINTAINER= brian@FreeBSD.org
|
2001-08-04 13:01:02 +00:00
|
|
|
|
2002-04-16 23:20:29 +00:00
|
|
|
LIB_DEPENDS= dvdcss.2:${PORTSDIR}/graphics/libdvdcss
|
2002-03-28 22:18:30 +00:00
|
|
|
|
2001-08-06 23:05:58 +00:00
|
|
|
|
2001-08-12 09:44:16 +00:00
|
|
|
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" \
|
2001-08-10 11:35:16 +00:00
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
2002-03-28 22:18:30 +00:00
|
|
|
|
|
|
|
CONFIGURE_ARGS+=--with-dvdcss=${LOCALBASE}
|
|
|
|
|
2001-08-06 23:05:58 +00:00
|
|
|
USE_GTK= yes
|
2001-08-04 13:01:02 +00:00
|
|
|
USE_GMAKE= yes
|
|
|
|
USE_BZIP2= yes
|
|
|
|
|
2001-08-12 09:44:16 +00:00
|
|
|
post-patch:
|
|
|
|
${PERL} -pi.orig -e 's,-lpthread,${PTHREAD_LIBS},g' ${WRKSRC}/configure
|
2002-04-18 12:53:04 +00:00
|
|
|
find ${WRKSRC}/ -name \*.[ch] | xargs ${PERL} -pi.orig \
|
|
|
|
-e 's,"videolan/dvdcss.h","dvdcss/dvdcss.h",; \
|
|
|
|
s,<videolan/dvdcss.h>,<dvdcss/dvdcss.h>,'
|
2001-08-12 09:44:16 +00:00
|
|
|
|
2002-01-08 04:33:06 +00:00
|
|
|
.include <bsd.port.mk>
|