about [UPDATING] [MOVED] [vuxml]summaryrefslograw-logtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Brazhnikov <makc@FreeBSD.org>2026-11-30 18:39:28 +0000
committerMax Brazhnikov <makc@FreeBSD.org>2026-12-01 10:48:43 +0000
commitb8f1878cfb9f0e86fce12e454365297c6a16b2ab (patch) (diff)
tree8c087065cfcdc4f5cf000ddb415bc5c6f243596d
downloadports-b8f1878cfb9f0e86fce12e454365297c6a16b2ab.tar.gz
 
previous commit22671fb9b15329110899934a94936019ceddf7f8 (graphics/krita: Update to 6.0.5.1)
textproc/md4qt: Add new port
C++ library for parsing Markdown. WWW: https://invent.kde.org/libraries/md4qt/ (cherry picked from commit b8927975d1b725dbecd9cff9a611d883eda1c986)
-rw-r--r--textproc/Makefile[diff] [file]1
-rw-r--r--textproc/md4qt/Makefile[diff] [file]16
-rw-r--r--textproc/md4qt/distinfo[diff] [file]3
-rw-r--r--textproc/md4qt/pkg-descr[diff] [file]7
-rw-r--r--textproc/md4qt/pkg-plist[diff] [file]44
5 files changed, 71 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index 1e8ae2ad3468..ed6abb304a32 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -492,6 +492,7 @@
SUBDIR += mathml-xsd
SUBDIR += md2roff
SUBDIR += md4c
+ SUBDIR += md4qt
SUBDIR += mdbook
SUBDIR += mdbook-linkcheck
SUBDIR += mdbook-mermaid
diff --git a/textproc/md4qt/Makefile b/textproc/md4qt/Makefile
new file mode 100644
index 000000000000..887dc42169c8
--- /dev/null
+++ b/textproc/md4qt/Makefile
@@ -0,0 +1,16 @@
+PORTNAME= md4qt
+PORTVERSION= 5.4.4
+CATEGORIES= textproc
+MASTER_SITES= KDE/stable/md4qt/${PORTVERSION}/
+
+MAINTAINER= kde@FreeBSD.org
+COMMENT= C++ library for parsing Markdown
+WWW= https://invent.kde.org/libraries/md4qt
+
+USES= cmake kde qt:6 tar:xz
+USE_KDE= ecm:build
+USE_QT= base:build
+
+CMAKE_OFF= BUILD_MD4QT_TESTS
+
+.include <bsd.port.mk>
diff --git a/textproc/md4qt/distinfo b/textproc/md4qt/distinfo
new file mode 100644
index 000000000000..6857cd076ebe
--- /dev/null
+++ b/textproc/md4qt/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1796062203
+SHA256 (md4qt-5.4.4.tar.xz) = a105abe8bdb24dcf7418670a62ae0a9f45107fa1ec315f01b32a7cd32b9de787
+SIZE (md4qt-5.4.4.tar.xz) = 479628
diff --git a/textproc/md4qt/pkg-descr b/textproc/md4qt/pkg-descr
new file mode 100644
index 000000000000..b2eaad514b3e
--- /dev/null
+++ b/textproc/md4qt/pkg-descr
@@ -0,0 +1,7 @@
+md4qt is a static C++ library for parsing Markdown.
+
+md4qt supports CommonMark 0.31.2 Spec, and some GitHub extensions, such as
+tables, footnotes, tasks lists, strikethroughs, LaTeX Maths injections,
+GitHub's auto-links.
+
+This library parses Markdown into tree structure.
diff --git a/textproc/md4qt/pkg-plist b/textproc/md4qt/pkg-plist
new file mode 100644
index 000000000000..43862b6f0a13
--- /dev/null
+++ b/textproc/md4qt/pkg-plist
@@ -0,0 +1,44 @@
+include/md4qt/algo.h
+include/md4qt/asterisk_emphasis_parser.h
+include/md4qt/atx_heading_parser.h
+include/md4qt/autolink_parser.h
+include/md4qt/block_parser.h
+include/md4qt/blockquote_parser.h
+include/md4qt/config-md4qt.h
+include/md4qt/constants.h
+include/md4qt/context.h
+include/md4qt/doc.h
+include/md4qt/emphasis_parser.h
+include/md4qt/entities_map.h
+include/md4qt/fenced_code_parser.h
+include/md4qt/footnote_parser.h
+include/md4qt/gfm_autolink_parser.h
+include/md4qt/hard_line_break_parser.h
+include/md4qt/html.h
+include/md4qt/html_parser.h
+include/md4qt/indented_code_parser.h
+include/md4qt/inline_code_parser.h
+include/md4qt/inline_context.h
+include/md4qt/inline_html_parser.h
+include/md4qt/inline_math_parser.h
+include/md4qt/inline_parser.h
+include/md4qt/link_image_parser.h
+include/md4qt/list_parser.h
+include/md4qt/paragraph_parser.h
+include/md4qt/parser.h
+include/md4qt/poscache.h
+include/md4qt/reverse_solidus.h
+include/md4qt/setext_heading_parser.h
+include/md4qt/strikethrough_emphasis_parser.h
+include/md4qt/table_parser.h
+include/md4qt/text_stream.h
+include/md4qt/thematic_break_parser.h
+include/md4qt/underline_emphasis_parser.h
+include/md4qt/utils.h
+include/md4qt/visitor.h
+include/md4qt/yaml_parser.h
+lib/cmake/md4qt/md4qt-config-version.cmake
+lib/cmake/md4qt/md4qt-config.cmake
+lib/cmake/md4qt/md4qt-targets-%%CMAKE_BUILD_TYPE%%.cmake
+lib/cmake/md4qt/md4qt-targets.cmake
+lib/libmd4qt.a
This site is maintained by Jamie Landeg-Jones <jamie@catflap.org>, and is not an official FreeBSD project, nor is it endorsed by the FreeBSD team.