# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
github.setup tpaviot oce 0.18.3 OCE-
set branch [join [lrange [split ${version} .] 0 1] .]
maintainers {gmail.com:mark.brethen @mbrethen} openmaintainer
description Open CASCADE Community Edition
long_description ${description}
checksums rmd160 3bfe060893dca29baefd70d88b05098f9457ee20 \
sha256 792ec7d735f1e8ffb9db4bf20fc724c6ec2d2a435aa78e5df795c36fb0f360a1 \
# OCE is the Open CASCADE Community Edition
depends_lib-append port:freetype
configure.args-append -DOCE_INSTALL_PREFIX:PATH=${prefix} \
-DOCE_INSTALL_CMAKE_DATA_DIR:PATH=${prefix}/lib/cmake/${subport}
variant test description {Build and run unit testing framework} {
configure.args-append -DOCE_TESTING:BOOL=ON
variant draw description {Build DRAW test harness} {
depends_lib-append port:tcl port:tk
configure.args-append -DTCL_INCLUDE_PATH=${prefix}/include
configure.args-append -DOCE_DRAW:BOOL=ON
configure.args-append -DOCE_INSTALL_PACKAGE_LIB_DIR=lib
variant tbb description {Use TBB for memory allocation} {
depends_lib-append port:tbb
configure.args-append -DOCE_MULTITHREAD_LIBRARY:STRING=TBB
variant freeimage description {Build with FreeImage support} {
depends_lib-append port:freeimage
configure.args-append -DOCE_WITH_FREEIMAGE:BOOL=ON
variant gl2ps description {Build with gl2ps support} {
depends_lib-append port:gl2ps
configure.args-append -DOCE_WITH_GL2PS:BOOL=ON