aboutsummaryrefslogtreecommitdiff
path: root/security/gef/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'security/gef/Makefile')
-rw-r--r--security/gef/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/security/gef/Makefile b/security/gef/Makefile
index 989d04273d6b..f922656ce851 100644
--- a/security/gef/Makefile
+++ b/security/gef/Makefile
@@ -1,5 +1,6 @@
PORTNAME= gef
DISTVERSION= 2022.01
+PORTREVISION= 1
CATEGORIES= security python
MAINTAINER= 0mp@FreeBSD.org
@@ -34,6 +35,9 @@ OPTIONALDEPS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}capstone>0:devel/py-capstone@${
_UTILITY_NAME= gef.py
+post-patch:
+ ${REINPLACE_CMD} 's|%%PYTHON%%|${PYTHON_CMD:T}|g' ${WRKSRC}/${_UTILITY_NAME}
+
do-install:
@${MKDIR} ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${WRKSRC}/${_UTILITY_NAME} ${STAGEDIR}${DATADIR}