pkgsrc/lang/qore/application.mk
wiz 32776f45dd Import qore-0.8.11nb2 as lang/qore, packaged for wip by nros.
Qore is a modular, multi-threaded, SQL-integrated dynamically typed
scripting language with optional hard typing and procedural and
object-oriented features, powerful and easy-to-use data types,
structures, and operators, a clean and easy-to-lean/read syntax.
2014-12-30 15:39:51 +00:00

20 lines
494 B
Makefile

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