aboutsummaryrefslogblamecommitdiff
path: root/cad/cura-engine/Makefile
blob: eb5381f103ef2aba338264300c1e36310650c331 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                  
                         
                              
                 



                                 
                                                                 
                                              


                      





                                                 


                         
                          
                                                       
 

                                                    
 



                                                              
                              

                      
PORTNAME=		CuraEngine
PORTEPOCH=		1
DISTVERSION=		4.13.1
PORTREVISION=	1
CATEGORIES=		cad
DIST_SUBDIR=		Ultimaker

MAINTAINER=	db@FreeBSD.org
COMMENT=	Engine of slicing solution for RepRap 3D printers
WWW=		http://wiki.ultimaker.com/Cura

LICENSE=	AGPLv3

LIB_DEPENDS=	libArcus.so:net/libarcus	\
		libprotobuf.so:devel/protobuf

USES=		compiler:c++11-lang cmake

STB_TAG=	d5d052c

USE_GITHUB=	yes
GH_ACCOUNT=	Ultimaker
GH_PROJECT=	CuraEngine
GH_TUPLE=	nothings:stb:${STB_TAG}:stb/include/stb

CMAKE_ARGS+=	-DStb_FOUND:BOOL=ON		\
		-DStb_INCLUDE_DIRS=${WRKSRC}/include

# disable OpenMP as it does not work (at least) on CURRENT.
# OpenMP support is planned to be replaced with native thread.
# see files/patch-CMakeLists.txt

PLIST_FILES=	bin/CuraEngine

.include <bsd.port.mk>