blob: 7c28e394205520b3a8deaad674a20dcf63bddbbd (
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
48
49
50
51
52
53
54
55
56
57
|
PORTNAME= emulationstation
DISTVERSIONPREFIX= v
DISTVERSION= 2.9.4
PORTREVISION= 4
CATEGORIES= emulators
MAINTAINER= freebsd@coombscloud.com
COMMENT= Graphical front-end for emulators (RetroPie fork)
WWW= https://github.com/RetroPie/EmulationStation
LICENSE= APACHE20 MIT
LICENSE_COMB= multi
LICENSE_FILE_APACHE20= ${WRKSRC}/opensans_license.txt
LICENSE_FILE_MIT= ${WRKSRC}/LICENSE.md
BUILD_DEPENDS= ${LOCALBASE}/include/rapidjson/document.h:devel/rapidjson
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 sdl
USE_GITHUB= yes
GH_ACCOUNT= RetroPie
GH_PROJECT= EmulationStation
USE_GL= gl glu
USE_SDL= sdl2
PORTDOCS= CREDITS.md DEVNOTES.md GAMELISTS.md README.md SYSTEMS.md \
THEMES.md
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e 's|<pugixml/src/pugixml.hpp>|<pugixml.hpp>|g' \
${WRKSRC}/es-app/src/CollectionSystemManager.cpp \
${WRKSRC}/es-app/src/Gamelist.cpp \
${WRKSRC}/es-app/src/MetaData.cpp \
${WRKSRC}/es-app/src/SystemData.cpp \
${WRKSRC}/es-app/src/scrapers/GamesDBJSONScraper.cpp \
${WRKSRC}/es-app/src/scrapers/ScreenScraper.cpp \
${WRKSRC}/es-core/src/InputConfig.cpp \
${WRKSRC}/es-core/src/InputManager.cpp \
${WRKSRC}/es-core/src/MameNames.cpp \
${WRKSRC}/es-core/src/Settings.cpp \
${WRKSRC}/es-core/src/ThemeData.cpp
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_MAN} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
|