diff options
author | nia <nia@pkgsrc.org> | 2020-07-10 10:24:31 +0000 |
---|---|---|
committer | nia <nia@pkgsrc.org> | 2020-07-10 10:24:31 +0000 |
commit | 55038638a12e0b85f299c9d85b983dfc4d80ccc4 (patch) | |
tree | 21a98d9d00732c89e1b31f3dbc714699a20c1d9f /devel/lua-busted | |
parent | e25304aa9b72f2de428fba4ca6fbe34e7d9ddb80 (diff) | |
download | pkgsrc-55038638a12e0b85f299c9d85b983dfc4d80ccc4.tar.gz |
lua-busted: Use REPLACE_LUA
Diffstat (limited to 'devel/lua-busted')
-rw-r--r-- | devel/lua-busted/Makefile | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/devel/lua-busted/Makefile b/devel/lua-busted/Makefile index 55cbccfa848..4bffa54b9d8 100644 --- a/devel/lua-busted/Makefile +++ b/devel/lua-busted/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1 2020/07/08 16:23:23 nia Exp $ +# $NetBSD: Makefile,v 1.2 2020/07/10 10:24:31 nia Exp $ DISTNAME= busted-2.0.0 PKGNAME= ${LUA_PKGPREFIX}-${DISTNAME} @@ -25,6 +25,8 @@ DEPENDS+= ${LUA_PKGPREFIX}-mediator-[0-9]*:../../devel/lua-mediator NO_BUILD= yes USE_LANGUAGES= # none +REPLACE_LUA+= bin/busted + PLIST_SUBST+= LUADOTVER=${_LUA_DOT_VERSION} INSTALLATION_DIRS+= bin @@ -34,12 +36,6 @@ INSTALLATION_DIRS+= ${LUA_LDIR}/busted/modules/files INSTALLATION_DIRS+= ${LUA_LDIR}/busted/outputHandlers INSTALLATION_DIRS+= ${LUA_LDIR}/busted/languages -SUBST_CLASSES+= lua -SUBST_MESSAGE.lua= Fixing Lua interpreter path -SUBST_STAGE.lua= pre-configure -SUBST_FILES.lua= bin/busted -SUBST_SED.lua= -e 's,/usr/bin/env lua,${LUA_INTERPRETER},g' - do-install: ${INSTALL_DATA} ${WRKSRC}/busted/*.lua \ ${DESTDIR}${PREFIX}/${LUA_LDIR}/busted @@ -54,5 +50,6 @@ do-install: ${INSTALL_PROGRAM} ${WRKSRC}/bin/busted \ ${DESTDIR}${PREFIX}/bin/busted${_LUA_DOT_VERSION} +.include "../../lang/lua/application.mk" .include "../../lang/lua/module.mk" .include "../../mk/bsd.pkg.mk" |