39 lines
1.5 KiB
Makefile
39 lines
1.5 KiB
Makefile
PORTNAME= fava
|
|
PORTVERSION= 1.23.1
|
|
CATEGORIES= finance
|
|
MASTER_SITES= CHEESESHOP
|
|
|
|
MAINTAINER= nivit@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.7: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>1:devel/py-flask-babel@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}Flask>=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}werkzeug>2:www/py-werkzeug@${PY_FLAVOR} \
|
|
beancount>=2.1.3:finance/beancount
|
|
|
|
USES= python:3.5+ # same as finance/beancount
|
|
USE_PYTHON= autoplist distutils noflavors
|
|
|
|
# Upstream archive contains files with UTF-8 names
|
|
EXTRACT_CMD= ${SETENV} LC_ALL=en_US.UTF-8 /usr/bin/bsdtar
|
|
|
|
post-patch:
|
|
@${ECHO_CMD} "from setuptools import setup" > ${WRKSRC}/setup.py
|
|
@${ECHO_CMD} "setup()" >> ${WRKSRC}/setup.py
|
|
|
|
.include <bsd.port.mk>
|