# Created by: ijliao
# $FreeBSD: branches/RELEASE_8_4_0/devel/libpeak/Makefile 312046 2013-02-11 09:12:35Z gahr $

PORTNAME=	libpeak
PORTVERSION=	0.1.2
CATEGORIES=	devel
MASTER_SITES=	SF/peak/${PORTNAME}/${PORTVERSION}

MAINTAINER=	gahr@FreeBSD.org
COMMENT=	Parallel Events and Asynchronous tasKing Library

ONLY_FOR_ARCHS=	i386 amd64 sparc64

USE_GMAKE=	yes
GNU_CONFIGURE=	yes
USE_LDCONFIG=	yes

regression-test: build
	( \
	    cd ${WRKSRC}/tests; \
	    alltests=`ls *.c | sed -e 's|\.c||g'`; \
	    ${MAKE} $$alltests && ./test-suite.pl $$alltests \
	)

.include <bsd.port.mk>
