blob: 334ec4e398efdcc9430300c36689d40b3434bd96 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
# Created by: David Yeske <dyeske@gmail.com>
# $FreeBSD$
PORTNAME= yafaray
DISTVERSIONPREFIX= v
DISTVERSION= 3.0-5
PORTREVISION= 2
DISTVERSIONSUFFIX= -g3a98966
CATEGORIES= graphics
PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
PATCHFILES= 38ca47aeca670c9bd5d21c24c0444be1d8fd22b0.patch:-p1 \
135c2aad275382f3a95d905e08d4c9e883a0b461.patch:-p1
MAINTAINER= ports@FreeBSD.org
COMMENT= Montecarlo raytracing engine
LICENSE= GPLv2 LGPL21
LICENSE_COMB= dual
LICENSE_FILE_GPLv2= ${WRKSRC}/LICENSES
LICENSE_FILE_LGPL21= ${WRKSRC}/LICENSES
ONLY_FOR_ARCHS= amd64
ONLY_FOR_ARCHS_EASON= assembly is only for amd64 and i386, but it breaks on i386: https://github.com/YafaRay/Core/issues/111
LIB_DEPENDS= libboost_system.so:devel/boost-libs \
libfreetype.so:print/freetype2 \
libHalf.so:graphics/ilmbase \
libIlmImf.so:graphics/openexr \
libopencv_photo.so:graphics/opencv \
libopencv_core.so:graphics/opencv-core \
libpng16.so:graphics/png \
libtiff.so:graphics/tiff
USES= cmake:outsource jpeg
USE_GITHUB= yes
GH_ACCOUNT= YafaRay
GH_PROJECT= Core
USE_GNOME= libxml2
USE_LDCONFIG= yes
CMAKE_OFF= WITH_YAF_PY_BINDINGS
OPTIONS_DEFINE= DOCS QT
OPTIONS_DEFAULT= QT
OPTIONS_SUB= yes
QT_DESC= Enable Qt Gui build
QT_USES= qt:4
QT_CMAKE_BOOL= WITH_QT
QT_USE= QT=corelib,gui,moc_build,qmake_build,rcc_build,uic_build
post-install:
@${RM} ${STAGEDIR}${DOCSDIR}/LICENSES
.include <bsd.port.mk>
|