aboutsummaryrefslogtreecommitdiff
path: root/multimedia/libdvdcss
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2002-03-25 08:27:00 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2002-03-25 08:27:00 +0000
commitd0e4672cf0d0adba8528cd77caae79515f8ca733 (patch)
treee1585a7fddd1a822a58791031d5f2a4843449e33 /multimedia/libdvdcss
parentc1e9288f2ec263932f8f08d4216b6d796f6b43a2 (diff)
downloadports-d0e4672cf0d0adba8528cd77caae79515f8ca733.tar.gz
ports-d0e4672cf0d0adba8528cd77caae79515f8ca733.zip
Notes
Diffstat (limited to 'multimedia/libdvdcss')
-rw-r--r--multimedia/libdvdcss/Makefile27
-rw-r--r--multimedia/libdvdcss/distinfo2
-rw-r--r--multimedia/libdvdcss/pkg-plist4
3 files changed, 26 insertions, 7 deletions
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