8 MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-source/${PORTVERSION}
10 MAINTAINER= gahr@FreeBSD.org
11 COMMENT= Photorealistic rendering system
13 LICENSE= BSD3CLAUSE GPLv2
16 BUILD_DEPENDS= bison:${PORTSDIR}/devel/bison \
17 xsltproc:${PORTSDIR}/textproc/libxslt
18 LIB_DEPENDS= libIlmImf.so:${PORTSDIR}/graphics/OpenEXR \
19 libboost_filesystem.so:${PORTSDIR}/devel/boost-libs \
20 libtiff.so:${PORTSDIR}/graphics/tiff
22 LDFLAGS+= -L${LOCALBASE}/lib
25 USES= cmake:outsource desktop-file-utils shared-mime-info
26 USE_QT4= opengl qmake_build moc_build rcc_build uic_build
27 PLIST_SUB+= LIBVERS=${PORTVERSION:R}
31 OPTIONS_DEFINE= EXAMPLES
35 .include <bsd.port.options.mk>
38 @${REINPLACE_CMD} -e 's|examples_install_dir $${EXAMPLESDIR}|examples_install_dir ${PREFIX}/share/examples/${PORTNAME}|' \
39 ${WRKSRC}/examples/CMakeLists.txt
41 .if !${PORT_OPTIONS:MEXAMPLES}
42 @${REINPLACE_CMD} -i '' -e '/add_subdirectory(examples)/d' \
43 ${WRKSRC}/CMakeLists.txt
46 .include <bsd.port.mk>