# Created by: vanilla@
# $FreeBSD: branches/RELEASE_8_4_0/devel/py-protobuf/Makefile 314580 2013-03-18 15:14:27Z vanilla $

PORTNAME=	protobuf
PORTVERSION=	2.5.0
CATEGORIES=	devel python
MASTER_SITES=	${MASTER_SITE_GOOGLE_CODE}
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}

MAINTAINER=	vanilla@FreeBSD.org
COMMENT=	Google protobuf Python Client Library

BUILD_DEPENDS=	protoc:${PORTSDIR}/devel/protobuf

WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}/python
PROJECTHOST=	protobuf
USE_BZIP2=	yes
USE_PYTHON=	yes
USE_PYDISTUTILS=	easy_install

pre-build:
	@${MKDIR} ${WRKSRC}/google/protobuf/compiler

.include <bsd.port.mk>
