mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-19 03:52:17 +00:00
c45b599df9
PR: 224791 Submitted by: jjuanino@gmail.com <maintainer>
35 lines
937 B
Makefile
35 lines
937 B
Makefile
# Created by: José García Juanino <jjuanino@gmail.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= borgbackup
|
|
DISTVERSION= 1.1.4
|
|
CATEGORIES= archivers python
|
|
MASTER_SITES= CHEESESHOP
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= jjuanino@gmail.com
|
|
COMMENT= Deduplicating backup program
|
|
|
|
LICENSE= BSD3CLAUSE
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=1.7:devel/py-setuptools_scm@${FLAVOR}
|
|
LIB_DEPENDS= liblz4.so:archivers/liblz4 \
|
|
libzstd.so:archivers/zstd
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}msgpack-python>=0.4.6:devel/py-msgpack-python@${FLAVOR}
|
|
|
|
OPTIONS_DEFINE= FUSE
|
|
FUSE_DESC= Support to mount locally borg backup files
|
|
OPTIONS_DEFAULT=
|
|
|
|
FUSE_RUN_DEPENDS= ${PYTHONPREFIX_SITELIBDIR}/llfuse.so:devel/py-llfuse
|
|
|
|
USES= python:3.4+ ssl
|
|
USE_PYTHON= autoplist distutils
|
|
|
|
post-install:
|
|
@${FIND} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/borg/ -name "*.so" \
|
|
-exec ${STRIP_CMD} {} \;
|
|
|
|
.include <bsd.port.mk>
|