blob: 9e25f1c2d47fa31dce756d865faedabee6d271ca (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
# $NetBSD: application.mk,v 1.8 2007/01/24 09:59:02 rillig Exp $
.include "../../lang/python/pyversion.mk"
# replace shell magic by python version specific path
#
# PYTHON_PATCH_SCRIPTS is a list of Python scripts to be installed,
# relative to ${WRKSRC}
#
# Keywords: python
#
.if defined(PYTHON_PATCH_SCRIPTS)
REPLACE_INTERPRETER+= python
REPLACE.python.old= .*python[^ ]*
REPLACE.python.new= ${PYTHONBIN}
REPLACE_FILES.python= ${PYTHON_PATCH_SCRIPTS}
.endif
|