aboutsummaryrefslogtreecommitdiffstats
path: root/games/epiar/Makefile
blob: 3f0377baed8def7e8c566b6cd299db5b97161c1e (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
# Created by: nemysis <nemysis@gmx.ch>
# $FreeBSD$

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

MAINTAINER= nemysis@FreeBSD.org
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=    libfreetype.so:${PORTSDIR}/print/freetype2 \
        libftgl.so:${PORTSDIR}/graphics/ftgl \
        libxml2.so:${PORTSDIR}/textproc/libxml2 \
        libphysfs.so:${PORTSDIR}/devel/physfs

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

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

PORTDOCS=   AUTHORS ChangeLog README

OPTIONS_DEFINE= DOCS

# Wrong versioning upstream
PORTSCOUT=  ignore:1

post-install:
    ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.desktop \
        ${STAGEDIR}${DESKTOPDIR}

    @${MKDIR} ${STAGEDIR}${DOCSDIR}
    ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>