git: c5f6d54b881e - main - textproc/p5-Markdown-Render: Add new port

From: Mikael Urankar <mikael_at_FreeBSD.org>
Date: Fri, 13 Jun 2025 07:37:40 UTC
The branch main has been updated by mikael:

URL: https://cgit.FreeBSD.org/ports/commit/?id=c5f6d54b881e58481c5aff8442ba8d3f0f236c53

commit c5f6d54b881e58481c5aff8442ba8d3f0f236c53
Author:     Einar Bjarni Halldórsson <einar@isnic.is>
AuthorDate: 2025-06-06 11:53:13 +0000
Commit:     Mikael Urankar <mikael@FreeBSD.org>
CommitDate: 2025-06-13 07:37:27 +0000

    textproc/p5-Markdown-Render: Add new port
    
    This module can be used, along with a CSS::Parse::* module, to parse CSS
    data and represent it as a tree of objects. Using a CSS::Adaptor::* module,
    the CSS data tree can then be transformed into other formats.
    
    PR:             287233
---
 textproc/Makefile                     |  1 +
 textproc/p5-Markdown-Render/Makefile  | 31 +++++++++++++++++++++++++++++++
 textproc/p5-Markdown-Render/distinfo  |  3 +++
 textproc/p5-Markdown-Render/pkg-descr |  3 +++
 textproc/p5-Markdown-Render/pkg-plist |  3 +++
 5 files changed, 41 insertions(+)

diff --git a/textproc/Makefile b/textproc/Makefile
index 83a955d7d099..a08db3cdaa22 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -665,6 +665,7 @@
     SUBDIR += p5-Makefile-DOM
     SUBDIR += p5-Makefile-Parser
     SUBDIR += p5-Markapl
+    SUBDIR += p5-Markdown-Render
     SUBDIR += p5-Marpa-HTML
     SUBDIR += p5-MathML-Entities
     SUBDIR += p5-Net-Groonga-HTTP
diff --git a/textproc/p5-Markdown-Render/Makefile b/textproc/p5-Markdown-Render/Makefile
new file mode 100644
index 000000000000..eff0592e7867
--- /dev/null
+++ b/textproc/p5-Markdown-Render/Makefile
@@ -0,0 +1,31 @@
+PORTNAME=	Markdown-Render
+PORTVERSION=	1.60.2
+CATEGORIES=	textproc www perl5
+MASTER_SITES=	CPAN
+MASTER_SITE_SUBDIR=	CPAN:BIGFOOT
+PKGNAMEPREFIX=	p5-
+
+MAINTAINER=	einar@isnic.is
+COMMENT=	Render markdown as HTML
+WWW=		https://metacpan.org/release/Markdown-Render
+
+LICENSE=	ART10 GPLv1+
+LICENSE_COMB=	dual
+
+BUILD_DEPENDS=	p5-ExtUtils-MakeMaker>=6.64:devel/p5-ExtUtils-MakeMaker \
+		p5-File-ShareDir-Install>0:devel/p5-File-ShareDir-Install
+RUN_DEPENDS=	p5-Class-Accessor>=0.51:devel/p5-Class-Accessor \
+		p5-Config-Tiny>=2.28:devel/p5-Config-Tiny \
+		p5-TimeDate>=2.24:devel/p5-TimeDate \
+		p5-HTTP-Message>=6.45:www/p5-HTTP-Message \
+		p5-IO-Stringy>=2.113:devel/p5-IO-Stringy \
+		p5-JSON>=4.10:converters/p5-JSON \
+		p5-libwww>=6.77:www/p5-libwww \
+		p5-Readonly>=2.05:devel/p5-Readonly
+
+USES=		perl5
+USE_PERL5=	configure
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/textproc/p5-Markdown-Render/distinfo b/textproc/p5-Markdown-Render/distinfo
new file mode 100644
index 000000000000..7da3cd622d1e
--- /dev/null
+++ b/textproc/p5-Markdown-Render/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1748692443
+SHA256 (Markdown-Render-1.60.2.tar.gz) = 35309f73f8c5f0b8d2fac5000b26ca9b93c46a374df1386a5ed8f44a39d67fe2
+SIZE (Markdown-Render-1.60.2.tar.gz) = 12514
diff --git a/textproc/p5-Markdown-Render/pkg-descr b/textproc/p5-Markdown-Render/pkg-descr
new file mode 100644
index 000000000000..d15ad3066107
--- /dev/null
+++ b/textproc/p5-Markdown-Render/pkg-descr
@@ -0,0 +1,3 @@
+This module can be used, along with a CSS::Parse::* module, to parse CSS
+data and represent it as a tree of objects. Using a CSS::Adaptor::* module,
+the CSS data tree can then be transformed into other formats.
diff --git a/textproc/p5-Markdown-Render/pkg-plist b/textproc/p5-Markdown-Render/pkg-plist
new file mode 100644
index 000000000000..4121487cb9b5
--- /dev/null
+++ b/textproc/p5-Markdown-Render/pkg-plist
@@ -0,0 +1,3 @@
+bin/md-utils.pl
+%%SITE_PERL%%/Markdown/Render.pm
+%%PERL5_MAN3%%/Markdown::Render.3.gz