head	1.1;
access;
symbols;
locks; strict;
comment	@# @;


1.1
date	2026.11.14.07.32.58;	author wiz;	state Exp;
branches;
next	;
commitid	xxHvutfkWOYRQo3H;


desc
@@


1.1
log
@devel/stirmake: import stirmake-0.4.5

Packaged in wip by Juha-Matti Tilli

Stirmake is a fast build tool intended to allow easily developing
correct build systems with one global directed acyclic graph for
projects spanning multiple directories and potentially including Git
submodules. It is fully programmable in the embedded Amyplan programming
language. The intention is that with Stirmake, one never has to type the
equivalent of "make clean" to fix a build.
@
text
@# $NetBSD$

PKG_OPTIONS_VAR=		PKG_OPTIONS.stirmake
PKG_SUPPORTED_OPTIONS=

PKG_OPTIONS_OPTIONAL_GROUPS=	luaconf
PKG_OPTIONS_GROUP.luaconf=	lua luajit

PKG_SUGGESTED_OPTIONS=

.include "../../mk/bsd.options.mk"

STIR_WITH_LUA=		0
STIR_LUAINCS=
STIR_LUALIBS=

.if !empty(PKG_OPTIONS:Mlua)
LUA_VERSIONS_ACCEPTED=	55 54 53 52 51
.include "../../lang/lua/buildlink3.mk"
STIR_WITH_LUA=		1
STIR_LUAINCS=		-I.
STIR_LUALIBS=		-llua
.elif !empty(PKG_OPTIONS:Mluajit)
.include "../../lang/LuaJIT2/buildlink3.mk"
STIR_WITH_LUA=		1
STIR_LUAINCS=		-I.
STIR_LUALIBS=		-lluajit-5.1
.endif
@
