pkgsrc-wip/Box2D/Makefile
OBATA Akio 30c7160529 Import Box2D-2.1.2 as wip/Box2D.
Box2D is a 2D rigid body simulation library for games.  Programmers can use it
in their games to make objects move in believable ways and make the game world
more interactive.  From the game's point of view a physics engine is just a
system for procedural animation.
2010-08-10 07:58:32 +00:00

27 lines
635 B
Makefile

# $NetBSD: Makefile,v 1.1.1.1 2010/08/10 07:58:32 obache Exp $
#
DISTNAME= Box2D_v2.1.2
PKGNAME= ${DISTNAME:S/_v/-/}
CATEGORIES= games
MASTER_SITES= http://box2d.googlecode.com/files/
EXTRACT_SUFX= .zip
MAINTAINER= obache@NetBSD.org
HOMEPAGE= http://www.box2d.org/
COMMENT= Box2D Physics Engine for games
PKG_DESTDIR_SUPPORT= user-destdir
WRKSRC= ${WRKDIR}/${DISTNAME}/Box2D
CONFIGURE_DIRS= Build
USE_LANGUAGES= c c++
USE_CMAKE= yes
CMAKE_ARG_PATH= ..
CMAKE_ARGS+= -DBOX2D_INSTALL=ON
CMAKE_ARGS+= -DBOX2D_BUILD_SHARED=ON
CMAKE_ARGS+= -DBOX2D_BUILD_EXAMPLES=OFF
CMAKE_ARGS+= -DBOX2D_INSTALL_DOC=ON
.include "../../mk/bsd.pkg.mk"