aboutsummaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2003-05-02 06:36:11 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2003-05-02 06:36:11 +0000
commit240771f0ccabf55cbf83c86b6ce59653a1cd2933 (patch)
treeb54e2ae5c09c4fd731c65a4c9cdc2c85f9376e91 /multimedia
parent87f2ecc94f110dd5f2db38453e553d45ca6192dc (diff)
downloadports-240771f0ccabf55cbf83c86b6ce59653a1cd2933.tar.gz
ports-240771f0ccabf55cbf83c86b6ce59653a1cd2933.zip
Notes
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/totem/Makefile22
-rw-r--r--multimedia/totem/distinfo2
2 files changed, 20 insertions, 4 deletions
diff --git a/multimedia/totem/Makefile b/multimedia/totem/Makefile
index fc9252cd837a..cfba949b12ac 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 afbd8187b169..4101bf205312 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