blob: 0a30cc65d3550ff99bb0572bb0107d26c4efb5e0 (
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
|
# $FreeBSD$
PORTNAME= fcl
DISTVERSION= 0.5.0-304
PORTREVISION= 1
DISTVERSIONSUFFIX= -g16c193a
CATEGORIES= math
MAINTAINER= yuri@FreeBSD.org
COMMENT= Flexible Collision Library
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libccd.so:math/libccd
USES= cmake:outsource compiler:c++11-lang eigen:3
USE_GITHUB= yes
GH_ACCOUNT= flexible-collision-library
USE_LDCONFIG= yes
CMAKE_OFF= FCL_BUILD_TESTS # also see https://github.com/flexible-collision-library/fcl/issues/354
OPTIONS_DEFINE_amd64= SSE2 SSE3 SSSE3 SSE4 SSE41 SSE42 SSE4A
OPTIONS_DEFAULT_amd64= SSE2
OPTIONS_DEFINE_i386= ${OPTIONS_DEFINE_amd64}
OPTIONS_DEFAULT_i386= ${OPTIONS_DEFAULT_amd64}
.for sse in ${OPTIONS_DEFINE_amd64}
${sse}_DESC= Support for ${sse}
${sse}_CMAKE_ON= -DFCL_USE_X64_SSE:BOOL=ON -DOPT_SSE_${sse}=-m${sse:tl:S/41/4.1/:S/42/4.2/}
.endfor
.include <bsd.port.mk>
|