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

PORTNAME=   flare
PORTVERSION=    0.19
PORTREVISION=   1
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
NO_ARCH=    yes

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

PLIST_FILES=    share/applications/flare.desktop \
        share/icons/hicolor/scalable/apps/flare.svg
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>