# Created by: Dryice Liu<dryice@dryice.name>
# $FreeBSD: tags/RELEASE_10_4_0/devel/py-babel/Makefile 415560 2016-05-20 17:06:47Z olivierd $

PORTNAME=	Babel
PORTVERSION=	2.3.4
CATEGORIES=	devel python
MASTER_SITES=	https://pypi.io/packages/source/B/${PORTNAME}/
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}

MAINTAINER=	gaod@hychen.org
COMMENT=	Collection of tools for internationalizing Python applications

LICENSE=	BSD3CLAUSE

RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytz>0:devel/py-pytz

USES=		python
USE_PYTHON=	autoplist concurrent distutils
NO_ARCH=	yes

PORTDOCS=	docs/*

OPTIONS_DEFINE=	DOCS

post-install-DOCS-on:
	${MKDIR} ${STAGEDIR}${DOCSDIR}
.for docfile in ${PORTDOCS}
	${CP} -r ${WRKSRC}/${docfile} ${STAGEDIR}${DOCSDIR}
.endfor

.include <bsd.port.mk>
