# Created by: Antoine Brodin # $FreeBSD: head/sysutils/py-pytsk/Makefile 524038 2020-01-25 13:23:13Z antoine $ 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