aboutsummaryrefslogtreecommitdiffstats
path: root/games/irrlamb/Makefile
blob: 372177077fe5bee5bc0aece82c35a226ed8de6e8 (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
PORTNAME=   irrlamb
PORTVERSION=    0.2.1
PORTREVISION=   8
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

LDFLAGS_i386=   -Wl,-znotext

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>