aboutsummaryrefslogtreecommitdiff
path: root/multimedia/kdemultimedia3/Makefile
diff options
context:
space:
mode:
authorMichael Nottebrock <lofi@FreeBSD.org>2006-09-12 23:26:52 +0000
committerMichael Nottebrock <lofi@FreeBSD.org>2006-09-12 23:26:52 +0000
commit431622844fcecf9286bca43cbdd9e3ae5ff5e273 (patch)
treee1d9b3f62c8fb343d38afebf5cbf0b93095f1508 /multimedia/kdemultimedia3/Makefile
parentb5c6ae5f82611e0c6f470a54bcdce721f86d15e4 (diff)
downloadports-431622844fcecf9286bca43cbdd9e3ae5ff5e273.tar.gz
ports-431622844fcecf9286bca43cbdd9e3ae5ff5e273.zip
Notes
Diffstat (limited to 'multimedia/kdemultimedia3/Makefile')
-rw-r--r--multimedia/kdemultimedia3/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/multimedia/kdemultimedia3/Makefile b/multimedia/kdemultimedia3/Makefile
index 859e159c612b..c64189e81f68 100644
--- a/multimedia/kdemultimedia3/Makefile
+++ b/multimedia/kdemultimedia3/Makefile
@@ -8,7 +8,6 @@
PORTNAME= kdemultimedia
PORTVERSION= ${KDE_VERSION}
-PORTREVISION= 1
CATEGORIES= multimedia kde
MASTER_SITES= ${MASTER_SITE_KDE}
MASTER_SITE_SUBDIR= stable/${PORTVERSION:S/.0//}/src
@@ -25,7 +24,6 @@ LIB_DEPENDS+= audiofile:${PORTSDIR}/audio/libaudiofile \
cdda_paranoia:${PORTSDIR}/audio/cdparanoia \
ogg:${PORTSDIR}/audio/libogg \
tag:${PORTSDIR}/audio/taglib \
- theora:${PORTSDIR}/multimedia/libtheora \
vorbis:${PORTSDIR}/audio/libvorbis
USE_KDELIBS_VER=3
@@ -50,6 +48,13 @@ OPTIONS= AKODE "Use akode for audio playback" on \
.include "${.CURDIR}/../../x11/kde3/Makefile.kde"
.include <bsd.port.pre.mk>
+.if ${OSVERSION} > 500035
+LIB_DEPENDS+= theora:${PORTSDIR}/multimedia/libtheora
+PLIST_SUB+= THEORA=""
+.else
+PLIST_SUB+= THEORA="@comment "
+.endif
+
.if !defined(WITHOUT_AKODE)
RUN_DEPENDS+= ${LOCALBASE}/lib/libakode.so:${PORTSDIR}/audio/akode
.endif