Lines 3-10
Link Here
|
3 |
|
3 |
|
4 |
PORTNAME= bullet |
4 |
PORTNAME= bullet |
5 |
PORTVERSION= 2.82 |
5 |
PORTVERSION= 2.82 |
|
|
6 |
PORTREVISION= 2 |
6 |
CATEGORIES= devel |
7 |
CATEGORIES= devel |
7 |
PORTREVISION= 1 |
|
|
8 |
MASTER_SITES= GOOGLE_CODE |
8 |
MASTER_SITES= GOOGLE_CODE |
9 |
DISTNAME= ${PORTNAME}-${PORTVERSION}-${SVN_COMMIT} |
9 |
DISTNAME= ${PORTNAME}-${PORTVERSION}-${SVN_COMMIT} |
10 |
|
10 |
|
Lines 17-25
USE_GL= gl glu glut
Link Here
|
17 |
USE_XORG= x11 |
17 |
USE_XORG= x11 |
18 |
|
18 |
|
19 |
USES= cmake tar:tgz |
19 |
USES= cmake tar:tgz |
|
|
20 |
CMAKE_ARGS= -DBUILD_SHARED_LIBS:BOOL=ON |
20 |
|
21 |
|
21 |
CPPFLAGS+= -I${LOCALBASE}/include |
22 |
CPPFLAGS+= -I${LOCALBASE}/include |
22 |
LDFLAGS+= -pthread |
|
|
23 |
|
23 |
|
24 |
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}-${SVN_COMMIT} |
24 |
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}-${SVN_COMMIT} |
25 |
|
25 |
|
Lines 29-40
SVN_COMMIT= r2704
Link Here
|
29 |
|
29 |
|
30 |
OPTIONS_DEFINE= DOCS |
30 |
OPTIONS_DEFINE= DOCS |
31 |
|
31 |
|
32 |
.include <bsd.port.pre.mk> |
|
|
33 |
|
34 |
.if (${ARCH} == "amd64") || (${ARCH} == "ia64") |
35 |
CFLAGS+= -DUSE_ADDR64 |
36 |
.endif |
37 |
|
38 |
post-patch: |
32 |
post-patch: |
39 |
@${REINPLACE_CMD} -e "s|{OPENGL_glu_LIBRARY}|{OPENGL_glu_LIBRARY} -lcompat|g" ${WRKSRC}/Demos/AllBulletDemos/CMakeLists.txt |
33 |
@${REINPLACE_CMD} -e "s|{OPENGL_glu_LIBRARY}|{OPENGL_glu_LIBRARY} -lcompat|g" ${WRKSRC}/Demos/AllBulletDemos/CMakeLists.txt |
40 |
|
34 |
|
Lines 44-47
post-install:
Link Here
|
44 |
${INSTALL_DATA} ${WRKSRC}/BulletLicense.txt ${STAGEDIR}/${DOCSDIR} |
38 |
${INSTALL_DATA} ${WRKSRC}/BulletLicense.txt ${STAGEDIR}/${DOCSDIR} |
45 |
${INSTALL_DATA} ${WRKSRC}/ChangeLog ${STAGEDIR}/${DOCSDIR}/CHANGELOG |
39 |
${INSTALL_DATA} ${WRKSRC}/ChangeLog ${STAGEDIR}/${DOCSDIR}/CHANGELOG |
46 |
|
40 |
|
47 |
.include <bsd.port.post.mk> |
41 |
.include <bsd.port.mk> |