summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2014-01-25 10:45:15 +0000
committerwiz <wiz@pkgsrc.org>2014-01-25 10:45:15 +0000
commitcd2034a69a241488c900469d394306659c70713a (patch)
tree20b275e879e9a02978fb92613c271dbee7b21c37 /security
parent0d00e3eefba959b1aee2446dc7691d3411626d66 (diff)
downloadpkgsrc-cd2034a69a241488c900469d394306659c70713a.tar.gz
No need to have two variables for the same logic.
Replace PYTHON_PATCH_SCRIPTS with REPLACE_PYTHON.
Diffstat (limited to 'security')
-rw-r--r--security/flawfinder/Makefile4
-rw-r--r--security/py-prewikka/Makefile4
-rw-r--r--security/pyca/Makefile6
-rw-r--r--security/sshfp/Makefile4
4 files changed, 9 insertions, 9 deletions
diff --git a/security/flawfinder/Makefile b/security/flawfinder/Makefile
index 7ee705bc515..76b6f1bf4df 100644
--- a/security/flawfinder/Makefile
+++ b/security/flawfinder/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.21 2012/10/23 18:16:27 asau Exp $
+# $NetBSD: Makefile,v 1.22 2014/01/25 10:45:20 wiz Exp $
DISTNAME= flawfinder-1.27
PKGREVISION= 3
@@ -10,7 +10,7 @@ HOMEPAGE= http://www.dwheeler.com/flawfinder/
COMMENT= Python program to find flaws in C/C++ programs
NO_BUILD= yes
-PYTHON_PATCH_SCRIPTS= flawfinder
+REPLACE_PYTHON= flawfinder
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
do-install:
diff --git a/security/py-prewikka/Makefile b/security/py-prewikka/Makefile
index 8f904a76f36..f73f93df1ee 100644
--- a/security/py-prewikka/Makefile
+++ b/security/py-prewikka/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.38 2014/01/25 10:30:20 wiz Exp $
+# $NetBSD: Makefile,v 1.39 2014/01/25 10:45:20 wiz Exp $
DISTNAME= prewikka-${VERSION}
PKGNAME= ${PYPKGPREFIX}-prewikka-${VERSION}
@@ -23,7 +23,7 @@ USE_TOOLS+= msgfmt
PYDISTUTILSPKG= yes
PYSETUP= setup.py
-PYTHON_PATCH_SCRIPTS= scripts/prewikka-httpd
+REPLACE_PYTHON= scripts/prewikka-httpd
PYTHON_VERSIONS_INCOMPATIBLE= 33 # py-cheetah
PREWIKKA_USER?= prewikka
diff --git a/security/pyca/Makefile b/security/pyca/Makefile
index 0d059509b8c..ed5139d4895 100644
--- a/security/pyca/Makefile
+++ b/security/pyca/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.20 2012/10/23 18:16:55 asau Exp $
+# $NetBSD: Makefile,v 1.21 2014/01/25 10:45:20 wiz Exp $
# Date-based distfile name for pre-releases leading to 0.6.6.
DISTNAME= pyca-20031118
@@ -23,7 +23,7 @@ PKG_SYSCONFSUBDIR= openssl
PKG_SYSCONFDIR.openssl?= /etc/openssl
.endif
-PYTHON_PATCH_SCRIPTS= bin/*.py cgi-bin/*.py sbin/*.py
+REPLACE_PYTHON= bin/*.py cgi-bin/*.py sbin/*.py
PYCA_SCRIPT_FIXUP_SED= \
-e "s|/usr/local/pyca/pylib|${PREFIX}/lib/pyca|g" \
@@ -36,7 +36,7 @@ INSTALLATION_DIRS= bin lib/pyca/openssl libexec/cgi-bin sbin \
share/examples/pyca
pyca-script-fixup:
- cd ${WRKSRC}; for file in ${PYTHON_PATCH_SCRIPTS}; do \
+ cd ${WRKSRC}; for file in ${REPLACE_PYTHON}; do \
${SED} ${PYCA_SCRIPT_FIXUP_SED} \
<$${file} >$${file}.fixed; \
${MV} $${file}.fixed $${file}; \
diff --git a/security/sshfp/Makefile b/security/sshfp/Makefile
index 678f8ae7020..5339727d4da 100644
--- a/security/sshfp/Makefile
+++ b/security/sshfp/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2014/01/17 23:11:28 wiz Exp $
+# $NetBSD: Makefile,v 1.9 2014/01/25 10:45:21 wiz Exp $
DISTNAME= sshfp-1.1.3
PKGREVISION= 3
@@ -14,7 +14,7 @@ PYTHON_VERSIONED_DEPENDENCIES= dns
MANCOMPRESSED= yes
NO_BUILD= yes
-PYTHON_PATCH_SCRIPTS= sshfp
+REPLACE_PYTHON= sshfp
.include "../../lang/python/application.mk"
.include "../../lang/python/versioned_dependencies.mk"