Source-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel devel: Add lua-ansicolors



details:   https://anonhg.NetBSD.org/pkgsrc/rev/15711a812582
branches:  trunk
changeset: 435471:15711a812582
user:      nia <nia%pkgsrc.org@localhost>
date:      Wed Jul 08 11:25:20 2020 +0000

description:
devel: Add lua-ansicolors

ansicolors is a simple Lua function for printing to the console in color

diffstat:

 devel/Makefile                |   3 ++-
 devel/lua-ansicolors/DESCR    |   1 +
 devel/lua-ansicolors/Makefile |  25 +++++++++++++++++++++++++
 devel/lua-ansicolors/PLIST    |   2 ++
 devel/lua-ansicolors/distinfo |   6 ++++++
 5 files changed, 36 insertions(+), 1 deletions(-)

diffs (67 lines):

diff -r c8443278b4e4 -r 15711a812582 devel/Makefile
--- a/devel/Makefile    Wed Jul 08 11:13:55 2020 +0000
+++ b/devel/Makefile    Wed Jul 08 11:25:20 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3156 2020/07/06 15:28:22 schmonz Exp $
+# $NetBSD: Makefile,v 1.3157 2020/07/08 11:25:20 nia Exp $
 #
 
 COMMENT=       Development utilities
@@ -847,6 +847,7 @@
 SUBDIR+=       ltsa
 SUBDIR+=       lua-BitOp
 SUBDIR+=       lua-alt-getopt
+SUBDIR+=       lua-ansicolors
 SUBDIR+=       lua-argparse
 SUBDIR+=       lua-basexx
 SUBDIR+=       lua-binaryheap
diff -r c8443278b4e4 -r 15711a812582 devel/lua-ansicolors/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/lua-ansicolors/DESCR        Wed Jul 08 11:25:20 2020 +0000
@@ -0,0 +1,1 @@
+ansicolors is a simple Lua function for printing to the console in color
diff -r c8443278b4e4 -r 15711a812582 devel/lua-ansicolors/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/lua-ansicolors/Makefile     Wed Jul 08 11:25:20 2020 +0000
@@ -0,0 +1,25 @@
+# $NetBSD: Makefile,v 1.1 2020/07/08 11:25:21 nia Exp $
+
+DISTNAME=      ansicolors.lua-1.0.2
+PKGNAME=       ${LUA_PKGPREFIX}-${DISTNAME:S/.lua//1}
+CATEGORIES=    devel lua
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=kikito/}
+GITHUB_PROJECT=        ansicolors.lua
+GITHUB_TAG=    v${PKGVERSION_NOREV}
+
+MAINTAINER=    nia%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/kikito/ansicolors.lua
+COMMENT=       Simple Lua function for printing to the console in color
+LICENSE=       mit
+
+USE_LANGUAGES= # none
+NO_BUILD=      yes
+
+INSTALLATION_DIRS+=    ${LUA_LDIR}
+
+do-install:
+       ${INSTALL_DATA} ${WRKSRC}/ansicolors.lua \
+               ${DESTDIR}${PREFIX}/${LUA_LDIR}/ansicolors.lua
+
+.include "../../lang/lua/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r c8443278b4e4 -r 15711a812582 devel/lua-ansicolors/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/lua-ansicolors/PLIST        Wed Jul 08 11:25:20 2020 +0000
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2020/07/08 11:25:21 nia Exp $
+${LUA_LDIR}/ansicolors.lua
diff -r c8443278b4e4 -r 15711a812582 devel/lua-ansicolors/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/lua-ansicolors/distinfo     Wed Jul 08 11:25:20 2020 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2020/07/08 11:25:21 nia Exp $
+
+SHA1 (ansicolors.lua-1.0.2.tar.gz) = a662b742da066b0a47bfb2817a1bbe8f4eacef69
+RMD160 (ansicolors.lua-1.0.2.tar.gz) = 69c0375cd7bbf3de778fba39bcbf4ae429a291f1
+SHA512 (ansicolors.lua-1.0.2.tar.gz) = d7052fc63ec09076c0fa940f506fa06ebd210cf590f35310a21c80062cbf062b6d2607c3f89b8dbb39377793e25ea11f471101913e620a7566957e7ed7efbb04
+Size (ansicolors.lua-1.0.2.tar.gz) = 3471 bytes



Home | Main Index | Thread Index | Old Index