summaryrefslogtreecommitdiff
path: root/emulators/emulationstation/Makefile
blob: 02b92e2a892afbfc6dd4a4d9f650142a9ba5d704 (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
# $FreeBSD$

PORTNAME=	emulationstation
DISTVERSIONPREFIX=	v
DISTVERSION=	2.7.1
PORTREVISION=	2
CATEGORIES=	emulators

MAINTAINER=	freebsd@coombscloud.com
COMMENT=	Graphical front-end for emulators (RetroPie fork)

LICENSE=	APACHE20 MIT
LICENSE_COMB=	multi
LICENSE_FILE_APACHE20=	${WRKSRC}/opensans_license.txt
LICENSE_FILE_MIT=	${WRKSRC}/LICENSE.md

LIB_DEPENDS=	libboost_date_time.so:devel/boost-libs \
		libboost_filesystem.so:devel/boost-libs \
		libboost_locale.so:devel/boost-libs \
		libboost_system.so:devel/boost-libs \
		libcurl.so:ftp/curl \
		libfreeimage.so:graphics/freeimage \
		libfreetype.so:print/freetype2 \
		libpugixml.so:textproc/pugixml \
		libvlc.so:multimedia/vlc

USES=		cmake compiler:gcc-c++11-lib gl pkgconfig
USE_GITHUB=	yes
GH_ACCOUNT=	RetroPie
GH_PROJECT=	EmulationStation
USE_GL=		gl glu
USE_SDL=	sdl2

PLIST_FILES=	bin/emulationstation
PORTDOCS=	CREDITS.md DEVNOTES.md GAMELISTS.md README.md SYSTEMS.md \
		THEMES.md

OPTIONS_DEFINE=	DOCS

post-install-DOCS-on:
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
	cd ${WRKSRC} && ${INSTALL_MAN} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>