summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2020-07-02 13:14:59 +0000
committernia <nia@pkgsrc.org>2020-07-02 13:14:59 +0000
commit9f1b521bb46337c12c4dc502b82427d6118e8857 (patch)
treeb6511f17a5896bc598574c0a9f50f9de453ffbee /textproc
parentbcdda9ff1a908402e84ce1b9f23ead95c2260ae6 (diff)
downloadpkgsrc-9f1b521bb46337c12c4dc502b82427d6118e8857.tar.gz
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 (limited to 'textproc')
-rw-r--r--textproc/Makefile3
-rw-r--r--textproc/lua-markdown/DESCR5
-rw-r--r--textproc/lua-markdown/Makefile25
-rw-r--r--textproc/lua-markdown/PLIST2
-rw-r--r--textproc/lua-markdown/distinfo6
5 files changed, 40 insertions, 1 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index a148f737af4..4916b766817 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -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+= lq-sp
SUBDIR+= lua-cjson
SUBDIR+= lua-expat
SUBDIR+= lua-lustache
+SUBDIR+= lua-markdown
SUBDIR+= lua-slnunicode
SUBDIR+= lua-xapian
SUBDIR+= lucene++
diff --git a/textproc/lua-markdown/DESCR b/textproc/lua-markdown/DESCR
new file mode 100644
index 00000000000..ddbe8e1e7e6
--- /dev/null
+++ b/textproc/lua-markdown/DESCR
@@ -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 --git a/textproc/lua-markdown/Makefile b/textproc/lua-markdown/Makefile
new file mode 100644
index 00000000000..95b67dc820f
--- /dev/null
+++ b/textproc/lua-markdown/Makefile
@@ -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
+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 --git a/textproc/lua-markdown/PLIST b/textproc/lua-markdown/PLIST
new file mode 100644
index 00000000000..eb699ff6614
--- /dev/null
+++ b/textproc/lua-markdown/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2020/07/02 13:14:59 nia Exp $
+${LUA_LDIR}/markdown.lua
diff --git a/textproc/lua-markdown/distinfo b/textproc/lua-markdown/distinfo
new file mode 100644
index 00000000000..49575eee6ae
--- /dev/null
+++ b/textproc/lua-markdown/distinfo
@@ -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