diff options
-rw-r--r-- | multimedia/totem/Makefile | 22 | ||||
-rw-r--r-- | multimedia/totem/distinfo | 2 |
2 files changed, 20 insertions, 4 deletions
diff --git a/multimedia/totem/Makefile b/multimedia/totem/Makefile index fc9252c..cfba949 100644 --- a/multimedia/totem/Makefile +++ b/multimedia/totem/Makefile @@ -6,10 +6,10 @@ # PORTNAME= totem -PORTVERSION= 0.96.0 +PORTVERSION= 0.97.0 CATEGORIES= multimedia gnome MASTER_SITES= ${MASTER_SITE_GNOME} -MASTER_SITE_SUBDIR= sources/${PORTNAME}/0.96 +MASTER_SITE_SUBDIR= sources/${PORTNAME}/0.97 DIST_SUBDIR= gnome2 MAINTAINER= hendrik@scholz.net @@ -25,4 +25,20 @@ GNU_CONFIGURE= yes CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \ LIBS="-L${LOCALBASE}/lib -L${X11BASE}/lib" -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if exists(${LOCALBASE}/lib/libdvdnav.so) +WITH_DVDNAV= yes +.endif + +.if defined(WITH_DVDNAV) +LIB_DEPENDS+= dvdnav.1:${PORTSDIR}/multimedia/libdvdnav +.endif + +.if !defined(WITH_DVDNAV) +pre-everything:: + @${ECHO_MSG} "" + @${ECHO_MSG} "You can enable DVD support by defining WITH_DVDNAV" +.endif + +.include <bsd.port.post.mk> diff --git a/multimedia/totem/distinfo b/multimedia/totem/distinfo index afbd818..4101bf2 100644 --- a/multimedia/totem/distinfo +++ b/multimedia/totem/distinfo @@ -1 +1 @@ -MD5 (gnome2/totem-0.96.0.tar.bz2) = dbfe2180901e36e17f968b9c53ba9b1f +MD5 (gnome2/totem-0.97.0.tar.bz2) = 7818c375247ce7d48cfb75ca585cae4d |