blob: f3cccff681267c9f2a1380d471a7b5b8448f4bdf (
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
61
62
|
# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
# $FreeBSD$
PORTNAME= easyrpg-player
PORTVERSION= 0.6.1
PORTREVISION= 3
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++11-lib localbase:ldflags pkgconfig \
sdl xorg
CMAKE_ARGS= -DCMAKE_INSTALL_MANDIR=man \
-DPLAYER_AUDIO_BACKEND=SDL2_mixer
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>
|