PORTNAME=	cfg
PORTVERSION=	0.9.11
PORTREVISION=	2
CATEGORIES=	devel
MASTER_SITES=	OSSP/lib/${PORTNAME}
PKGNAMEPREFIX=	ossp-

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Library for parsing arbitrary C/C++-style configuration files
WWW=		http://www.ossp.org/pkg/lib/cfg/

DEPRECATED=	Abandoned upstream, last release in 2006
EXPIRATION_DATE=2025-07-31

LIB_DEPENDS=	libex.so:devel/ossp-ex

USES=		libtool
GNU_CONFIGURE=	yes
GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
CONFIGURE_ARGS=	--with-ex=${LOCALBASE}
USE_LDCONFIG=	yes

check:	build
	@(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} check)

post-install:
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libcfg.so

.include <bsd.port.mk>
