freebsd-ports/graphics/yafaray/Makefile
Felix Palmen ddae4e92d8 Mk/Uses: always use colon for build/run suffix
Most USES use a colon for build/run(/test) suffixes. Change kde.mk,
qt.mk and pyqt.mk to do the same, and update all ports using that.

Document in CHANGES.

PR:			266034
Exp-run by:		antoine
Approved by:		tcberner (mentor)
Differential Revision:	https://reviews.freebsd.org/D36349
2022-09-11 12:20:14 +02:00

50 lines
1.2 KiB
Makefile

PORTNAME= yafaray
DISTVERSIONPREFIX= v
DISTVERSION= 3.5.1
PORTREVISION= 15
CATEGORIES= graphics
MAINTAINER= yuri@FreeBSD.org
COMMENT= Montecarlo raytracing engine
WWW= http://www.yafaray.org/
LICENSE= GPLv2 LGPL21
LICENSE_COMB= dual
LICENSE_FILE_GPLv2= ${WRKSRC}/LICENSES
LICENSE_FILE_LGPL21= ${WRKSRC}/LICENSES
ONLY_FOR_ARCHS= amd64 powerpc64le
LIB_DEPENDS= libboost_system.so:devel/boost-libs \
libfreetype.so:print/freetype2 \
libImath.so:math/Imath \
libOpenEXR.so:graphics/openexr \
libopencv_photo.so:graphics/opencv \
libopencv_core.so:graphics/opencv \
libpng.so:graphics/png \
libtiff.so:graphics/tiff
USES= cmake gnome jpeg
USE_GITHUB= yes
GH_ACCOUNT= YafaRay
GH_PROJECT= libYafaRay
USE_GNOME= libxml2
USE_LDCONFIG= yes
LDFLAGS+= -pthread # because build on 13 (head) was failing: ld: error: src/yafraycore/libyafaray_v3_core.so: undefined reference to pthread_create
CMAKE_OFF= WITH_YAF_PY_BINDINGS
OPTIONS_DEFINE= DOCS QT
OPTIONS_SUB= yes
QT_DESC= Enable Qt Gui build
QT_USES= qt:5
QT_CMAKE_BOOL= WITH_QT
QT_USE= QT=core,gui,widgets,qmake:build,buildtools:build,qmake:build
post-install:
@${RM} ${STAGEDIR}${DOCSDIR}/LICENSES
.include <bsd.port.mk>