aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/k3b-kde4/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/k3b-kde4/Makefile')
-rw-r--r--sysutils/k3b-kde4/Makefile17
1 files changed, 11 insertions, 6 deletions
diff --git a/sysutils/k3b-kde4/Makefile b/sysutils/k3b-kde4/Makefile
index 161d7dbd89d6..b8443b0ddf78 100644
--- a/sysutils/k3b-kde4/Makefile
+++ b/sysutils/k3b-kde4/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= k3b
-PORTVERSION= 0.12.17
+PORTVERSION= 1.0
CATEGORIES= sysutils multimedia kde
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -33,7 +33,8 @@ OPTIONS= FLAC "Add audio/flac decoder" On \
LAME "Add audio/lame encoder (for mp3 files)" On \
FFMPEG "Add multimedia/ffmpeg decoder (for wma files)" Off \
MUSICBRAINZ "Use audio/libmusicbrainz music meta database" Off \
- MPC "Add audio/libmpcdec decoder (for musepack file)" Off
+ MPC "Add audio/libmpcdec decoder (for musepack file)" Off \
+ LIBDVDREAD "Use libdvdread (for video dvd ripping)" On
pre-configure:
${RM} ${WRKSRC}/admin/cvs.sh
@@ -48,10 +49,6 @@ showinfo:
.include <bsd.port.pre.mk>
-.if ${OSVERSION} > 500000
-PKGMESSAGE= ${PKGDIR}/pkg-message5
-.endif
-
.if defined(WITH_FLAC)
PLIST_SUB+= FLAC=""
LIB_DEPENDS+= FLAC:${PORTSDIR}/audio/flac
@@ -92,4 +89,12 @@ PLIST_SUB+= MPC="@comment "
CONFIGURE_ARGS+= --without-musepack
.endif
+.if defined(WITH_LIBDVDREAD)
+PLIST_SUB+= LIBDVDREAD=""
+LIB_DEPENDS+= dvdread:${PORTSDIR}/multimedia/libdvdread
+.else
+PLIST_SUB+= LIBDVDREAD="@comment "
+CONFIGURE_ARGS+= --without-libdvdread
+.endif
+
.include <bsd.port.post.mk>