pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/lua-rocks
Module Name: pkgsrc
Committed By: nia
Date: Thu Jul 2 12:53:21 UTC 2020
Modified Files:
pkgsrc/devel/lua-rocks: Makefile
Log Message:
lua-rocks: Substitute PREFIX properly
To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 pkgsrc/devel/lua-rocks/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/devel/lua-rocks/Makefile
diff -u pkgsrc/devel/lua-rocks/Makefile:1.12 pkgsrc/devel/lua-rocks/Makefile:1.13
--- pkgsrc/devel/lua-rocks/Makefile:1.12 Thu Jul 2 12:13:36 2020
+++ pkgsrc/devel/lua-rocks/Makefile Thu Jul 2 12:53:21 2020
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.12 2020/07/02 12:13:36 nia Exp $
+# $NetBSD: Makefile,v 1.13 2020/07/02 12:53:21 nia Exp $
DISTNAME= luarocks-3.3.1
PKGNAME= ${DISTNAME:S/luarocks/${LUA_PKGPREFIX}-rocks/}
+PKGREVISION= 1
CATEGORIES= devel lua
MASTER_SITES= https://luarocks.org/releases/
@@ -42,6 +43,11 @@ CONF_FILES= ${LUA_EXAMPLESDIR}/${LUAROC
PLIST_SUBST+= LUADOTVER=${_LUA_DOT_VERSION}
FILES_SUBST+= LUADOTVER=${_LUA_DOT_VERSION}
+SUBST_CLASSES+= prefix
+SUBST_STAGE.prefix= pre-configure
+SUBST_FILES.prefix= src/luarocks/core/cfg.lua
+SUBST_VARS.prefix= PREFIX
+
.include "../../lang/lua/application.mk"
.include "../../lang/lua/module.mk"
.include "../../mk/alternatives.mk"
Home |
Main Index |
Thread Index |
Old Index