freebsd-ports/multimedia/kmplayer-kde4/Makefile
Max Brazhnikov 8ee471ac67 Fix build with upcoming KDE 4.5
Approved by:	Kris Moore (maintainer)
2010-08-22 18:12:39 +00:00

35 lines
907 B
Makefile

# New ports collection makefile for: KMplayer-kde4
# Date created: Aug 26, 2008
# Whom: Kris Moore
#
# $FreeBSD$
#
PORTNAME= kmplayer
PORTVERSION= 0.11.2b
PORTEPOCH= 3
CATEGORIES= multimedia audio kde
MASTER_SITES= http://kmplayer.kde.org/pkgs/
PKGNAMESUFFIX= -kde4
MAINTAINER= kris@pcbsd.org
COMMENT= KDE frontend to Phonon / KDE4
BUILD_DEPENDS= ${LOCALBASE}/share/xml/docbook/4.2/docbookx.dtd:${PORTSDIR}/textproc/docbook-xml
LIB_DEPENDS= dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib \
cairo.2:${PORTSDIR}/graphics/cairo
RUN_DEPENDS= mplayer:${PORTSDIR}/multimedia/mplayer
USE_GNOME= gtk20
USE_BZIP2= yes
USE_CMAKE= yes
USE_KDE4= automoc4 kdehier kdeprefix kdelibs
USE_QT_VER= 4
QT_COMPONENTS= corelib qmake_build moc_build rcc_build uic_build
post-patch:
#Fix build with kdelibs>=4.5.0
${REINPLACE_CMD} -e 's,V4.1.2-Based,V4.2-Based,g' \
${WRKSRC}/doc/index.docbook
.include <bsd.port.mk>