# $NetBSD: Makefile,v 1.17 2023/11/08 13:19:19 wiz Exp $ DISTNAME= liblcf-0.7.0 PKGREVISION= 4 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' PKGCONFIG_OVERRIDE+= builds/liblcf.pc.in .include "../../databases/shared-mime-info/buildlink3.mk" .include "../../textproc/expat/buildlink3.mk" .include "../../textproc/icu/buildlink3.mk" .include "../../mk/bsd.pkg.mk"