pkgsrc-wip/qore/application.mk
2014-06-02 16:35:07 +00:00

20 lines
495 B
Makefile

# $NetBSD: application.mk,v 1.2 2014/06/02 16:35:07 nros 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