pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/textproc



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.

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@localhost
+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



Home | Main Index | Thread Index | Old Index