freebsd-ports/security/py-dfwinreg/Makefile
2021-04-06 16:31:07 +02:00

34 lines
961 B
Makefile

# Created by: Antoine Brodin <antoine@FreeBSD.org>
PORTNAME= dfwinreg
PORTVERSION= 20201006
CATEGORIES= security devel python
MASTER_SITES= https://github.com/log2timeline/dfwinreg/releases/download/${PORTVERSION}/ \
LOCAL/antoine
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= antoine@FreeBSD.org
COMMENT= Digital Forensics Windows Registry
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= libcreg>=e:devel/libcreg \
libregf>=a:devel/libregf \
${PYTHON_PKGNAMEPREFIX}dtfabric>=0:devel/py-dtfabric@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}dfdatetime>=0:security/py-dfdatetime@${PY_FLAVOR}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock@${PY_FLAVOR}
USES= python:3.5+
USE_PYTHON= distutils autoplist concurrent
NO_ARCH= yes
post-patch:
${REINPLACE_CMD} "s,share/doc/dfwinreg,${DOCSDIR_REL}," ${WRKSRC}/setup.py
do-test:
@(cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} run_tests.py)
.include <bsd.port.mk>