aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKai Knoblich <kai@FreeBSD.org>2022-01-09 19:02:21 +0000
committerKai Knoblich <kai@FreeBSD.org>2022-01-09 19:28:44 +0000
commit97966671b8ab8fac65c79fe28d2953f516fb4ef8 (patch)
tree4090ed4726d91d483f021fab2d1029bd7b40c2ab
parenta2926f1f2a6aca1a1522beb12fc1e5f3324a0465 (diff)
downloadports-97966671b8ab8fac65c79fe28d2953f516fb4ef8.tar.gz
ports-97966671b8ab8fac65c79fe28d2953f516fb4ef8.zip
textproc/py-markdown-include: New port
This is an extension to Python-Markdown which provides an “include” function, similar to that found in LaTeX (and also the C pre-processor and Fortran). It was originally written for a FORD (= FORtran Documenter) Fortran auto-documentation generator. WWW: https://github.com/cmacmackin/markdown-include
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/py-markdown-include/Makefile19
-rw-r--r--textproc/py-markdown-include/distinfo3
-rw-r--r--textproc/py-markdown-include/pkg-descr8
4 files changed, 31 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index d91bd173153f..5c466df92cd2 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -1355,6 +1355,7 @@
SUBDIR += py-m2r
SUBDIR += py-mako
SUBDIR += py-markdown
+ SUBDIR += py-markdown-include
SUBDIR += py-markdown-it-py
SUBDIR += py-markdown2
SUBDIR += py-marko
diff --git a/textproc/py-markdown-include/Makefile b/textproc/py-markdown-include/Makefile
new file mode 100644
index 000000000000..295ba204514f
--- /dev/null
+++ b/textproc/py-markdown-include/Makefile
@@ -0,0 +1,19 @@
+PORTNAME= markdown-include
+DISTVERSION= 0.6.0
+CATEGORIES= textproc python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= kai@FreeBSD.org
+COMMENT= Provides an "include" function for Markdown
+
+LICENSE= GPLv3+
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}markdown>0:textproc/py-markdown@${PY_FLAVOR}
+
+USES= python:3.6+
+USE_PYTHON= autoplist distutils
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/textproc/py-markdown-include/distinfo b/textproc/py-markdown-include/distinfo
new file mode 100644
index 000000000000..26df37c8871e
--- /dev/null
+++ b/textproc/py-markdown-include/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1641747929
+SHA256 (markdown-include-0.6.0.tar.gz) = 6f5d680e36f7780c7f0f61dca53ca581bd50d1b56137ddcd6353efafa0c3e4a2
+SIZE (markdown-include-0.6.0.tar.gz) = 4661
diff --git a/textproc/py-markdown-include/pkg-descr b/textproc/py-markdown-include/pkg-descr
new file mode 100644
index 000000000000..bd940bc767ca
--- /dev/null
+++ b/textproc/py-markdown-include/pkg-descr
@@ -0,0 +1,8 @@
+This is an extension to Python-Markdown which provides an "include"
+function, similar to that found in LaTeX (and also the C pre-processor and
+Fortran).
+
+It was originally written for a FORD (= FORtran Documenter) Fortran
+auto-documentation generator.
+
+WWW: https://github.com/cmacmackin/markdown-include