summaryrefslogtreecommitdiffstats
path: root/games/epiar/Makefile
blob: 0b4cefd344d7b812ccfa9e2cc63139a28af21276 (plain)
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
# Created by: Rusmir Dusko <nemysis@FreeBSD.org>
# $FreeBSD$

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

MAINTAINER=	ports@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=		autoreconf gmake pkgconfig
USE_SDL=	image mixer sdl
USE_GL=		glu
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>
OpenPOWER on IntegriCloud