29 lines
678 B
Makefile
29 lines
678 B
Makefile
# Created by: Antoine Brodin <antoine@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= pytsk
|
|
PORTVERSION= 20170128
|
|
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
|
|
|
|
LIB_DEPENDS= libtalloc.so:devel/talloc \
|
|
libtsk.so:sysutils/sleuthkit
|
|
|
|
USES= python
|
|
USE_PYTHON= distutils autoplist
|
|
|
|
post-extract:
|
|
${RM} ${WRKSRC}/pytsk3.c
|
|
|
|
post-patch:
|
|
${REINPLACE_CMD} 's|%%LOCALBASE%%|${LOCALBASE}|' ${WRKSRC}/setup.py
|
|
|
|
.include <bsd.port.mk>
|