mirror of
https://git.freebsd.org/ports.git
synced 2025-05-30 01:46:55 -04:00
38 lines
868 B
Makefile
38 lines
868 B
Makefile
PORTNAME= Babel
|
|
DISTVERSION= 2.16.0
|
|
CATEGORIES= devel python
|
|
MASTER_SITES= PYPI
|
|
DISTNAME= babel-${DISTVERSION}
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= bofh@FreeBSD.org
|
|
COMMENT= Collection of tools for internationalizing Python applications
|
|
WWW= https://babel.pocoo.org/
|
|
|
|
LICENSE= BSD3CLAUSE
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}freezegun>0:devel/py-freezegun@${PY_FLAVOR}
|
|
|
|
USES= cpe python
|
|
CPE_VENDOR= pocoo
|
|
USE_PYTHON= autoplist concurrent distutils pytest
|
|
|
|
NO_ARCH= yes
|
|
PORTDOCS= docs/*
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${PYTHON_REL} < 30900
|
|
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pytz>=2015.7:devel/py-pytz@${PY_FLAVOR}
|
|
.endif
|
|
|
|
do-install-DOCS-on:
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
.for docfile in ${PORTDOCS}
|
|
${CP} -r ${WRKSRC}/${docfile} ${STAGEDIR}${DOCSDIR}
|
|
.endfor
|
|
|
|
.include <bsd.port.post.mk>
|