[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / textproc / inih

File: [cvs.NetBSD.org] / pkgsrc / textproc / inih / Makefile (download)

Revision 1.2, Thu Feb 18 17:27:15 2021 UTC (7 months, 3 weeks ago) by nia
Branch: MAIN
CVS Tags: pkgsrc-2021Q3-base, pkgsrc-2021Q3, pkgsrc-2021Q2-base, pkgsrc-2021Q2, pkgsrc-2021Q1-base, pkgsrc-2021Q1, HEAD
Changes since 1.1: +2 -2 lines

inih: update to 53

Updates to Meson config:

    meson: optionally depend on C++
    meson: enable distro settings by default
    meson: add static compile args to inih_dep

# $NetBSD: Makefile,v 1.2 2021/02/18 17:27:15 nia Exp $

DISTNAME=	inih-r53
PKGNAME=	${DISTNAME:S/-r/-/1}
CATEGORIES=	textproc
MASTER_SITES=	${MASTER_SITE_GITHUB:=benhoyt/}
GITHUB_PROJECT=	inih
GITHUB_TAG=	r${PKGVERSION_NOREV}

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	https://github.com/benhoyt/inih
COMMENT=	Simple .INI file parser in C
LICENSE=	modified-bsd

USE_LANGUAGES=	c c++

MESON_ARGS+=	-Ddefault_library=shared
MESON_ARGS+=	-Ddistro_install=true
MESON_ARGS+=	-Dwith_INIReader=true

PYTHON_FOR_BUILD_ONLY=	tool

PKGCONFIG_OVERRIDE_STAGE=	pre-install
PKGCONFIG_OVERRIDE+=		output/meson-private/inih.pc
PKGCONFIG_OVERRIDE+=		output/meson-private/INIReader.pc

.include "../../devel/meson/build.mk"
.include "../../mk/bsd.pkg.mk"