Ticket #24592: YafaRay-0.1.2-Portfile.diff
File YafaRay-0.1.2-Portfile.diff, 2.1 KB (added by jmroot (Joshua Root), 8 years ago) |
---|
-
graphics/YafaRay/Portfile
1 1 # $Id$ 2 2 3 3 PortSystem 1.0 4 name yafray 5 version 0.0.6-2 6 revision 3 4 PortGroup cmake 1.0 5 6 name YafaRay 7 version 0.1.2 7 8 categories graphics 8 9 platforms darwin 9 10 maintainers free.fr:krugazor 10 11 description 3D raytracer / renderer 11 12 long_description \ 12 Yaf ray is an open source ray tracer, offering Global \13 YafaRay is an open source ray tracer, offering Global \ 13 14 Illumination and Photon Mapping, for high quality \ 14 15 photorealistic rendering. Since Blender release 2.32, \ 15 export to Yaf ray is integrated in Blender.16 export to YafaRay is integrated in Blender. 16 17 17 depends_lib lib:libjpeg:jpeg 18 depends_lib port:freetype \ 19 port:jpeg \ 20 port:libpng \ 21 port:libxml2 \ 22 port:openexr 18 23 19 homepage http://yafray.org/ 20 master_sites http://download.blender.org/release/yafray.0.0.6/ \ 21 http://www.coala.uniovi.es/~jandro/noname/downloads/ 22 distfiles yafray-${version}-src.tar.gz 23 checksums md5 bf87b6018435f3bc5bfd1be598c1a28f 24 homepage http://www.yafaray.org/ 25 master_sites http://static.yafaray.org/sources/ 26 distname ${name}.${version} 27 use_zip yes 28 checksums md5 d1722dec25299f6f3fcc1d7c661a4e90 \ 29 sha1 430deeb5462ebef27fb433ad5d8ca868d8f291c2 \ 30 rmd160 446ce67034da84f94d5a4b9dc3f9be012b075905 31 worksrcdir yafaray 24 32 25 configure.cflags-append "-I${prefix}/include" 26 configure.cxxflags-append "-I${prefix}/include" 27 configure.args --enable-doublecoords 33 configure.args-append -DWITH_QT=OFF 28 34 29 patchfiles patch-src-lights-pathlight.cc.diff \ 30 patch-src-yafraycore-texture.cc.diff \ 31 patch-src-shaders-blendershader.cc.diff \ 32 patch-src-yafraycore-tools.h.diff \ 33 patch-src-loader-render.cc.diff \ 34 patch-src-interface-interface_impl.cc.diff 35 variant gui description {Enable Qt-based GUI} { 36 depends_lib-append port:qt4-mac 37 configure.args-delete -DWITH_QT=OFF 38 configure.args-append -DWITH_QT=ON 39 }