freebsd-ports/multimedia/kdenlive/Makefile
Alberto Villa bd7671f52a - Update to 0.7.8.
- Add LICENSE.
- Fix build when Qt 3 is installed. [1]

Submitted by:	Golyashov Sergey via e-mail [1]
Approved by:	tabthorpe (mentor)
2010-10-01 13:22:52 +00:00

64 lines
1.6 KiB
Makefile

# New ports collection makefile for: kdenlive
# Date created: 15 October 2008
# Whom: Alberto Villa <villa.alberto@gmail.com>
#
# $FreeBSD$
PORTNAME= kdenlive
PORTVERSION= 0.7.8
CATEGORIES= multimedia kde
MASTER_SITES= SF
MAINTAINER= avilla@FreeBSD.org
COMMENT= A professional quality non-linear video editing suite for KDE
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= mlt>=0.5.10:${PORTSDIR}/multimedia/mlt
RUN_DEPENDS:= ${BUILD_DEPENDS}
USE_GETTEXT= yes
USE_KDE4= automoc4 kdehier kdelibs kdeprefix sharedmime
USE_QT_VER= 4
QT_COMPONENTS= dbus gui network svg xml \
moc_build qmake_build rcc_build uic_build
MAKE_JOBS_SAFE= yes
USE_CMAKE= yes
MAN1= kdenlive.1 kdenlive_render.1
OPTIONS= DVD "DVD creation with cdrtools and dvdauthor" on \
FREI0R "Frei0r plugins" on \
LADSPA "LADSPA plugins" on \
SCREENGRAB "Screen capture with recordMyDesktop" on
.include <bsd.port.pre.mk>
.ifdef(WITH_DVD)
USE_CDRTOOLS= yes
RUN_DEPENDS+= dvdauthor:${PORTSDIR}/multimedia/dvdauthor
.endif
.ifdef(WITH_FREI0R)
RUN_DEPENDS+= frei0r>=1.1.22:${PORTSDIR}/graphics/frei0r
.endif
.ifdef(WITH_LADSPA)
RUN_DEPENDS+= swhplugins>=0:${PORTSDIR}/audio/swhplugins
.endif
.ifdef(WITH_SCREENGRAB)
RUN_DEPENDS+= recordmydesktop:${PORTSDIR}/multimedia/recordmydesktop
.endif
post-patch:
@${REINPLACE_CMD} -E -e '/${PORTNAME}.(menu|xpm)/d' \
${PATCH_WRKSRC}/data/CMakeLists.txt
@${REINPLACE_CMD} -e '/^update_xdg_mimetypes/d; /SharedMimeInfo/d' \
${PATCH_WRKSRC}/src/mimetypes/CMakeLists.txt
post-install:
@-update-mime-database ${PREFIX}/share/mime
.include <bsd.port.post.mk>