git: 995b8d03bb27 - main - textprox/go-md2man: New port
Mateusz Piotrowski
0mp at FreeBSD.org
Wed Apr 28 14:15:22 UTC 2021
The branch main has been updated by 0mp:
URL: https://cgit.FreeBSD.org/ports/commit/?id=995b8d03bb276d0ade969c8a5a634ff86336fcc7
commit 995b8d03bb276d0ade969c8a5a634ff86336fcc7
Author: Mateusz Kwiatkowski <mateusz at serveraptor.com>
AuthorDate: 2021-04-28 14:04:51 +0000
Commit: Mateusz Piotrowski <0mp at FreeBSD.org>
CommitDate: 2021-04-28 14:13:27 +0000
textprox/go-md2man: New port
Reviewed by: 0mp
Reviewed by: Daniel Engberg <daniel.engberg.lists at pyret.net> (earlier version)
Differential Revision: https://reviews.freebsd.org/D29487
---
textproc/Makefile | 1 +
textproc/go-md2man/Makefile | 23 +++++++++++++++++++++++
textproc/go-md2man/distinfo | 7 +++++++
textproc/go-md2man/pkg-descr | 5 +++++
4 files changed, 36 insertions(+)
diff --git a/textproc/Makefile b/textproc/Makefile
index 715568c4a47d..38a675bf649f 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -230,6 +230,7 @@
SUBDIR += gladtex
SUBDIR += gmetadom
SUBDIR += gnugrep
+ SUBDIR += go-md2man
SUBDIR += goldendict
SUBDIR += google-ctemplate
SUBDIR += google-translate-cli
diff --git a/textproc/go-md2man/Makefile b/textproc/go-md2man/Makefile
new file mode 100644
index 000000000000..8328687876ab
--- /dev/null
+++ b/textproc/go-md2man/Makefile
@@ -0,0 +1,23 @@
+PORTNAME= go-md2man
+DISTVERSIONPREFIX= v
+DISTVERSION= 2.0.0
+CATEGORIES= textproc
+
+MAINTAINER= mateusz at serveraptor.com
+COMMENT= Converts Markdown into roff (man pages)
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE.md
+
+USES= go:modules
+USE_GITHUB= yes
+
+GH_ACCOUNT= cpuguy83
+GH_SUBDIR= go-md2man
+
+GH_TUPLE= russross:blackfriday:v2.0.1:russross_blackfriday_v2/vendor/github.com/russross/blackfriday/v2 \
+ shurcooL:sanitized_anchor_name:v1.0.0:shurcool_sanitized_anchor_name/vendor/github.com/shurcooL/sanitized_anchor_name
+
+PLIST_FILES= bin/${PORTNAME}
+
+.include <bsd.port.mk>
diff --git a/textproc/go-md2man/distinfo b/textproc/go-md2man/distinfo
new file mode 100644
index 000000000000..98b61c880aed
--- /dev/null
+++ b/textproc/go-md2man/distinfo
@@ -0,0 +1,7 @@
+TIMESTAMP = 1617023117
+SHA256 (cpuguy83-go-md2man-v2.0.0_GH0.tar.gz) = 50537880d42fc28b9c2e9aaa36b137349d43cc73d46436a499f8c928cd2fc576
+SIZE (cpuguy83-go-md2man-v2.0.0_GH0.tar.gz) = 52021
+SHA256 (russross-blackfriday-v2.0.1_GH0.tar.gz) = 5a0f38a36b6f3b2d59b72d713451a895a4d3a4406b3533882483782e37797cff
+SIZE (russross-blackfriday-v2.0.1_GH0.tar.gz) = 79613
+SHA256 (shurcooL-sanitized_anchor_name-v1.0.0_GH0.tar.gz) = 7e11964980f9b8595c17bc8970f0174621afe464920e38df7f8d77e45058388f
+SIZE (shurcooL-sanitized_anchor_name-v1.0.0_GH0.tar.gz) = 2143
diff --git a/textproc/go-md2man/pkg-descr b/textproc/go-md2man/pkg-descr
new file mode 100644
index 000000000000..6439d026432d
--- /dev/null
+++ b/textproc/go-md2man/pkg-descr
@@ -0,0 +1,5 @@
+go-md2man: Converts Markdown into roff (man pages).
+
+It uses blackfriday to process Markdown.
+
+WWW: https://github.com/cpuguy83/go-md2man
More information about the dev-commits-ports-all
mailing list