# Created by: antoine@FreeBSD.org # $FreeBSD$ PORTNAME= volatility PORTVERSION= 2.4 PORTREVISION= 2 CATEGORIES= security python MASTER_SITES= http://downloads.volatilityfoundation.org/releases/${PORTVERSION}/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= antoine@FreeBSD.org COMMENT= Advanced memory forensics framework LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE.txt RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}distorm>=0:${PORTSDIR}/devel/py-distorm \ ${PYTHON_PKGNAMEPREFIX}pillow>=0:${PORTSDIR}/graphics/py-pillow \ ${PYTHON_PKGNAMEPREFIX}pycrypto>=0:${PORTSDIR}/security/py-pycrypto \ ${PYTHON_PKGNAMEPREFIX}yara>=0:${PORTSDIR}/security/py-yara \ ${PYTHON_PKGNAMEPREFIX}openpyxl>=0:${PORTSDIR}/textproc/py-openpyxl USES= python:2 USE_PYTHON= distutils autoplist OPTIONS_DEFINE= DOCS DATADIR= ${PREFIX}/share/py-${PORTNAME} PORTDOCS= AUTHORS.txt CHANGELOG.txt CREDITS.txt LEGAL.txt README.txt DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME} .include PYDISTUTILS_INSTALLARGS+=--install-data ${DATADIR} post-patch: @${REINPLACE_CMD} 's,openpyxl.style,openpyxl.styles,' \ ${WRKSRC}/volatility/plugins/malware/psxview.py \ ${WRKSRC}/volatility/plugins/timeliner.py post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} .include