1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00

security/py-pass-audit: Replace python3 with ${PYTHON_CMD} in audit.bash

PR:		235510
Submitted by:	maintainer
This commit is contained in:
Tobias Kortkamp 2019-02-05 07:42:19 +00:00
parent a0b924b7b6
commit 32264f9d41
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=492193

View File

@ -2,6 +2,7 @@
PORTNAME= pass-audit
PORTVERSION= 1.0.1
PORTREVISION= 1
CATEGORIES= security
MASTER_SITES= https://github.com/roddhjav/${PORTNAME}/releases/download/v${PORTVERSION}/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@ -26,6 +27,9 @@ NO_BUILD= yes
SHEBANG_FILES= ${WRKSRC}/pass_audit.py
post-patch:
@${REINPLACE_CMD} -e 's:\<python3\>:${PYTHON_CMD}:g' ${WRKSRC}/audit.bash
pre-install:
${INSTALL_MAN} ${WRKSRC}/pass-audit.1 \
${STAGEDIR}${MANPREFIX}/man/man1/pass-audit.1