aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/vlc-devel/Makefile
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>2002-06-09 00:09:50 +0800
committerbrian <brian@FreeBSD.org>2002-06-09 00:09:50 +0800
commita2dd152fdb83b90d5cfa8ae23209e5c07c2e832d (patch)
tree9d4fb6ac58869a8dc0e17754b1945159b3c0f52e /multimedia/vlc-devel/Makefile
parent41b59912ea443b05e43f79d2eceb0e2639e85110 (diff)
downloadfreebsd-ports-gnome-a2dd152fdb83b90d5cfa8ae23209e5c07c2e832d.tar.gz
freebsd-ports-gnome-a2dd152fdb83b90d5cfa8ae23209e5c07c2e832d.tar.zst
freebsd-ports-gnome-a2dd152fdb83b90d5cfa8ae23209e5c07c2e832d.zip
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 'multimedia/vlc-devel/Makefile')
-rw-r--r--multimedia/vlc-devel/Makefile25
1 files changed, 8 insertions, 17 deletions
diff --git a/multimedia/vlc-devel/Makefile b/multimedia/vlc-devel/Makefile
index 1807b3cac6c5..84061e931603 100644
--- a/multimedia/vlc-devel/Makefile
+++ b/multimedia/vlc-devel/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>