# Created by: Kubilay Kocak <koobs@FreeBSD.org>
# $FreeBSD: branches/RELENG_9_2_0/devel/concurrencykit/Makefile 323369 2013-07-21 06:01:49Z koobs $

PORTNAME=	concurrencykit
PORTVERSION=	0.2.20
CATEGORIES=	devel
MASTER_SITES=	http://concurrencykit.org/releases/ \
		http://repnop.org/releases/
DISTNAME=	ck-${PORTVERSION}

MAINTAINER=	koobs@FreeBSD.org
COMMENT=	Lock-free data structures for high performance concurrent systems

LICENSE=	BSD

USES=		pkgconfig
USE_LDCONFIG=	yes

GNU_CONFIGURE=	yes
PLIST_SUB+=	VERSION=${PORTVERSION}

.include "${.CURDIR}/Makefile.man"

post-extract:
	${REINPLACE_CMD} -e 's|PKGCONFIG_DATA=@LIBRARY@|PKGCONFIG_DATA=${PREFIX}/libdata/|g' \
	${WRKSRC}/Makefile.in

regression-test: build
	@cd ${WRKSRC} && ${MAKE} check

.include <bsd.port.mk>
