freebsd-ports/devel/bullet/Makefile
Tijl Coosemans 74a7b90a80 Build shared libraries needed by upcoming devel/efl
PR:		193438
Approved by:	maintainer timeout (2 weeks)
2014-09-22 16:11:09 +00:00

41 lines
981 B
Makefile

# Created by: Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
# $FreeBSD$
PORTNAME= bullet
PORTVERSION= 2.82
PORTREVISION= 3
CATEGORIES= devel
MASTER_SITES= GOOGLE_CODE
DISTNAME= ${PORTNAME}-${PORTVERSION}-${SVN_COMMIT}
MAINTAINER= acm@FreeBSD.org
COMMENT= 3D collision detection and rigid body dynamics library
LICENSE= ZLIB
USE_GL= gl glu glut
USE_XORG= x11
USES= cmake tar:tgz
CMAKE_ARGS= -DBUILD_SHARED_LIBS:BOOL=ON
CPPFLAGS+= -I${LOCALBASE}/include
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}-${SVN_COMMIT}
PORTDOCS= *
SVN_COMMIT= r2704
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e "s|{OPENGL_glu_LIBRARY}|{OPENGL_glu_LIBRARY} -lcompat|g" ${WRKSRC}/Demos/AllBulletDemos/CMakeLists.txt
post-install:
@${MKDIR} ${STAGEDIR}/${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/*.pdf ${STAGEDIR}/${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/BulletLicense.txt ${STAGEDIR}/${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/ChangeLog ${STAGEDIR}/${DOCSDIR}/CHANGELOG
.include <bsd.port.mk>