Files
ports/finance/fava/Makefile
T
Tijl Coosemans b6ec06f079 */*: Use C.UTF-8 locale
Ports 02f27a83b4 fixed the ports tree to the C locale so it would work
correctly in environments where users use a locale that isn't compatible
with the C locale, e.g. xx_YY.UTF-8 where [A-Z] includes more than just
upper case letters.  USE_LOCALE was introduced to let ports use another
locale if they needed it.  The C.UTF-8 locale was created later on to be
mostly compatible with the C locale.

Switch the ports tree locale to C.UTF-8 and remove USE_LOCALE.  The
world has moved to Unicode so all ports either require it or know how to
build correctly in a Unicode environment.

PR:		295945
Exp-run by:	antoine
2026-06-30 22:03:57 +02:00

41 lines
1.5 KiB
Makefile

PORTNAME= fava
PORTVERSION= 1.30.14
CATEGORIES= finance
MASTER_SITES= PYPI
MAINTAINER= delphij@FreeBSD.org
COMMENT= Web interface for Beancount
WWW= https://beancount.github.io/fava/
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools-scm>0:devel/py-setuptools-scm@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Babel>=2.11:devel/py-babel@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}cheroot>=8:www/py-cheroot@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}click>=7:devel/py-click@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}flask-babel>=3:devel/py-flask-babel@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}flask>=2.2:www/py-flask@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}Jinja2>=3:devel/py-Jinja2@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}markdown2>=2.3.0:textproc/py-markdown2@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}ply>0:devel/py-ply@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}requests>=0:www/py-requests@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}simplejson>=3.16.0:devel/py-simplejson@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}watchfiles>=0.21.0:devel/py-watchfiles@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}werkzeug>2:www/py-werkzeug@${PY_FLAVOR} \
beangulp>0:finance/beangulp \
beanquery>0:finance/beanquery \
beancount>=2.1.3:finance/beancount
USES= python # same as finance/beancount
USE_PYTHON= autoplist distutils noflavors
NO_ARCH= yes
post-patch:
@${ECHO_CMD} "from setuptools import setup" > ${WRKSRC}/setup.py
@${ECHO_CMD} "setup()" >> ${WRKSRC}/setup.py
.include <bsd.port.mk>