Source-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc textproc: Add lua-markdown



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3cdee2b91254
branches:  trunk
changeset: 435219:3cdee2b91254
user:      nia <nia%pkgsrc.org@localhost>
date:      Thu Jul 02 13:14:59 2020 +0000

description:
textproc: Add lua-markdown

This is an implementation of the popular text markup language
Markdown in pure Lua. Markdown can convert documents written in a
simple and easy to read text format to well-formatted HTML. For a
more thorough description of Markdown and the Markdown syntax, see
http://daringfireball.net/projects/markdown/

diffstat:

 textproc/Makefile              |   3 ++-
 textproc/lua-markdown/DESCR    |   5 +++++
 textproc/lua-markdown/Makefile |  25 +++++++++++++++++++++++++
 textproc/lua-markdown/PLIST    |   2 ++
 textproc/lua-markdown/distinfo |   6 ++++++
 5 files changed, 40 insertions(+), 1 deletions(-)

diffs (71 lines):

diff -r 6224e86200c5 -r 3cdee2b91254 textproc/Makefile
--- a/textproc/Makefile Thu Jul 02 13:05:21 2020 +0000
+++ b/textproc/Makefile Thu Jul 02 13:14:59 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1150 2020/06/29 13:04:01 nikita Exp $
+# $NetBSD: Makefile,v 1.1151 2020/07/02 13:14:59 nia Exp $
 #
 
 COMMENT=       Text processing utilities (does not include desktop publishing)
@@ -461,6 +461,7 @@
 SUBDIR+=       lua-cjson
 SUBDIR+=       lua-expat
 SUBDIR+=       lua-lustache
+SUBDIR+=       lua-markdown
 SUBDIR+=       lua-slnunicode
 SUBDIR+=       lua-xapian
 SUBDIR+=       lucene++
diff -r 6224e86200c5 -r 3cdee2b91254 textproc/lua-markdown/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/lua-markdown/DESCR       Thu Jul 02 13:14:59 2020 +0000
@@ -0,0 +1,5 @@
+This is an implementation of the popular text markup language
+Markdown in pure Lua. Markdown can convert documents written in a
+simple and easy to read text format to well-formatted HTML. For a
+more thorough description of Markdown and the Markdown syntax, see
+http://daringfireball.net/projects/markdown/
diff -r 6224e86200c5 -r 3cdee2b91254 textproc/lua-markdown/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/lua-markdown/Makefile    Thu Jul 02 13:14:59 2020 +0000
@@ -0,0 +1,25 @@
+# $NetBSD: Makefile,v 1.1 2020/07/02 13:14:59 nia Exp $
+
+DISTNAME=      lua-markdown-0.33
+PKGNAME=       ${DISTNAME:S/lua-/${LUA_PKGPREFIX}-/1}
+CATEGORIES=    textproc lua
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=mpeterv/}
+GITHUB_PROJECT=        markdown
+
+MAINTAINER=    nia%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/mpeterv/markdown
+COMMENT=       Implementation of the Markdown text-to-html markup system in pure Lua
+LICENSE=       mit
+
+WRKSRC=                ${WRKDIR}/${GITHUB_PROJECT}-${PKGVERSION_NOREV}
+USE_LANGUAGES= # none
+NO_BUILD=      yes
+
+INSTALLATION_DIRS+=    ${LUA_LDIR}
+
+do-install:
+       ${INSTALL_DATA} ${WRKSRC}/markdown.lua \
+               ${DESTDIR}${PREFIX}/${LUA_LDIR}/markdown.lua
+
+.include "../../lang/lua/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 6224e86200c5 -r 3cdee2b91254 textproc/lua-markdown/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/lua-markdown/PLIST       Thu Jul 02 13:14:59 2020 +0000
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2020/07/02 13:14:59 nia Exp $
+${LUA_LDIR}/markdown.lua
diff -r 6224e86200c5 -r 3cdee2b91254 textproc/lua-markdown/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/lua-markdown/distinfo    Thu Jul 02 13:14:59 2020 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2020/07/02 13:14:59 nia Exp $
+
+SHA1 (lua-markdown-0.33.tar.gz) = 692030bee6553756bd82c527b23446c05c4263b3
+RMD160 (lua-markdown-0.33.tar.gz) = e0ba37a6eb3c0606070740c1bc6f504d47899d3d
+SHA512 (lua-markdown-0.33.tar.gz) = 37e29cb77d9d1176e6fd1f9c02faf3e277b23992a85a0db9dbe9b935ac09e3c274623a8e53143e7c8b3731060b3114da729c5069707a8ac5520744032551fbd5
+Size (lua-markdown-0.33.tar.gz) = 35028 bytes



Home | Main Index | Thread Index | Old Index