Index: textproc/cmark/Makefile =================================================================== --- textproc/cmark/Makefile (revision 0) +++ textproc/cmark/Makefile (working copy) @@ -0,0 +1,18 @@ +# Created by: Tobias Kortkamp +# $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 + +.include Index: textproc/cmark/distinfo =================================================================== --- textproc/cmark/distinfo (revision 0) +++ textproc/cmark/distinfo (working copy) @@ -0,0 +1,2 @@ +SHA256 (jgm-cmark-0.22.0_GH0.tar.gz) = a45956e6ee491d71e9271ddeb09364599a136b8956d219f0168dd6042f6f791b +SIZE (jgm-cmark-0.22.0_GH0.tar.gz) = 213617 Index: textproc/cmark/files/patch-src_CMakeLists.txt =================================================================== --- textproc/cmark/files/patch-src_CMakeLists.txt (revision 0) +++ textproc/cmark/files/patch-src_CMakeLists.txt (working copy) @@ -0,0 +1,11 @@ +--- src/CMakeLists.txt.orig 2015-10-04 10:17:08 UTC ++++ src/CMakeLists.txt +@@ -55,7 +55,7 @@ configure_file(${CMAKE_CURRENT_SOURCE_DI + configure_file(${CMAKE_CURRENT_SOURCE_DIR}/libcmark.pc.in + ${CMAKE_CURRENT_BINARY_DIR}/libcmark.pc @ONLY) + install(FILES ${CMAKE_CURRENT_BINARY_DIR}/libcmark.pc +- DESTINATION lib/pkgconfig) ++ DESTINATION libdata/pkgconfig) + + include (GenerateExportHeader) + Index: textproc/cmark/pkg-descr =================================================================== --- textproc/cmark/pkg-descr (revision 0) +++ textproc/cmark/pkg-descr (working copy) @@ -0,0 +1,11 @@ +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. + +WWW: https://github.com/jgm/cmark Index: textproc/cmark/pkg-plist =================================================================== --- textproc/cmark/pkg-plist (revision 0) +++ textproc/cmark/pkg-plist (working copy) @@ -0,0 +1,9 @@ +bin/cmark +include/cmark.h +include/cmark_export.h +include/cmark_version.h +lib/libcmark.so +lib/libcmark.so.0.22.0 +libdata/pkgconfig/libcmark.pc +share/man/man1/cmark.1 +share/man/man3/cmark.3