summaryrefslogtreecommitdiff
path: root/devel/lua-busted
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2020-07-11 17:02:30 +0000
committernia <nia@pkgsrc.org>2020-07-11 17:02:30 +0000
commitcbb8ec4fee71df40051a570605098f43cd58ec96 (patch)
tree38aed9b591353bd505d9ee3170a2e273e16c5cd7 /devel/lua-busted
parent3046931a92f2e6dfd405a514b40ff87a3e501e21 (diff)
downloadpkgsrc-cbb8ec4fee71df40051a570605098f43cd58ec96.tar.gz
lua-busted: add ALTERNATIVES
Diffstat (limited to 'devel/lua-busted')
-rw-r--r--devel/lua-busted/ALTERNATIVES1
-rw-r--r--devel/lua-busted/Makefile3
2 files changed, 3 insertions, 1 deletions
diff --git a/devel/lua-busted/ALTERNATIVES b/devel/lua-busted/ALTERNATIVES
new file mode 100644
index 00000000000..3300ca79a2d
--- /dev/null
+++ b/devel/lua-busted/ALTERNATIVES
@@ -0,0 +1 @@
+bin/busted @PREFIX@/bin/busted@LUADOTVER@
diff --git a/devel/lua-busted/Makefile b/devel/lua-busted/Makefile
index 4052c00dbd0..06d679f186a 100644
--- a/devel/lua-busted/Makefile
+++ b/devel/lua-busted/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2020/07/11 15:22:54 nia Exp $
+# $NetBSD: Makefile,v 1.4 2020/07/11 17:02:30 nia Exp $
DISTNAME= busted-2.0.0
PKGNAME= ${LUA_PKGPREFIX}-${DISTNAME}
@@ -28,6 +28,7 @@ USE_LANGUAGES= # none
REPLACE_LUA+= bin/busted
PLIST_SUBST+= LUADOTVER=${_LUA_DOT_VERSION}
+FILES_SUBST+= LUADOTVER=${_LUA_DOT_VERSION}
INSTALLATION_DIRS+= bin
INSTALLATION_DIRS+= ${LUA_LDIR}/busted