git: 220a6d713ecd - main - textproc/md2roff: markdown to roff converter
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 22 Sep 2023 05:07:56 UTC
The branch main has been updated by fuz:
URL: https://cgit.FreeBSD.org/ports/commit/?id=220a6d713ecdc7e840bcaf5d5a5a66c26397005e
commit 220a6d713ecdc7e840bcaf5d5a5a66c26397005e
Author: Robert Clausecker <fuz@FreeBSD.org>
AuthorDate: 2023-09-19 18:06:00 +0000
Commit: Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2023-09-22 04:54:46 +0000
textproc/md2roff: markdown to roff converter
md2roff is a Markdown to roff/html converted. It can be used to
generate simple man pages from project README files. The output is
a manpage in man(7) format as well as a HTML document.
PR: https://github.com/github/hub
---
textproc/Makefile | 1 +
textproc/md2roff/Makefile | 20 ++++++++++++++++++++
textproc/md2roff/distinfo | 5 +++++
textproc/md2roff/pkg-descr | 3 +++
4 files changed, 29 insertions(+)
diff --git a/textproc/Makefile b/textproc/Makefile
index 08f9879c5656..c8c7ed49afb0 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -466,6 +466,7 @@
SUBDIR += markdownfmt
SUBDIR += markdownpart
SUBDIR += mathml-xsd
+ SUBDIR += md2roff
SUBDIR += md4c
SUBDIR += mdbook
SUBDIR += mdbook-linkcheck
diff --git a/textproc/md2roff/Makefile b/textproc/md2roff/Makefile
new file mode 100644
index 000000000000..f7880f2026d1
--- /dev/null
+++ b/textproc/md2roff/Makefile
@@ -0,0 +1,20 @@
+PORTNAME= md2roff
+DISTVERSIONPREFIX= v
+DISTVERSION= 2.14.3-0.20200416233007
+DISTVERSIONSUFFIX= -c4dfa597b8d5
+CATEGORIES= textproc print
+
+MAINTAINER= fuz@FreeBSD.org
+COMMENT= Markdown to roff converter
+WWW= https://github.com/github/hub
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+USES= go:modules
+GO_MODULE= github.com/github/hub/v2
+GO_TARGET= ./md2roff-bin:md2roff
+
+PLIST_FILES= bin/md2roff
+
+.include <bsd.port.mk>
diff --git a/textproc/md2roff/distinfo b/textproc/md2roff/distinfo
new file mode 100644
index 000000000000..7a373e4f2285
--- /dev/null
+++ b/textproc/md2roff/distinfo
@@ -0,0 +1,5 @@
+TIMESTAMP = 1695146731
+SHA256 (go/textproc_md2roff/md2roff-v2.14.3-0.20200416233007-c4dfa597b8d5/v2.14.3-0.20200416233007-c4dfa597b8d5.mod) = c513130a45e9e558f3b68129cb32fe599574b1662404a11d00c09a47cf60436d
+SIZE (go/textproc_md2roff/md2roff-v2.14.3-0.20200416233007-c4dfa597b8d5/v2.14.3-0.20200416233007-c4dfa597b8d5.mod) = 782
+SHA256 (go/textproc_md2roff/md2roff-v2.14.3-0.20200416233007-c4dfa597b8d5/v2.14.3-0.20200416233007-c4dfa597b8d5.zip) = 03304268235cf720a02fe346ad3335ca77eaaef21e5dbad8f9fd2e63d60c74e2
+SIZE (go/textproc_md2roff/md2roff-v2.14.3-0.20200416233007-c4dfa597b8d5/v2.14.3-0.20200416233007-c4dfa597b8d5.zip) = 264435
diff --git a/textproc/md2roff/pkg-descr b/textproc/md2roff/pkg-descr
new file mode 100644
index 000000000000..381dbbdd44bc
--- /dev/null
+++ b/textproc/md2roff/pkg-descr
@@ -0,0 +1,3 @@
+md2roff is a Markdown to roff/html converted. It can be used to
+generate simple man pages from project README files. The output is
+a manpage in man(7) format as well as a HTML document.