summaryrefslogtreecommitdiff
path: root/games/liblcf/Makefile
blob: 1ee02133065caebb31c0c5ae718f23815f772868 (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
PORTNAME=	liblcf
PORTVERSION=	0.8
PORTREVISION=	1
CATEGORIES=	games

MAINTAINER=	amdmi3@FreeBSD.org
COMMENT=	Library to handle RPG Maker 2000/2003 and EasyRPG projects
WWW=		https://easyrpg.org/ \
		https://github.com/EasyRPG/liblcf

LICENSE=	MIT
LICENSE_FILE=	${WRKSRC}/COPYING

LIB_DEPENDS=	libicui18n.so:devel/icu \
		libexpat.so:textproc/expat2

USE_GITHUB=	yes
GH_ACCOUNT=	EasyRPG

USES=		cmake compiler:c++14-lang pkgconfig shared-mime-info
USE_LDCONFIG=	yes
CMAKE_OFF=	LIBLCF_UPDATE_MIMEDB

PORTDOCS=	AUTHORS.md README.md

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>