1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-02 06:03:50 +00:00
freebsd-ports/sysutils/py-pytsk/Makefile
2021-04-06 16:31:07 +02:00

30 lines
702 B
Makefile

# Created by: Antoine Brodin <antoine@FreeBSD.org>
PORTNAME= pytsk
PORTVERSION= 20200117
CATEGORIES= sysutils security devel python
MASTER_SITES= CHEESESHOP
# https://github.com/py4n6/pytsk/releases/download/${PORTVERSION}/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= ${PORTNAME}3-${PORTVERSION}
MAINTAINER= antoine@FreeBSD.org
COMMENT= Python bindings for the Sleuthkit
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libtalloc.so:devel/talloc \
libtsk.so:sysutils/sleuthkit
USES= python:3.5+
USE_PYTHON= distutils autoplist
post-extract:
${RM} ${WRKSRC}/pytsk3.c
post-patch:
${REINPLACE_CMD} 's|%%LOCALBASE%%|${LOCALBASE}|' ${WRKSRC}/setup.py
.include <bsd.port.mk>