1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-19 08:13:21 +00:00
freebsd-ports/multimedia/kdenlive/Makefile
Max Brazhnikov dc3f9d4d6f Fix linking when previous version is installed.
Bump PORTREVISION for dependent ports.

PR:		ports/133826
Submitted by:	Alberto Villa (maintainer)
2009-04-25 16:16:40 +00:00

53 lines
1.3 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
PORTREVISION= 2
CATEGORIES= multimedia kde
MASTER_SITES= SFE
MAINTAINER= villa.alberto@gmail.com
COMMENT= A professional quality non-linear video editing suite for KDE
LIB_DEPENDS= avformat.1:${PORTSDIR}/multimedia/ffmpeg \
mlt.1:${PORTSDIR}/multimedia/mlt \
mlt++.1:${PORTSDIR}/multimedia/mlt++
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
USE_CMAKE= yes
CMAKE_ARGS= -DNO_JOGSHUTTLE:BOOL=On
PORTDOCS= AUTHORS COPYING INSTALL README
OPTIONS= LADSPA "Install LADSPA plugins" on
.include <bsd.port.pre.mk>
.ifdef(WITH_LADSPA)
RUN_DEPENDS+= swhplugins>=0:${PORTSDIR}/audio/swhplugins
.endif
post-patch:
# prevent updating mime during build
${REINPLACE_CMD} -e '/^update_xdg_mimetypes/d; /SharedMimeInfo/d' \
${PATCH_WRKSRC}/src/mimetypes/CMakeLists.txt
post-install:
@-update-mime-database ${KDE4_PREFIX}/share/mime
.ifndef(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
.for f in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
.endfor
.endif
.include <bsd.port.post.mk>