Received: by mail.netbsd.org (Postfix, from userid 605) id 2F82584D65; Tue, 17 Sep 2019 23:36:56 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id ABD4584D26 for ; Tue, 17 Sep 2019 23:36:55 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id CtJ0nBlLBXIX for ; Tue, 17 Sep 2019 23:36:54 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id ADCF884C2B for ; Tue, 17 Sep 2019 23:36:54 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id A75DEFBF4; Tue, 17 Sep 2019 23:36:54 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1568763414139020" MIME-Version: 1.0 Date: Tue, 17 Sep 2019 23:36:54 +0000 From: "Nia Alarie" Subject: CVS commit: pkgsrc/textproc To: pkgsrc-changes@NetBSD.org Reply-To: nia@netbsd.org X-Mailer: log_accum Message-Id: <20190917233654.A75DEFBF4@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1568763414139020 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: nia Date: Tue Sep 17 23:36:54 UTC 2019 Modified Files: pkgsrc/textproc: Makefile Added Files: pkgsrc/textproc/lua-lustache: DESCR Makefile PLIST distinfo Log Message: Add textproc/lua-lustache. lustache allows you to use the Mustache templating standard in Lua by passing in a string, data, and partial templates. It precompiles and caches templates for speed, and allows you to build complex strings such as html pages by iterating through a table and inserting values. Find out more about Mustache at https://mustache.github.io. To generate a diff of this commit: cvs rdiff -u -r1.1049 -r1.1050 pkgsrc/textproc/Makefile cvs rdiff -u -r0 -r1.1 pkgsrc/textproc/lua-lustache/DESCR \ pkgsrc/textproc/lua-lustache/Makefile pkgsrc/textproc/lua-lustache/PLIST \ pkgsrc/textproc/lua-lustache/distinfo Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1568763414139020 Content-Disposition: inline Content-Length: 3254 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/textproc/Makefile diff -u pkgsrc/textproc/Makefile:1.1049 pkgsrc/textproc/Makefile:1.1050 --- pkgsrc/textproc/Makefile:1.1049 Tue Sep 10 21:21:20 2019 +++ pkgsrc/textproc/Makefile Tue Sep 17 23:36:54 2019 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1049 2019/09/10 21:21:20 schmonz Exp $ +# $NetBSD: Makefile,v 1.1050 2019/09/17 23:36:54 nia Exp $ # COMMENT= Text processing utilities (does not include desktop publishing) @@ -408,6 +408,7 @@ SUBDIR+= lowdown SUBDIR+= lq-sp SUBDIR+= lua-cjson SUBDIR+= lua-expat +SUBDIR+= lua-lustache SUBDIR+= lua-slnunicode SUBDIR+= lua-xapian SUBDIR+= lucene++ Added files: Index: pkgsrc/textproc/lua-lustache/DESCR diff -u /dev/null pkgsrc/textproc/lua-lustache/DESCR:1.1 --- /dev/null Tue Sep 17 23:36:54 2019 +++ pkgsrc/textproc/lua-lustache/DESCR Tue Sep 17 23:36:54 2019 @@ -0,0 +1,5 @@ +lustache allows you to use the Mustache templating standard in Lua by +passing in a string, data, and partial templates. It precompiles and +caches templates for speed, and allows you to build complex strings such +as html pages by iterating through a table and inserting values. Find out +more about Mustache at https://mustache.github.io. Index: pkgsrc/textproc/lua-lustache/Makefile diff -u /dev/null pkgsrc/textproc/lua-lustache/Makefile:1.1 --- /dev/null Tue Sep 17 23:36:54 2019 +++ pkgsrc/textproc/lua-lustache/Makefile Tue Sep 17 23:36:54 2019 @@ -0,0 +1,26 @@ +# $NetBSD: Makefile,v 1.1 2019/09/17 23:36:54 nia Exp $ + +DISTNAME= lustache-1.3.1 +PKGNAME= ${LUA_PKGPREFIX}-${DISTNAME} +CATEGORIES= textproc +MASTER_SITES= ${MASTER_SITE_GITHUB:=Olivine-Labs/} +GITHUB_PROJECT= lustache +GITHUB_TAG= v${PKGVERSION_NOREV}-0 + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://olivinelabs.com/lustache/ +COMMENT= Logic-less mustache templates with Lua +LICENSE= mit + +USE_LANGUAGES= # none +NO_BUILD= yes + +INSTALLATION_DIRS+= ${LUA_LDIR} +INSTALLATION_DIRS+= ${LUA_LDIR}/lustache + +do-install: + ${INSTALL_DATA} ${WRKSRC}/src/*.lua ${DESTDIR}${PREFIX}/${LUA_LDIR} + ${INSTALL_DATA} ${WRKSRC}/src/lustache/*.lua ${DESTDIR}${PREFIX}/${LUA_LDIR}/lustache + +.include "../../lang/lua/module.mk" +.include "../../mk/bsd.pkg.mk" Index: pkgsrc/textproc/lua-lustache/PLIST diff -u /dev/null pkgsrc/textproc/lua-lustache/PLIST:1.1 --- /dev/null Tue Sep 17 23:36:54 2019 +++ pkgsrc/textproc/lua-lustache/PLIST Tue Sep 17 23:36:54 2019 @@ -0,0 +1,5 @@ +@comment $NetBSD: PLIST,v 1.1 2019/09/17 23:36:54 nia Exp $ +${LUA_LDIR}/lustache.lua +${LUA_LDIR}/lustache/context.lua +${LUA_LDIR}/lustache/renderer.lua +${LUA_LDIR}/lustache/scanner.lua Index: pkgsrc/textproc/lua-lustache/distinfo diff -u /dev/null pkgsrc/textproc/lua-lustache/distinfo:1.1 --- /dev/null Tue Sep 17 23:36:54 2019 +++ pkgsrc/textproc/lua-lustache/distinfo Tue Sep 17 23:36:54 2019 @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1 2019/09/17 23:36:54 nia Exp $ + +SHA1 (lustache-1.3.1.tar.gz) = 36d9ed5769cbb6cc61307eb8158163a5e36e600f +RMD160 (lustache-1.3.1.tar.gz) = 472eb181bea8f52276f6cdb5292dd70c13b14be2 +SHA512 (lustache-1.3.1.tar.gz) = f1ba0bdd38e60957df1995f32a73a16d1b430072af4e14cce530345c74d542021223c0ef41b0f997f88d762bb194fff7119701cd289e16e3e38dfe3f10d0d9d8 +Size (lustache-1.3.1.tar.gz) = 11414 bytes --_----------=_1568763414139020--