forked from Lainports/freebsd-ports
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. WWW: https://github.com/jgm/cmark PR: 203532 Submitted by: Tobias Kortkamp <t@tobik.me>
21 lines
386 B
Makefile
21 lines
386 B
Makefile
# Created by: Tobias Kortkamp <t@tobik.me>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= cmark
|
|
PORTVERSION= 0.22.0
|
|
CATEGORIES= textproc
|
|
|
|
MAINTAINER= t@tobik.me
|
|
COMMENT= CommonMark parsing and rendering library and program in C
|
|
|
|
LICENSE= BSD2CLAUSE
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= jgm
|
|
|
|
USES= cmake:outsource
|
|
|
|
post-patch:
|
|
${REINPLACE_CMD} -i "" 's|share/||g' ${WRKSRC}/man/CMakeLists.txt
|
|
|
|
.include <bsd.port.mk>
|