blob: 1d4254ac6fdbffeb63af86ac06838ad0792e534e (
plain)
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
35
36
37
38
39
|
# Created by: Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
# $FreeBSD$
PORTNAME= bullet
PORTVERSION= 2.86.1
PORTREVISION= 4
CATEGORIES= devel
MAINTAINER= acm@FreeBSD.org
COMMENT= 3D collision detection and rigid body dynamics library
LICENSE= ZLIB
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
USE_GITHUB= yes
GH_ACCOUNT= bulletphysics
GH_PROJECT= bullet3
USES= cmake compiler:c++11-lang
USE_GL= gl glu glut
USE_LDCONFIG= yes
USE_XORG= x11
CMAKE_ARGS= -DBUILD_SHARED_LIBS:BOOL=ON \
-DINSTALL_LIBS:BOOL=ON \
-DINSTALL_EXTRA_LIBS:BOOL=ON \
-DBUILD_BULLET2_DEMOS:BOOL=OFF \
-DBUILD_BULLET3_DEMOS:BOOL=OFF \
-DBUILD_UNIT_TESTS:BOOL=OFF
PORTDOCS= *
OPTIONS_DEFINE= DOCS
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}/${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/docs/*.pdf ${STAGEDIR}/${DOCSDIR}
.include <bsd.port.mk>
|