summaryrefslogtreecommitdiff
path: root/games/irrlamb/Makefile
blob: cc3ec92d311f9d8ea90021aa3f168cfdfbed2776 (plain) (blame)
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
40
# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
# $FreeBSD$

PORTNAME=	irrlamb
PORTVERSION=	0.2.1
DISTVERSIONPREFIX=	v
CATEGORIES=	games

MAINTAINER=	amdmi3@FreeBSD.org
COMMENT=	3D physics-based puzzle game

LICENSE=	GPLv3+
LICENSE_FILE=	${WRKSRC}/LICENSE

LIB_DEPENDS=	libsqlite3.so:databases/sqlite3 \
		libIrrlicht.so:x11-toolkits/irrlicht \
		libvorbis.so:audio/libvorbis \
		libogg.so:audio/libogg \
		libfreetype.so:print/freetype2 \
		libBulletCollision.so:devel/bullet

USE_GITHUB=	yes
GH_ACCOUNT=	jazztickets

USES=		cmake compiler:c++11-lib lua:53 openal

PORTDOCS=	*
PORTDATA=	*

PLIST_FILES=	bin/irrlamb \
		share/applications/irrlamb.desktop \
		share/pixmaps/irrlamb.png

OPTIONS_DEFINE=	DOCS

post-patch:
	@${REINPLACE_CMD} -e 's|share/games|share|g' ${WRKSRC}/CMakeLists.txt \
		${WRKSRC}/deployment/${PORTNAME}

.include <bsd.port.mk>