Annotation of pkgsrc/lang/python/application.mk, revision 1.8

1.8     ! rillig      1: # $NetBSD: application.mk,v 1.7 2006/03/11 10:07:50 ghen Exp $
1.1       jlam        2: 
                      3: .include "../../lang/python/pyversion.mk"
                      4: 
                      5: # replace shell magic by python version specific path
1.8     ! rillig      6: #
1.1       jlam        7: # PYTHON_PATCH_SCRIPTS is a list of Python scripts to be installed,
                      8: #  relative to ${WRKSRC}
1.8     ! rillig      9: #
        !            10: # Keywords: python
        !            11: #
1.1       jlam       12: 
                     13: .if defined(PYTHON_PATCH_SCRIPTS)
1.6       drochner   14: REPLACE_INTERPRETER+=  python
1.7       ghen       15: REPLACE.python.old=    .*python[^ ]*
                     16: REPLACE.python.new=    ${PYTHONBIN}
                     17: REPLACE_FILES.python=  ${PYTHON_PATCH_SCRIPTS}
1.1       jlam       18: .endif

CVSweb <webmaster@jp.NetBSD.org>