PORTNAME=	libconfuse
PORTVERSION=	3.3
PORTREVISION=	2
CATEGORIES=	devel
MASTER_SITES=	https://github.com/libconfuse/libconfuse/releases/download/v${PORTVERSION}/
DISTNAME=	confuse-${PORTVERSION}

MAINTAINER=	otis@FreeBSD.org
COMMENT=	Configuration file parsing library
WWW=		https://savannah.nongnu.org/projects/confuse/

LICENSE=	ISCL

USES=		cpe iconv libtool pathfix pkgconfig tar:xz
CPE_VENDOR=	${PORTNAME}_project
USE_LDCONFIG=	yes

GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--enable-shared --disable-examples
INSTALL_TARGET=	install-strip
TEST_TARGET=	check

OPTIONS_DEFINE=		NLS
OPTIONS_SUB=		yes

NLS_USES=			gettext
NLS_CONFIGURE_ENABLE=		nls

.include <bsd.port.mk>
