summaryrefslogtreecommitdiff
path: root/security/pyca
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/pyca
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/pyca')
-rw-r--r--security/pyca/Makefile6
1 files changed, 3 insertions, 3 deletions
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}; \