aboutsummaryrefslogtreecommitdiffstats
path: root/games/easyrpg-player/Makefile
blob: 8b2b04a71ed9313de8d450cba53c348719e5cc99 (plain) (blame)
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
# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
# $FreeBSD$

PORTNAME=   easyrpg-player
PORTVERSION=    0.5.3
PORTREVISION=   1
CATEGORIES= games

MAINTAINER= amdmi3@FreeBSD.org
COMMENT=    RPG Maker 2000/2003 and EasyRPG games interpreter

LICENSE=    GPLv3+
LICENSE_FILE=   ${WRKSRC}/COPYING

LIB_DEPENDS=    libfreetype.so:print/freetype2 \
        libpng.so:graphics/png \
        liblcf.so:games/liblcf \
        libharfbuzz.so:print/harfbuzz \
        libmpg123.so:audio/mpg123 \
        libvorbis.so:audio/libvorbis \
        libsndfile.so:audio/libsndfile \
        libxmp.so:audio/libxmp \
        libspeexdsp.so:audio/speexdsp \
        libopusfile.so:audio/opusfile
BUILD_DEPENDS=  asciidoc:textproc/asciidoc \
        ${LOCALBASE}/include/boost/shared_ptr.hpp:devel/boost-libs

USE_GITHUB= yes
GH_ACCOUNT= EasyRPG
GH_PROJECT= Player

USES=       autoreconf compiler:c++11-lib gmake libtool localbase pkgconfig
GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --with-bash-completion-dir=${PREFIX}/share/bash-completion/completions
USE_XORG=   pixman
USE_SDL=    sdl2 mixer2

PORTDOCS=   AUTHORS README

OPTIONS_DEFINE= DOCS

post-install-DOCS-on:
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in ${PORTDOCS}
    ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}/
.endfor

.include <bsd.port.mk>