# New ports collection makefile for:		libdispatch
# Date created:					2009-09-23
# Whom:						stas
#
# $FreeBSD: ports/devel/libdispatch/Makefile,v 1.4 2009/09/26 19:54:00 stas Exp $
#

PORTNAME=	libdispatch
PORTVERSION=	46
CATEGORIES=	devel
MASTER_SITES=	ftp://ftp.SpringDaemons.com/soft/
DISTNAME=	${PORTNAME}-r${PORTVERSION}

MAINTAINER=	stas@FreeBSD.org
COMMENT=	Grand Central Dispatch API support library

GNU_CONFIGURE=	yes
USE_BZIP2=	yes
USE_LDCONFIG=	yes

MAN3=	dispatch.3 dispatch_after.3 dispatch_api.3 dispatch_apply.3 \
	dispatch_async.3 dispatch_benchmark.3 dispatch_group_create.3 \
	dispatch_object.3 dispatch_once.3 dispatch_queue_create.3 \
	dispatch_semaphore_create.3 dispatch_source_create.3 dispatch_time.3

#
# Get rid of .la and static library files
#
post-configure:
	@${REINPLACE_CMD} -E -e \
	'/Install the pseudo-library/,/staticlibs=/s,^,#,' ${WRKSRC}/libtool

.include <bsd.port.pre.mk>

.if ${OSVERSION} < 900002
IGNORE=	is not supported on this OS version
.endif

.include <bsd.port.post.mk>
