summaryrefslogtreecommitdiff
path: root/games/liblcf/Makefile
blob: 37d81d0128db60a2f48c8939580590ab3bfdf681 (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
# $NetBSD: Makefile,v 1.9 2020/06/02 08:22:41 adam Exp $

DISTNAME=	liblcf-0.6.2
PKGREVISION=	1
CATEGORIES=	games
MASTER_SITES=	https://easyrpg.org/downloads/player/${PKGVERSION_NOREV}/

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	https://easyrpg.org/
COMMENT=	Library to handle RPG Maker 2000/2003 and EasyRPG projects
LICENSE=	mit

GNU_CONFIGURE=	yes
USE_TOOLS+=	pkg-config gmake
USE_LANGUAGES+=	c c++
USE_LIBTOOL=	yes

# "We require now the C++ language standard C++14.
# The lowest GCC compiler supporting this fully is GCC5"
GCC_REQD+=	5

# Expat in pkgsrc is new enough, however, the version checking fails.
# Remove the version requirement.
SUBST_CLASSES+=		expat
SUBST_STAGE.expat=	pre-configure
SUBST_MESSAGE.expat=	Removing expat version requirement
SUBST_FILES.expat+=	configure
SUBST_SED.expat+=	-e 's|expat >= 2.1|expat|g'

.include "../../databases/shared-mime-info/buildlink3.mk"
.include "../../textproc/expat/buildlink3.mk"
.include "../../textproc/icu/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"