Lines 13-40
COMMENT= Articulated rigid body dynamics library
Link Here
|
13 |
LICENSE= LGPL21 BSD3CLAUSE |
13 |
LICENSE= LGPL21 BSD3CLAUSE |
14 |
LICENSE_COMB= dual |
14 |
LICENSE_COMB= dual |
15 |
|
15 |
|
16 |
USES= gl tar:bzip2 libtool pathfix |
16 |
USES= tar:bzip2 libtool pathfix |
17 |
USE_GL= yes |
|
|
18 |
GNU_CONFIGURE= yes |
17 |
GNU_CONFIGURE= yes |
19 |
CONFIGURE_ARGS= --enable-shared |
18 |
CONFIGURE_ARGS= --enable-shared |
20 |
TEST_TARGET= check |
19 |
TEST_TARGET= check |
|
|
20 |
USE_CXXSTD= c++03 |
21 |
|
21 |
|
22 |
OPTIONS_DEFINE= GIMPACT DOUBLE OU |
22 |
OPTIONS_DEFINE= GIMPACT DOUBLE OU DEMOS |
23 |
|
23 |
|
24 |
GIMPACT_DESC= Enable gimpact instead of opcode support |
24 |
GIMPACT_DESC= Enable gimpact instead of opcode support |
25 |
DOUBLE_DESC= Enable double precision (BROKEN with GIMPACT) |
25 |
DOUBLE_DESC= Enable double precision (BROKEN with GIMPACT) |
26 |
OU_DESC= Enable Thread-local storage (Experimental) |
26 |
OU_DESC= Enable Thread-local storage (Experimental) |
|
|
27 |
DEMOS_DESC= Build demos (not installed) |
27 |
|
28 |
|
|
|
29 |
GIMPACT_PREVENTS= DOUBLE |
28 |
GIMPACT_CONFIGURE_ON= --with-trimesh=gimpact |
30 |
GIMPACT_CONFIGURE_ON= --with-trimesh=gimpact |
29 |
GIMPACT_CONFIGURE_OFF= --with-trimesh=opcode |
31 |
GIMPACT_CONFIGURE_OFF= --with-trimesh=opcode |
30 |
DOUBLE_CONFIGURE_ENABLE= double-precision |
32 |
DOUBLE_CONFIGURE_ENABLE=double-precision |
31 |
OU_CONFIGURE_ENABLE= ou |
33 |
OU_CONFIGURE_ENABLE= ou |
32 |
|
34 |
DEMOS_CONFIGURE_ENABLE= demos |
33 |
.include <bsd.port.options.mk> |
35 |
DEMOS_USES= gl localbase pkgconfig |
34 |
|
36 |
DEMOS_USE= GL=gl,glu |
35 |
.if ${PORT_OPTIONS:MGIMPACT} && ${PORT_OPTIONS:MDOUBLE} |
|
|
36 |
IGNORE= currently double precision is not supported by gimpact |
37 |
.endif |
38 |
|
37 |
|
39 |
post-patch: |
38 |
post-patch: |
40 |
@${REINPLACE_CMD} -e '/if test/ s|==|=|' -e 's|^\( *CFLAGS=\)|#\1|;' \ |
39 |
@${REINPLACE_CMD} -e '/if test/ s|==|=|' -e 's|^\( *CFLAGS=\)|#\1|;' \ |