Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/textproc/lua-cosmo Add lua-cosmoso-16.06.04:
details: https://anonhg.NetBSD.org/pkgsrc/rev/b4743f58d380
branches: trunk
changeset: 436602:b4743f58d380
user: joerg <joerg%pkgsrc.org@localhost>
date: Thu Aug 06 22:31:15 2020 +0000
description:
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.
diffstat:
textproc/lua-cosmo/DESCR | 4 ++++
textproc/lua-cosmo/Makefile | 28 ++++++++++++++++++++++++++++
textproc/lua-cosmo/PLIST | 4 ++++
textproc/lua-cosmo/distinfo | 6 ++++++
4 files changed, 42 insertions(+), 0 deletions(-)
diffs (58 lines):
diff -r e6e2cf6b679e -r b4743f58d380 textproc/lua-cosmo/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/lua-cosmo/DESCR Thu Aug 06 22:31:15 2020 +0000
@@ -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.
diff -r e6e2cf6b679e -r b4743f58d380 textproc/lua-cosmo/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/lua-cosmo/Makefile Thu Aug 06 22:31:15 2020 +0000
@@ -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"
diff -r e6e2cf6b679e -r b4743f58d380 textproc/lua-cosmo/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/lua-cosmo/PLIST Thu Aug 06 22:31:15 2020 +0000
@@ -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
diff -r e6e2cf6b679e -r b4743f58d380 textproc/lua-cosmo/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/lua-cosmo/distinfo Thu Aug 06 22:31:15 2020 +0000
@@ -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