freebsd-ports/multimedia/webvfx-qt5/Makefile
Tobias C. Berner b1a1d38bf9 Replace bsd.qt.mk by Uses/qt.mk and Uses/qt-dist.mk
From now on, ports that depend on Qt4 will have to set
	USES=		qt:4
	USE_QT=		foo bar
ports depending on Qt5 will use
	USES=		qt:5
	USE_QT=		foo bar

PR:		229225
Exp-run by:	antoine
Reviewed by:	mat
Approved by:	portmgr (antoine)
Differential Revision:	→https://reviews.freebsd.org/D15540
2018-06-28 17:39:53 +00:00

51 lines
1.1 KiB
Makefile

# $FreeBSD$
PORTNAME= webvfx
DISTVERSION= 0.4.4-20160823
PORTREVISION= 2
CATEGORIES= multimedia
PKGNAMESUFFIX= -qt5
MAINTAINER= avilla@FreeBSD.org
COMMENT= Video effects library based on HTML/QML
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libmlt.so:multimedia/mlt
USE_GITHUB= yes
GH_ACCOUNT= mltframework
GH_TAGNAME= e918ce4
USES= pkgconfig qmake qt:5
USE_QT= 3d buildtools_build opengl qml quick webkit
USE_LDCONFIG= yes
PORTEXAMPLES= *
OPTIONS_DEFINE= DOXYGEN EXAMPLES
OPTIONS_SUB= yes
DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen
post-patch-EXAMPLES-on:
@${REINPLACE_CMD} -i '' -e 's,examples/,,g' ${WRKSRC}/demo/mlt/*
pre-configure:
# Fix make jobs and speed up build.
@${REINPLACE_CMD} -e 's/debug_and_release//' ${WRKSRC}/common.pri
post-build-DOXYGEN-on:
cd ${WRKSRC} && ${MAKE} doxydoc
post-install-DOXYGEN-on:
cd ${WRKSRC}/doxydoc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}
post-install-EXAMPLES-on:
cd ${WRKSRC}/demo/examples && \
${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}
cd ${WRKSRC}/demo && \
${COPYTREE_SHARE} mlt ${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>