From 2e4f02d791fc4989f5fbcc5ef0ddbfdab9bf4298 Mon Sep 17 00:00:00 2001 From: Antoine Brodin Date: Sun, 19 Oct 2014 22:40:28 +0000 Subject: [PATCH] Adjust to work with new openpyxl --- security/py-volatility/Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/security/py-volatility/Makefile b/security/py-volatility/Makefile index 4913b622ce60..227915e3791d 100644 --- a/security/py-volatility/Makefile +++ b/security/py-volatility/Makefile @@ -3,7 +3,7 @@ PORTNAME= volatility PORTVERSION= 2.4 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= security python MASTER_SITES= http://downloads.volatilityfoundation.org/releases/${PORTVERSION}/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -33,6 +33,11 @@ DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME} 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}