2018-07-21 02:53:41 -04:00
|
|
|
# Created by: David Yeske <dyeske@gmail.com>
|
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= yafaray
|
|
|
|
DISTVERSIONPREFIX= v
|
2019-02-23 11:00:47 -05:00
|
|
|
DISTVERSION= 3.3.0-15
|
|
|
|
DISTVERSIONSUFFIX= -g67f6586
|
2019-08-19 11:35:27 -04:00
|
|
|
PORTREVISION= 2
|
2018-07-21 02:53:41 -04:00
|
|
|
CATEGORIES= graphics
|
|
|
|
|
2019-02-23 11:04:05 -05:00
|
|
|
MAINTAINER= yuri@FreeBSD.org
|
2018-07-21 02:53:41 -04:00
|
|
|
COMMENT= Montecarlo raytracing engine
|
|
|
|
|
|
|
|
LICENSE= GPLv2 LGPL21
|
|
|
|
LICENSE_COMB= dual
|
|
|
|
LICENSE_FILE_GPLv2= ${WRKSRC}/LICENSES
|
|
|
|
LICENSE_FILE_LGPL21= ${WRKSRC}/LICENSES
|
|
|
|
|
|
|
|
ONLY_FOR_ARCHS= amd64
|
2019-03-30 13:17:57 -04:00
|
|
|
ONLY_FOR_ARCHS_REASON= assembly is only for amd64 and i386, but it breaks on i386: https://github.com/YafaRay/Core/issues/111
|
2018-07-21 02:53:41 -04:00
|
|
|
|
|
|
|
LIB_DEPENDS= libboost_system.so:devel/boost-libs \
|
|
|
|
libfreetype.so:print/freetype2 \
|
|
|
|
libHalf.so:graphics/ilmbase \
|
2018-09-22 06:15:22 -04:00
|
|
|
libIlmImf.so:graphics/openexr \
|
2018-07-21 02:53:41 -04:00
|
|
|
libopencv_photo.so:graphics/opencv \
|
|
|
|
libopencv_core.so:graphics/opencv-core \
|
2019-06-16 12:05:28 -04:00
|
|
|
libpng.so:graphics/png \
|
2018-07-21 02:53:41 -04:00
|
|
|
libtiff.so:graphics/tiff
|
|
|
|
|
2018-12-25 15:25:39 -05:00
|
|
|
USES= cmake gnome jpeg
|
2018-07-21 02:53:41 -04:00
|
|
|
USE_GITHUB= yes
|
|
|
|
GH_ACCOUNT= YafaRay
|
|
|
|
GH_PROJECT= Core
|
|
|
|
USE_GNOME= libxml2
|
|
|
|
USE_LDCONFIG= yes
|
|
|
|
|
2019-04-28 04:40:12 -04:00
|
|
|
LDFLAGS= -pthread # because build on 13 (head) was failing: ld: error: src/yafraycore/libyafaray_v3_core.so: undefined reference to pthread_create
|
|
|
|
|
2018-07-21 02:53:41 -04:00
|
|
|
CMAKE_OFF= WITH_YAF_PY_BINDINGS
|
|
|
|
|
|
|
|
OPTIONS_DEFINE= DOCS QT
|
|
|
|
OPTIONS_SUB= yes
|
|
|
|
|
|
|
|
QT_DESC= Enable Qt Gui build
|
2019-02-23 11:00:47 -05:00
|
|
|
QT_USES= qt:5
|
2018-07-21 02:53:41 -04:00
|
|
|
QT_CMAKE_BOOL= WITH_QT
|
2019-02-23 11:00:47 -05:00
|
|
|
QT_USE= QT=core,gui,widgets,qmake_build,buildtools_build,qmake_build
|
2018-07-21 02:53:41 -04:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
@${RM} ${STAGEDIR}${DOCSDIR}/LICENSES
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|