summaryrefslogtreecommitdiff
path: root/lang/qore/application.mk
blob: 895142af11503e358dbac7a15a8be5b9fc54096b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# $NetBSD: application.mk,v 1.1 2014/12/30 15:39:51 wiz Exp $
#
# Replace the #! interpreter for Qore scripts.
#
# This mk fragment should be included in all Qore packages that
# install executable Qore scripts.
#
# Package-settable variables:
#
# REPLACE_QORE
#	A list of Qore scripts to be installed, relative to ${WRKSRC}.
#
#

.if defined(REPLACE_QORE)
REPLACE_INTERPRETER+=	qore
REPLACE.qore.old=	.*qore[^ ]*
REPLACE.qore.new=	${PREFIX}/bin/qore
REPLACE_FILES.qore=	${REPLACE_QORE}
.endif