# New ports collection makefile for: kdenlive # Date created: 15 October 2008 # Whom: Alberto Villa # # $FreeBSD$ PORTNAME= kdenlive PORTVERSION= 0.7 PORTREVISION= 1 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 .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