aboutsummaryrefslogtreecommitdiffstats
path: root/games/flare-game/Makefile
blob: 63151aba4095f5e66618e7dc24aab2a2e180590a (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
# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>

PORTNAME=   flare
PORTVERSION=    1.11
DISTVERSIONPREFIX=  v
CATEGORIES= games
PKGNAMESUFFIX=  -game

MAINTAINER= amdmi3@FreeBSD.org
COMMENT=    Free Libre Action Roleplaying Engine: game data

LICENSE=    CC-BY-SA-3.0

RUN_DEPENDS=    flare:games/flare-engine

USE_GITHUB= yes
GH_ACCOUNT= flareteam
GH_PROJECT= ${PORTNAME}${PKGNAMESUFFIX}

USES=       cmake gnome
CMAKE_BUILD_TYPE=   #empty
INSTALLS_ICONS= yes
NO_ARCH=    yes

CMAKE_ARGS= -DBINDIR="bin" -DDATADIR="share/flare"

PORTDOCS=   *
PORTDATA=   *
PLIST_FILES=    share/metainfo/org.flarerpg.Flare.appdata.xml

OPTIONS_DEFINE= DOCS

post-install-DOCS-on:
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}/

.include <bsd.port.mk>