Import of pkgsrc-2014Q1

This commit is contained in:
2014-04-17 16:38:45 +02:00
parent 785076ae39
commit 9a8c06dafb
19365 changed files with 828089 additions and 278039 deletions

View File

@@ -1,4 +1,4 @@
# $NetBSD: application.mk,v 1.10 2010/07/24 18:12:11 gdt Exp $
# $NetBSD: application.mk,v 1.11 2014/01/25 10:45:50 wiz Exp $
#
# Replace the #! interpreter for Python scripts.
#
@@ -12,17 +12,14 @@
# REPLACE_PYTHON
# A list of Python scripts to be installed, relative to ${WRKSRC}.
#
# PYTHON_PATCH_SCRIPTS
# The same as REPLACE_PYTHON.
#
# Keywords: python
#
.include "../../lang/python/pyversion.mk"
.if defined(PYTHON_PATCH_SCRIPTS) || defined(REPLACE_PYTHON)
.if defined(REPLACE_PYTHON)
REPLACE_INTERPRETER+= python
REPLACE.python.old= .*python[^ ]*
REPLACE.python.new= ${PYTHONBIN}
REPLACE_FILES.python= ${PYTHON_PATCH_SCRIPTS} ${REPLACE_PYTHON}
REPLACE_FILES.python= ${REPLACE_PYTHON}
.endif