pkgsrc-WIP-changes archive

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

Import cmark-0.24.1 as wip/cmark.



Module Name:	pkgsrc-wip
Committed By:	Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By:	kamil
Date:		Sun Feb 28 03:36:59 2016 +0100
Changeset:	64063ac51285bdeccffaf89986b8facd1035f0f8

Added Files:
	cmark/DESCR
	cmark/Makefile
	cmark/PLIST
	cmark/distinfo

Log Message:
Import cmark-0.24.1 as wip/cmark.

cmark is the C reference implementation of CommonMark, a rationalized version
of Markdown syntax with a spec.

It provides a shared library (libcmark) with functions for parsing CommonMark
documents to an abstract syntax tree (AST), manipulating the AST, and rendering
the document to HTML, groff man, LaTeX, CommonMark, or an XML representation of
the AST. It also provides a command-line program (cmark) for parsing and
rendering CommonMark documents.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=64063ac51285bdeccffaf89986b8facd1035f0f8

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 cmark/DESCR    |  8 ++++++++
 cmark/Makefile | 24 ++++++++++++++++++++++++
 cmark/PLIST    | 11 +++++++++++
 cmark/distinfo |  6 ++++++
 4 files changed, 49 insertions(+)

diffs:
diff --git a/cmark/DESCR b/cmark/DESCR
new file mode 100644
index 0000000..0f304ed
--- /dev/null
+++ b/cmark/DESCR
@@ -0,0 +1,8 @@
+cmark is the C reference implementation of CommonMark, a rationalized version
+of Markdown syntax with a spec.
+
+It provides a shared library (libcmark) with functions for parsing CommonMark
+documents to an abstract syntax tree (AST), manipulating the AST, and rendering
+the document to HTML, groff man, LaTeX, CommonMark, or an XML representation of
+the AST. It also provides a command-line program (cmark) for parsing and
+rendering CommonMark documents.
diff --git a/cmark/Makefile b/cmark/Makefile
new file mode 100644
index 0000000..c456ae0
--- /dev/null
+++ b/cmark/Makefile
@@ -0,0 +1,24 @@
+# $NetBSD$
+
+DISTNAME=	cmark-0.24.1
+CATEGORIES=	textproc
+MASTER_SITES=	${MASTER_SITE_GITHUB:=jgm/}
+
+MAINTAINER=	pkgsrc-users%NetBSD.rog@localhost
+HOMEPAGE=	${MASTER_SITE_GITHUB:=jgm/cmark/}
+COMMENT=	CommonMark parsing and rendering library and program in C
+LICENSE=	2-clause-bsd
+
+USE_CMAKE=	yes
+USE_TOOLS+=	pkg-config
+USE_LANGUAGES=	c c++
+
+PKGCONFIG_OVERRIDE+=	src/libcmark.pc.in
+
+CONFIGURE_DIRS=		${WRKDIR}/build
+CMAKE_ARG_PATH=		${WRKSRC}
+
+post-extract:
+	${RUN} mkdir -p ${WRKDIR}/build
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/cmark/PLIST b/cmark/PLIST
new file mode 100644
index 0000000..73e70e8
--- /dev/null
+++ b/cmark/PLIST
@@ -0,0 +1,11 @@
+@comment $NetBSD$
+bin/cmark
+include/cmark.h
+include/cmark_export.h
+include/cmark_version.h
+lib/libcmark.a
+lib/libcmark.so
+lib/libcmark.so.${PKGVERSION}
+lib/pkgconfig/libcmark.pc
+share/man/man1/cmark.1
+share/man/man3/cmark.3
diff --git a/cmark/distinfo b/cmark/distinfo
new file mode 100644
index 0000000..5a0fb60
--- /dev/null
+++ b/cmark/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (cmark-0.24.1.tar.gz) = bfd17ef9cae14a74a7b2d1c3f171ced3ce9a5c8a
+RMD160 (cmark-0.24.1.tar.gz) = 70dbf24b47c9f9b8b4c8e2d55bcfa92d636056a6
+SHA512 (cmark-0.24.1.tar.gz) = ad6381b0a876472d85fa68e538caeebe3ee2f042c7cd479da1e025164f1ada7ee25ccbdb2d97cc2198de8c903950ba1648f39cef868f9c4f3ccd37db3c9c33b9
+Size (cmark-0.24.1.tar.gz) = 205568 bytes


Home | Main Index | Thread Index | Old Index