# New ports collection makefile for:	fb303
# Date created:		2009-08-14
# Whom:			Gea-Suan Lin <gslin@gslin.org>
#
# $FreeBSD: ports/devel/fb303/Makefile,v 1.1 2009/09/25 18:23:56 miwi Exp $
#

PORTNAME=	fb303
PORTVERSION=	20090622
CATEGORIES=	devel
MASTER_SITES=	${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR=	bms
DISTNAME=	thrift-${PORTVERSION}

MAINTAINER=	gslin@gslin.org
COMMENT=	The Facebook Bassline

LIB_DEPENDS=	boost_system:${PORTSDIR}/devel/boost-libs \
		thrift:${PORTSDIR}/devel/thrift

ACLOCAL_ARGS=	-I ./aclocal
AUTOMAKE_ARGS=	-a
CONFIGURE_ARGS=	PY_PREFIX="${PREFIX}"
PLIST_SUB+=	PYTHON_VERSION_SHORTNAME="${PYTHON_VERSION_SHORTNAME}"
PYTHON_VERSION_SHORTNAME=	${PYTHON_VERSION:S/thon//}
USE_AUTOTOOLS=	aclocal:19 automake:19 autoconf:262
USE_BZIP2=	yes
USE_GMAKE=	yes
USE_PYTHON=	yes
WRKSRC=		${WRKDIR}/${DISTNAME}/contrib/fb303

.include <bsd.port.pre.mk>

.if ${OSVERSION} < 700000
IGNORE=		not supported
.endif

.include <bsd.port.post.mk>
