Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Feb 2019 07:42:19 +0000 (UTC)
From:      Tobias Kortkamp <tobik@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r492193 - head/security/py-pass-audit
Message-ID:  <201902050742.x157gJGv015687@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201902050742.x157gJGv015687>