aboutsummaryrefslogtreecommitdiffstats
path: root/devel/py-babel/Makefile
blob: e1eb992effb8328357caee52d15afff4552497f8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Created by: Dryice Liu<dryice@dryice.name>
# $FreeBSD$

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>