blob: 65a72091f9f29d0825a7b1a97f5da18a38e0f3e7 (
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
58
59
60
|
PORTNAME= easyrpg-player
PORTVERSION= 0.6.2.3
PORTREVISION= 2
CATEGORIES= games
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= RPG Maker 2000/2003 and EasyRPG games interpreter
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= liblcf.so:games/liblcf \
libpng.so:graphics/png \
libfreetype.so:print/freetype2 \
libharfbuzz.so:print/harfbuzz \
libspeexdsp.so:audio/speexdsp \
libmpg123.so:audio/mpg123 \
libsndfile.so:audio/libsndfile \
libvorbis.so:audio/libvorbis \
libogg.so:audio/libogg \
libopusfile.so:audio/opusfile \
libopus.so:audio/opus \
libWildMidi.so:audio/wildmidi \
libxmp.so:audio/libxmp \
libFLAC.so:audio/flac \
libmodplug.so:audio/libmodplug
# these come from liblcf
LIB_DEPENDS+= libicui18n.so:devel/icu \
libexpat.so:textproc/expat2
BUILD_DEPENDS= asciidoc:textproc/asciidoc \
${LOCALBASE}/include/boost/shared_ptr.hpp:devel/boost-libs
USE_GITHUB= yes
GH_ACCOUNT= EasyRPG
GH_PROJECT= Player
USES= cmake:insource compiler:c++14-lang localbase:ldflags pkgconfig \
sdl xorg
CMAKE_ARGS= -DCMAKE_INSTALL_MANDIR=man \
-DPLAYER_AUDIO_BACKEND=SDL2_mixer \
-DCMAKE_DISABLE_FIND_PACKAGE_Git=TRUE
USE_XORG= pixman
USE_SDL= sdl2 mixer2
PORTDOCS= AUTHORS.md README.md
OPTIONS_DEFINE= DOCS
post-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/share/bash-completion/completions
${INSTALL_DATA} ${WRKSRC}/resources/unix/bash-completion/easyrpg-player \
${STAGEDIR}${PREFIX}/share/bash-completion/completions/
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}/
.endfor
.include <bsd.port.mk>
|