summaryrefslogtreecommitdiff
path: root/multimedia/vlc08/Makefile
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2006-05-26 15:21:44 +0000
committerjoerg <joerg@pkgsrc.org>2006-05-26 15:21:44 +0000
commitaffe457669453d2c5c181a7c98559a358e6fdcae (patch)
treed9d2aceca10337b434331ccbe32c44e004fcd2fe /multimedia/vlc08/Makefile
parentce8eae0868d9565707ae52243b90ac55a26c5214 (diff)
downloadpkgsrc-affe457669453d2c5c181a7c98559a358e6fdcae.tar.gz
NetBSD doesn't build vcd plugin (and cdda as side effect), so
conditionalize the entries in the PLIST. Bump revision.
Diffstat (limited to 'multimedia/vlc08/Makefile')
-rw-r--r--multimedia/vlc08/Makefile12
1 files changed, 10 insertions, 2 deletions
diff --git a/multimedia/vlc08/Makefile b/multimedia/vlc08/Makefile
index 8c84e613216..0e8130ad740 100644
--- a/multimedia/vlc08/Makefile
+++ b/multimedia/vlc08/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.4 2006/05/19 20:53:34 joerg Exp $
+# $NetBSD: Makefile,v 1.5 2006/05/26 15:21:44 joerg Exp $
#
DISTNAME= vlc-${VLC_VER}
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= multimedia
MASTER_SITES= http://download.videolan.org/pub/videolan/vlc/${VLC_VER}/
EXTRACT_SUFX= .tar.bz2
@@ -86,6 +86,14 @@ SUBST_SED.libav= -e "s,libavcodec/libavcodec.a,libavcodec.a,g"
BUILDLINK_TRANSFORM.ffmpeg+= -e "s,include/ffmpeg,include/,g"
+.if ${OPSYS} == "NetBSD"
+PLIST_SUBST+= COND_CDDA="@comment "
+PLIST_SUBST+= COND_VCD="@comment "
+.else
+PLIST_SUBST+= COND_CDDA=""
+PLIST_SUBST+= COND_VCD=""
+.endif
+
.include "../../audio/lame/buildlink3.mk"
.include "../../audio/liba52/buildlink3.mk"
.include "../../audio/libcddb/buildlink3.mk"