diff options
author | Brian Somers <brian@FreeBSD.org> | 2002-06-08 16:09:50 +0000 |
---|---|---|
committer | Brian Somers <brian@FreeBSD.org> | 2002-06-08 16:09:50 +0000 |
commit | a10fc79bbfb26795f021a7813fae5a7fce869f19 (patch) | |
tree | 960ef2bb7d1b0f382dc0b796191f924beaa37f06 /graphics/vlc/Makefile | |
parent | Link libcrypt to suppress compiler warnings. (diff) |
Update to 0.4.1
This version uses graphics/libdvdread rather than insisting on using the
internal libdvdread as previous versions did.
Mostly submitted by: Scott Lambert <lambert@lambertfam.org>
Diffstat (limited to 'graphics/vlc/Makefile')
-rw-r--r-- | graphics/vlc/Makefile | 25 |
1 files changed, 8 insertions, 17 deletions
diff --git a/graphics/vlc/Makefile b/graphics/vlc/Makefile index 1807b3cac6c5..84061e931603 100644 --- a/graphics/vlc/Makefile +++ b/graphics/vlc/Makefile @@ -6,7 +6,7 @@ # PORTNAME= vlc -PORTVERSION= 0.2.92 +PORTVERSION= 0.4.1 CATEGORIES= graphics MASTER_SITES= http://www.videolan.org/pub/videolan/vlc/${PORTVERSION}/ \ ftp://ftp.Awfulhak.org/pub/vlc/ \ @@ -14,26 +14,17 @@ MASTER_SITES= http://www.videolan.org/pub/videolan/vlc/${PORTVERSION}/ \ MAINTAINER= brian@FreeBSD.org -LIB_DEPENDS= dvdcss.2:${PORTSDIR}/graphics/libdvdcss - +LIB_DEPENDS= dvdcss.2:${PORTSDIR}/graphics/libdvdcss \ + dvdread.2:${PORTSDIR}/graphics/libdvdread 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} +CONFIGURE_ENV= PATH_GTKCONFIG="${GTK_CONFIG}" +CONFIGURE_ARGS+=--with-dvdcss=${LOCALBASE} \ + --with-dvdread=${LOCALBASE} \ + --includedir="${LOCALBASE}/include" \ + --libdir="${LOCALBASE}/lib" 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>,' .include <bsd.port.mk> |