25 lines
431 B
Makefile
25 lines
431 B
Makefile
|
# $FreeBSD$
|
||
|
|
||
|
PORTNAME= Box2D
|
||
|
DISTVERSIONPREFIX= v
|
||
|
DISTVERSION= 2.3.1
|
||
|
CATEGORIES= misc
|
||
|
|
||
|
MAINTAINER= yuri@FreeBSD.org
|
||
|
COMMENT= 2D physics engine for games
|
||
|
|
||
|
LICENSE= ZLIB
|
||
|
LICENSE_FILE= ${WRKSRC}/License.txt
|
||
|
|
||
|
USES= cmake pkgconfig
|
||
|
USE_GITHUB= yes
|
||
|
GH_ACCOUNT= erincatto
|
||
|
USE_LDCONFIG= yes
|
||
|
|
||
|
WRKSRC_SUBDIR= ${PORTNAME}
|
||
|
|
||
|
CMAKE_ON= BOX2D_INSTALL BOX2D_BUILD_SHARED
|
||
|
CMAKE_OFF= BOX2D_BUILD_STATIC BOX2D_BUILD_EXAMPLES
|
||
|
|
||
|
.include <bsd.port.mk>
|