pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/textproc/lua-cosmo
Module Name: pkgsrc
Committed By: joerg
Date: Thu Aug 6 22:31:15 UTC 2020
Added Files:
pkgsrc/textproc/lua-cosmo: DESCR Makefile PLIST distinfo
Log Message:
Add lua-cosmoso-16.06.04:
Cosmo is a "safe templates" engine. It allows you to fill nested
templates, providing many of the advantages of Turing-complete template
engines, without without the downside of allowing arbitrary code in the
templates.
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/textproc/lua-cosmo/DESCR \
pkgsrc/textproc/lua-cosmo/Makefile pkgsrc/textproc/lua-cosmo/PLIST \
pkgsrc/textproc/lua-cosmo/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Added files:
Index: pkgsrc/textproc/lua-cosmo/DESCR
diff -u /dev/null pkgsrc/textproc/lua-cosmo/DESCR:1.1
--- /dev/null Thu Aug 6 22:31:15 2020
+++ pkgsrc/textproc/lua-cosmo/DESCR Thu Aug 6 22:31:15 2020
@@ -0,0 +1,4 @@
+Cosmo is a "safe templates" engine. It allows you to fill nested
+templates, providing many of the advantages of Turing-complete template
+engines, without without the downside of allowing arbitrary code in the
+templates.
Index: pkgsrc/textproc/lua-cosmo/Makefile
diff -u /dev/null pkgsrc/textproc/lua-cosmo/Makefile:1.1
--- /dev/null Thu Aug 6 22:31:15 2020
+++ pkgsrc/textproc/lua-cosmo/Makefile Thu Aug 6 22:31:15 2020
@@ -0,0 +1,28 @@
+# $NetBSD: Makefile,v 1.1 2020/08/06 22:31:15 joerg Exp $
+
+DISTNAME= lua-cosmoso-16.06.04
+PKGNAME= ${DISTNAME:S/lua-/${LUA_PKGPREFIX}-/1}
+CATEGORIES= textproc lua
+MASTER_SITES= ${MASTER_SITE_GITHUB:=mascarenhas/}
+GITHUB_PROJECT= cosmo
+GITHUB_TAG= v${PKGVERSION_NOREV}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://github.com/mascarenhas/cosmo/
+COMMENT= Lua template engine
+LICENSE= mit
+
+USE_TOOLS+= gmake
+
+INSTALLATION_DIRS+= ${LUA_LDIR}/cosmo
+
+do-install:
+ ${INSTALL_DATA} ${WRKSRC}/src/cosmo.lua ${DESTDIR}${PREFIX}/${LUA_LDIR}
+ ${INSTALL_DATA} ${WRKSRC}/src/cosmo/*.lua \
+ ${DESTDIR}${PREFIX}/${LUA_LDIR}/cosmo
+
+do-test:
+ cd ${WRKSRC}/tests && ${LUA_INTERPRETER} test_cosmo.lua
+
+.include "../../lang/lua/module.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/textproc/lua-cosmo/PLIST
diff -u /dev/null pkgsrc/textproc/lua-cosmo/PLIST:1.1
--- /dev/null Thu Aug 6 22:31:15 2020
+++ pkgsrc/textproc/lua-cosmo/PLIST Thu Aug 6 22:31:15 2020
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.1 2020/08/06 22:31:15 joerg Exp $
+${LUA_LDIR}/cosmo.lua
+${LUA_LDIR}/cosmo/fill.lua
+${LUA_LDIR}/cosmo/grammar.lua
Index: pkgsrc/textproc/lua-cosmo/distinfo
diff -u /dev/null pkgsrc/textproc/lua-cosmo/distinfo:1.1
--- /dev/null Thu Aug 6 22:31:15 2020
+++ pkgsrc/textproc/lua-cosmo/distinfo Thu Aug 6 22:31:15 2020
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2020/08/06 22:31:15 joerg Exp $
+
+SHA1 (lua-cosmoso-16.06.04.tar.gz) = eb00692ae22542eccfb608f69a9d9fb6c1f1c51c
+RMD160 (lua-cosmoso-16.06.04.tar.gz) = 0ca12a5faa1ea22a074a2e380f25c1ec132a205a
+SHA512 (lua-cosmoso-16.06.04.tar.gz) = 3bd67d48693c46038f2e644b0ae380a169b8811ca72b03d99847bef7911812f6e447c2edec3440dc93f9ac505397938a57af4a683a7745e48692625398bbe585
+Size (lua-cosmoso-16.06.04.tar.gz) = 25798 bytes
Home |
Main Index |
Thread Index |
Old Index