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

PORTNAME=   flare
PORTVERSION=    0.19
CATEGORIES= games
MASTER_SITES=   SF/${PORTNAME}-game/Linux/
DISTNAME=   ${PORTNAME}-game.${PORTVERSION}
PKGNAMESUFFIX=  -game

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

LICENSE=    GPLv3

RUN_DEPENDS=    flare:${PORTSDIR}/games/flare-engine

USES=       cmake
CMAKE_BUILD_TYPE=   #empty
INSTALLS_ICONS= yes

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

PORTDOCS=   *
PORTDATA=   *

DATADIR=    ${PREFIX}/share/${PORTNAME}/${PORTNAME}${PKGNAMESUFFIX}

OPTIONS_DEFINE= DOCS

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

.include <bsd.port.mk>