aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamir Noir <samir@noir.im>2022-03-12 05:39:20 +0000
committerNeel Chauhan <nc@FreeBSD.org>2022-03-12 05:43:38 +0000
commit1cfc2eda1248452f222477750f1994e0f0ef8f4e (patch)
tree409ba2c41fdc25d70c548eb2169ebc2cb878c04b
parent9fe177917e12f441869cf393b9e89f49d2e29329 (diff)
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/py-mkdocs-mermaid2-plugin/Makefile24
-rw-r--r--textproc/py-mkdocs-mermaid2-plugin/distinfo3
-rw-r--r--textproc/py-mkdocs-mermaid2-plugin/pkg-descr3
4 files changed, 31 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index 82d730142a67..afe2fbb69c05 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -1366,6 +1366,7 @@
SUBDIR += py-mkdocs-autorefs
SUBDIR += py-mkdocs-material
SUBDIR += py-mkdocs-material-extensions
+ SUBDIR += py-mkdocs-mermaid2-plugin
SUBDIR += py-mkdocs-nature
SUBDIR += py-mkdocstrings
SUBDIR += py-mwparserfromhell
diff --git a/textproc/py-mkdocs-mermaid2-plugin/Makefile b/textproc/py-mkdocs-mermaid2-plugin/Makefile
new file mode 100644
index 000000000000..edd5e806d526
--- /dev/null
+++ b/textproc/py-mkdocs-mermaid2-plugin/Makefile
@@ -0,0 +1,24 @@
+PORTNAME= mkdocs-mermaid2-plugin
+DISTVERSION= 0.5.2
+CATEGORIES= textproc python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= samir@noir.im
+COMMENT= MkDocs plugin for including mermaid graphs in markdown sources
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}beautifulsoup>0:www/py-beautifulsoup@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}jsbeautifier>0:devel/py-jsbeautifier@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}mkdocs>=0:textproc/py-mkdocs@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pymdown-extensions>0:textproc/py-pymdown-extensions@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests@${PY_FLAVOR}
+
+USES= python:3.5+
+USE_PYTHON= autoplist concurrent distutils
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/textproc/py-mkdocs-mermaid2-plugin/distinfo b/textproc/py-mkdocs-mermaid2-plugin/distinfo
new file mode 100644
index 000000000000..526d2ce0d5d5
--- /dev/null
+++ b/textproc/py-mkdocs-mermaid2-plugin/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1646076780
+SHA256 (mkdocs-mermaid2-plugin-0.5.2.tar.gz) = d920cec8c9cea52fa144f82b94aa5e0398bd4391e44c314475ae61dae871a23b
+SIZE (mkdocs-mermaid2-plugin-0.5.2.tar.gz) = 39856
diff --git a/textproc/py-mkdocs-mermaid2-plugin/pkg-descr b/textproc/py-mkdocs-mermaid2-plugin/pkg-descr
new file mode 100644
index 000000000000..fa255b362737
--- /dev/null
+++ b/textproc/py-mkdocs-mermaid2-plugin/pkg-descr
@@ -0,0 +1,3 @@
+A mkdocs plugin that interprets mermaid graphs in the markdown file.
+
+WWW: https://github.com/fralau/mkdocs-mermaid2-plugin