aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMateusz Piotrowski <0mp@FreeBSD.org>2021-10-12 15:00:19 +0000
committerMateusz Piotrowski <0mp@FreeBSD.org>2021-10-12 15:01:11 +0000
commit7ca41f489f39b39186d7f4b46fe94fdc36d9557b (patch)
tree7b3d0037e0bf07b822b15d4b9a3082282e929396
parenta2e1df0f732b6a6155b9075b18aef317ee5ee641 (diff)
downloadports-7ca41f489f39b39186d7f4b46fe94fdc36d9557b.tar.gz
ports-7ca41f489f39b39186d7f4b46fe94fdc36d9557b.zip
textproc/mantra: Add a new port
Mantra is a CLI for previewing mandoc manual pages with live auto-reload in a pager. WWW: https://github.com/0mp/mantra
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/mantra/Makefile23
-rw-r--r--textproc/mantra/distinfo3
-rw-r--r--textproc/mantra/pkg-descr4
4 files changed, 31 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index f844d4226370..38e926616b46 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -433,6 +433,7 @@
SUBDIR += makefaq
SUBDIR += makepatch
SUBDIR += man2html
+ SUBDIR += mantra
SUBDIR += markdown
SUBDIR += markdown-mode.el
SUBDIR += markdownfmt
diff --git a/textproc/mantra/Makefile b/textproc/mantra/Makefile
new file mode 100644
index 000000000000..86e5959599ea
--- /dev/null
+++ b/textproc/mantra/Makefile
@@ -0,0 +1,23 @@
+PORTNAME= mantra
+DISTVERSION= 0.1.1
+CATEGORIES= textproc
+
+MAINTAINER= 0mp@FreeBSD.org
+COMMENT= CLI for previewing mandoc manual pages with live auto-reload in a pager
+
+LICENSE= BSD2CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+RUN_DEPENDS= entr:sysutils/entr \
+ tmux:sysutils/tmux
+
+USE_GITHUB= yes
+GH_ACCOUNT= 0mp
+
+MAKE_ENV= VERSION=${DISTVERSION}
+
+NO_ARCH= yes
+
+PLIST_FILES= bin/${PORTNAME}
+
+.include <bsd.port.mk>
diff --git a/textproc/mantra/distinfo b/textproc/mantra/distinfo
new file mode 100644
index 000000000000..9c8bd4faf6eb
--- /dev/null
+++ b/textproc/mantra/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1634050539
+SHA256 (0mp-mantra-0.1.1_GH0.tar.gz) = b4c62fcbf1deb71c6fa0cc1937b5d43abc106968289e07e84a1bec44307a0e6b
+SIZE (0mp-mantra-0.1.1_GH0.tar.gz) = 3236
diff --git a/textproc/mantra/pkg-descr b/textproc/mantra/pkg-descr
new file mode 100644
index 000000000000..1119c827d2b9
--- /dev/null
+++ b/textproc/mantra/pkg-descr
@@ -0,0 +1,4 @@
+Mantra is a CLI for previewing mandoc manual pages
+with live auto-reload in a pager.
+
+WWW: https://github.com/0mp/mantra