aboutsummaryrefslogtreecommitdiffstats
path: root/games/epiar/Makefile
blob: 3c9f394d6e87b99ecdacb5a0cc8bffd722235c7c (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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# Created by: nemysis <nemysis@gmx.ch>
# $FreeBSD$

PORTNAME=   epiar
PORTVERSION=    0.5.1
PORTREVISION=   2
CATEGORIES= games
MASTER_SITES=   GH

MAINTAINER= nemysis@gmx.ch
COMMENT=    Space trading/exploring sim with RPG elements

LICENSE=    GPLv2 CCbyNCSA3
LICENSE_COMB=   dual
LICENSE_NAME_CCbyNCSA3=Attribution-NonCommercial-ShareAlike 3.0 Unported
LICENSE_FILE_CCbyNCSA3=${WRKSRC}/LICENSE.music
LICENSE_PERMS_CCbyNCSA3=dist-mirror pkg-mirror auto-accept

LIB_DEPENDS=    freetype:${PORTSDIR}/print/freetype2 \
        ftgl:${PORTSDIR}/graphics/ftgl \
        xml2:${PORTSDIR}/textproc/libxml2 \
        physfs:${PORTSDIR}/devel/physfs

USE_GITHUB= yes
GH_ACCOUNT= knowknowledge
GH_PROJECT= Epiar
GH_TAGNAME= ${GH_COMMIT}
GH_COMMIT=  44046e3

USES=       pkgconfig
USE_SDL=    image mixer sdl
USE_GL=     glu
USE_AUTOTOOLS=  aclocal autoheader automake autoconf
AUTOMAKE_ARGS=  --add-missing
ACLOCAL_ARGS=
GNU_CONFIGURE=  yes
USE_GMAKE=  yes
MAKE_JOBS_SAFE= yes

PORTDOCS=   AUTHORS ChangeLog README

OPTIONS_DEFINE= DOCS

.include <bsd.port.options.mk>

post-install:
    @${MKDIR} ${PREFIX}/share/applications
    ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.desktop ${PREFIX}/share/applications

.if ${PORT_OPTIONS:MDOCS}
    @${MKDIR} ${DOCSDIR}
    ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
.endif

.include <bsd.port.mk>