aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--graphics/libdvdcss/Makefile27
-rw-r--r--graphics/libdvdcss/distinfo2
-rw-r--r--graphics/libdvdcss/pkg-plist4
-rw-r--r--multimedia/libdvdcss/Makefile27
-rw-r--r--multimedia/libdvdcss/distinfo2
-rw-r--r--multimedia/libdvdcss/pkg-plist4
6 files changed, 52 insertions, 14 deletions
diff --git a/graphics/libdvdcss/Makefile b/graphics/libdvdcss/Makefile
index df75b1efd7ab..5e06fa45b2a3 100644
--- a/graphics/libdvdcss/Makefile
+++ b/graphics/libdvdcss/Makefile
@@ -7,19 +7,38 @@
#
PORTNAME= libdvdcss
-PORTVERSION= 0.0.3
+PORTVERSION= 1.0.1
CATEGORIES= graphics
MASTER_SITES= http://www.videolan.org/pub/videolan/%SUBDIR%/
MASTER_SITE_SUBDIR= ${PORTNAME}/${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
-LIB_DEPENDS= gnugetopt:${PORTSDIR}/devel/libgnugetopt
+LIB_DEPENDS= gnugetopt:${PORTSDIR}/devel/libgnugetopt \
+ mad:${PORTSDIR}/audio/mad \
+ SDL-1.1:${PORTSDIR}/devel/sdl12
+USE_XLIB= yes
+WANT_ESOUND= yes
+WANT_GTK= yes
GNU_CONFIGURE= yes
-CONFIGURE_ENV= CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
+CONFIGURE_ENV= CPPFLAGS="${CXXFLAGS} -I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
+CONFIGURE_ARGS= --enable-release
USE_GMAKE= yes
INSTALLS_SHLIB= yes
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if defined(HAVE_ESOUND)
+USE_ESOUND= yes
+CONFIGURE_ARGS+= --enable-esd
+.endif
+
+.if defined(HAVE_GTK)
+USE_GTK= yes
+.else
+CONFIGURE_ARGS+= --disable-gtk
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/graphics/libdvdcss/distinfo b/graphics/libdvdcss/distinfo
index 01e88d0c61a4..70495dfc2d8e 100644
--- a/graphics/libdvdcss/distinfo
+++ b/graphics/libdvdcss/distinfo
@@ -1 +1 @@
-MD5 (libdvdcss-0.0.3.tar.gz) = d8acf76922f4ead9ab2c43dcaec30544
+MD5 (libdvdcss-1.0.1.tar.gz) = 19752a010e2353b60d04e00f5da69ae3
diff --git a/graphics/libdvdcss/pkg-plist b/graphics/libdvdcss/pkg-plist
index 7682b93cd8b1..d6583943573c 100644
--- a/graphics/libdvdcss/pkg-plist
+++ b/graphics/libdvdcss/pkg-plist
@@ -2,5 +2,5 @@ include/videolan/dvdcss.h
@dirrm include/videolan
lib/libdvdcss.a
lib/libdvdcss.so
-lib/libdvdcss.so.0
-lib/libdvdcss.so.0.0.3
+lib/libdvdcss.so.1
+lib/libdvdcss.so.1.0.1
diff --git a/multimedia/libdvdcss/Makefile b/multimedia/libdvdcss/Makefile
index df75b1efd7ab..5e06fa45b2a3 100644
--- a/multimedia/libdvdcss/Makefile
+++ b/multimedia/libdvdcss/Makefile
@@ -7,19 +7,38 @@
#
PORTNAME= libdvdcss
-PORTVERSION= 0.0.3
+PORTVERSION= 1.0.1
CATEGORIES= graphics
MASTER_SITES= http://www.videolan.org/pub/videolan/%SUBDIR%/
MASTER_SITE_SUBDIR= ${PORTNAME}/${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
-LIB_DEPENDS= gnugetopt:${PORTSDIR}/devel/libgnugetopt
+LIB_DEPENDS= gnugetopt:${PORTSDIR}/devel/libgnugetopt \
+ mad:${PORTSDIR}/audio/mad \
+ SDL-1.1:${PORTSDIR}/devel/sdl12
+USE_XLIB= yes
+WANT_ESOUND= yes
+WANT_GTK= yes
GNU_CONFIGURE= yes
-CONFIGURE_ENV= CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
+CONFIGURE_ENV= CPPFLAGS="${CXXFLAGS} -I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
+CONFIGURE_ARGS= --enable-release
USE_GMAKE= yes
INSTALLS_SHLIB= yes
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if defined(HAVE_ESOUND)
+USE_ESOUND= yes
+CONFIGURE_ARGS+= --enable-esd
+.endif
+
+.if defined(HAVE_GTK)
+USE_GTK= yes
+.else
+CONFIGURE_ARGS+= --disable-gtk
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/multimedia/libdvdcss/distinfo b/multimedia/libdvdcss/distinfo
index 01e88d0c61a4..70495dfc2d8e 100644
--- a/multimedia/libdvdcss/distinfo
+++ b/multimedia/libdvdcss/distinfo
@@ -1 +1 @@
-MD5 (libdvdcss-0.0.3.tar.gz) = d8acf76922f4ead9ab2c43dcaec30544
+MD5 (libdvdcss-1.0.1.tar.gz) = 19752a010e2353b60d04e00f5da69ae3
diff --git a/multimedia/libdvdcss/pkg-plist b/multimedia/libdvdcss/pkg-plist
index 7682b93cd8b1..d6583943573c 100644
--- a/multimedia/libdvdcss/pkg-plist
+++ b/multimedia/libdvdcss/pkg-plist
@@ -2,5 +2,5 @@ include/videolan/dvdcss.h
@dirrm include/videolan
lib/libdvdcss.a
lib/libdvdcss.so
-lib/libdvdcss.so.0
-lib/libdvdcss.so.0.0.3
+lib/libdvdcss.so.1
+lib/libdvdcss.so.1.0.1