Annotation of pkgsrc/lang/nodejs/application.mk, revision 1.2
1.2 ! gutterid 1: # $NetBSD: application.mk,v 1.1 2019/08/18 03:44:42 maya Exp $
1.1 maya 2: #
1.2 ! gutterid 3: # Replace the #! interpreter for node.js scripts.
1.1 maya 4: #
5: # This mk fragment should be included in all node.js packages that
1.2 ! gutterid 6: # install node scripts.
1.1 maya 7: #
8: # Package-settable variables:
9: #
10: # REPLACE_NODEJS
11: # A list of node scripts to be installed, relative to ${WRKSRC}.
12: #
13: # Keywords: node node.js nodejs
14: #
15: .if defined(REPLACE_NODEJS)
16: REPLACE_INTERPRETER+= nodejs
17: REPLACE.nodejs.old= .*node
18: REPLACE.nodejs.new= ${PREFIX}/bin/node
19: REPLACE_FILES.nodejs= ${REPLACE_NODEJS}
20: .endif
CVSweb <webmaster@jp.NetBSD.org>