pkgsrc/lang/qore/application.mk

21 lines
494 B
Makefile
Raw Normal View History

# $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