aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVladyslav Movchan <vladislav.movchan@gmail.com>2025-04-18 11:15:10 +0000
committerHiroki Tagato <tagattie@FreeBSD.org>2025-06-09 14:05:17 +0000
commit6e46cf238eb9285890950a0bd9c36daaa9062ffe (patch)
tree90930cb1a0384beeecbf0d011b419fc1eca3856f
parent7987de7057a0112824856b1b77dcd8ae3c0c4c16 (diff)
textproc/py-mkdocs-include-markdown-plugin: new port: MkDocs plugin to include content from files
Plugin for MkDocs that allows you to include content from Markdown files, or from files of any type. WWW: https://github.com/mondeja/mkdocs-include-markdown-plugin
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/py-mkdocs-include-markdown-plugin/Makefile27
-rw-r--r--textproc/py-mkdocs-include-markdown-plugin/distinfo3
-rw-r--r--textproc/py-mkdocs-include-markdown-plugin/pkg-descr2
4 files changed, 33 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index 464271e8fac4..6fff5e75a9e0 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -1457,6 +1457,7 @@
SUBDIR += py-mkdocs-exclude
SUBDIR += py-mkdocs-get-deps
SUBDIR += py-mkdocs-git-revision-date-localized-plugin
+ SUBDIR += py-mkdocs-include-markdown-plugin
SUBDIR += py-mkdocs-material
SUBDIR += py-mkdocs-material-extensions
SUBDIR += py-mkdocs-mermaid2-plugin
diff --git a/textproc/py-mkdocs-include-markdown-plugin/Makefile b/textproc/py-mkdocs-include-markdown-plugin/Makefile
new file mode 100644
index 000000000000..7b24eb8e063e
--- /dev/null
+++ b/textproc/py-mkdocs-include-markdown-plugin/Makefile
@@ -0,0 +1,27 @@
+PORTNAME= mkdocs-include-markdown-plugin
+DISTVERSION= 7.1.5
+CATEGORIES= textproc python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTNAME= mkdocs_include_markdown_plugin-${PORTVERSION}
+
+MAINTAINER= vladislav.movchan@gmail.com
+COMMENT= MkDocs plugin to include contents from Markdown (or any) files
+WWW= https://github.com/mondeja/mkdocs-include-markdown-plugin
+
+LICENSE= APACHE20
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>=0:devel/py-hatchling@${PY_FLAVOR}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mkdocs>=1.4:textproc/py-mkdocs@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}wcmatch>=0:textproc/py-wcmatch@${PY_FLAVOR}
+TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=7.0:devel/py-pytest@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}coverage>=6.4:devel/py-coverage@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}covdefaults>=0:devel/py-covdefaults@${PY_FLAVOR}
+
+USES= python
+USE_PYTHON= autoplist concurrent pep517 pytest
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/textproc/py-mkdocs-include-markdown-plugin/distinfo b/textproc/py-mkdocs-include-markdown-plugin/distinfo
new file mode 100644
index 000000000000..3eea91153279
--- /dev/null
+++ b/textproc/py-mkdocs-include-markdown-plugin/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1749451106
+SHA256 (mkdocs_include_markdown_plugin-7.1.5.tar.gz) = a986967594da6789226798e3c41c70bc17130fadb92b4313f42bd3defdac0adc
+SIZE (mkdocs_include_markdown_plugin-7.1.5.tar.gz) = 23329
diff --git a/textproc/py-mkdocs-include-markdown-plugin/pkg-descr b/textproc/py-mkdocs-include-markdown-plugin/pkg-descr
new file mode 100644
index 000000000000..e03a22260846
--- /dev/null
+++ b/textproc/py-mkdocs-include-markdown-plugin/pkg-descr
@@ -0,0 +1,2 @@
+Plugin for MkDocs that allows you to include content from Markdown files, or
+from files of any type.