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

File: [cvs.NetBSD.org] / pkgsrc / devel / confuse / Makefile (download)

Revision 1.19, Sun Jul 30 22:32:14 2017 UTC (6 years, 6 months ago) by wiz
Branch: MAIN
Changes since 1.18: +2 -2 lines

Switch github HOMEPAGEs to https.

# $NetBSD: Makefile,v 1.19 2017/07/30 22:32:14 wiz Exp $

DISTNAME=	confuse-3.0
CATEGORIES=	devel
MASTER_SITES=	${MASTER_SITE_GITHUB:=martinh/}
GITHUB_TAG=	v${PKGVERSION_NOREV}
GITHUB_PROJECT=	libconfuse

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	https://github.org/martinh/libconfuse/
COMMENT=	Configuration file parser library
LICENSE=	isc

BUILD_DEPENDS+=		gettext-m4-[0-9]*:../../devel/gettext-m4
BUILD_DEPENDS+=		gettext-tools-[0-9]*:../../devel/gettext-tools

GNU_CONFIGURE=		YES
CONFIGURE_ARGS+=	--enable-shared
USE_LIBTOOL=		YES
USE_PKGLOCALEDIR=	YES
USE_TOOLS+=		pkg-config msgfmt autoconf automake flex

PKGCONFIG_OVERRIDE+=	libconfuse.pc.in
INSTALLATION_DIRS=	lib include

# the included, but generated, lexer.c includes a
# definition of a function which is then not used.
BUILDLINK_TRANSFORM+=	rm:-Werror

pre-configure:
	cd ${WRKSRC} && ./autogen.sh

.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"