svn commit: r492193 - head/security/py-pass-audit

Tobias Kortkamp tobik at FreeBSD.org
Tue Feb 5 07:42:20 UTC 2019


Author: tobik
Date: Tue Feb  5 07:42:19 2019
New Revision: 492193
URL: https://svnweb.freebsd.org/changeset/ports/492193

Log:
  security/py-pass-audit: Replace python3 with ${PYTHON_CMD} in audit.bash
  
  PR:		235510
  Submitted by:	maintainer

Modified:
  head/security/py-pass-audit/Makefile

Modified: head/security/py-pass-audit/Makefile
==============================================================================
--- head/security/py-pass-audit/Makefile	Tue Feb  5 07:28:05 2019	(r492192)
+++ head/security/py-pass-audit/Makefile	Tue Feb  5 07:42:19 2019	(r492193)
@@ -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}
@@ -25,6 +26,9 @@ NO_ARCH=	yes
 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 \


More information about the svn-ports-head mailing list