freebsd-ports/sysutils/py-pytsk/Makefile
2020-01-25 13:23:13 +00:00

31 lines
714 B
Makefile

# Created by: Antoine Brodin <antoine@FreeBSD.org>
# $FreeBSD$
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>