mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
security/gef: Do not depend on "python3" executable
Instead, use "pythonX.Y", as recommended by the ports framework. MFH: 2022Q2
This commit is contained in:
parent
d574305f9f
commit
8bc0ccb51f
1 changed files with 4 additions and 0 deletions
|
@ -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}
|
||||
|
|
Loading…
Add table
Reference in a new issue