summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey A. Osokin <osa@FreeBSD.org>2025-07-16 13:18:36 -0400
committerSergey A. Osokin <osa@FreeBSD.org>2025-07-16 13:21:32 -0400
commitea394160f9244a50d7ed160f3148180d9a562fd3 (patch)
tree9b2c021ecc0317a5bfc71fa6299f57ebf209b56e
parentdevel/Makefile: connect two new ports to the build (diff)
textproc/p5-Markdown-Perl: add new port (+)
Very configurable Markdown processor written in pure Perl, supporting the CommonMark spec and many extensions. PR: 288257
-rw-r--r--textproc/p5-Markdown-Perl/Makefile29
-rw-r--r--textproc/p5-Markdown-Perl/distinfo3
-rw-r--r--textproc/p5-Markdown-Perl/pkg-descr2
-rw-r--r--textproc/p5-Markdown-Perl/pkg-plist10
4 files changed, 44 insertions, 0 deletions
diff --git a/textproc/p5-Markdown-Perl/Makefile b/textproc/p5-Markdown-Perl/Makefile
new file mode 100644
index 000000000000..79db3fee0961
--- /dev/null
+++ b/textproc/p5-Markdown-Perl/Makefile
@@ -0,0 +1,29 @@
+PORTNAME= Markdown-Perl
+PORTVERSION= 1.11
+CATEGORIES= textproc perl5
+MASTER_SITES= CPAN
+MASTER_SITE_SUBDIR= CPAN:MATHIAS
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= root@dc365.ru
+COMMENT= Very configurable Markdown processor
+WWW= https://metacpan.org/dist/Markdown-Perl
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+BUILD_DEPENDS= p5-ExtUtils-MakeMaker-CPANfile>=0.09:devel/p5-ExtUtils-MakeMaker-CPANfile \
+ p5-Test-CPANfile>=0:devel/p5-Test-CPANfile
+RUN_DEPENDS= p5-List-MoreUtils>=0:lang/p5-List-MoreUtils \
+ p5-Readonly>=0:devel/p5-Readonly \
+ p5-Text-Diff>=0:textproc/p5-Text-Diff \
+ p5-Unicode-CaseFold>=0:textproc/p5-Unicode-CaseFold \
+ p5-YAML-PP>=0:textproc/p5-YAML-PP \
+ p5-YAML-Tiny>=0:textproc/p5-YAML-Tiny
+
+USES= localbase perl5
+USE_PERL5= configure test
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/textproc/p5-Markdown-Perl/distinfo b/textproc/p5-Markdown-Perl/distinfo
new file mode 100644
index 000000000000..d2b2cb45a43e
--- /dev/null
+++ b/textproc/p5-Markdown-Perl/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1751343968
+SHA256 (Markdown-Perl-1.11.tar.gz) = 6c7ffda3bd88823c90d75a3ddf41f49c6dc14fa4765882ead635bae54265a09d
+SIZE (Markdown-Perl-1.11.tar.gz) = 116146
diff --git a/textproc/p5-Markdown-Perl/pkg-descr b/textproc/p5-Markdown-Perl/pkg-descr
new file mode 100644
index 000000000000..cbca82561381
--- /dev/null
+++ b/textproc/p5-Markdown-Perl/pkg-descr
@@ -0,0 +1,2 @@
+Very configurable Markdown processor written in pure Perl, supporting
+the CommonMark spec and many extensions.
diff --git a/textproc/p5-Markdown-Perl/pkg-plist b/textproc/p5-Markdown-Perl/pkg-plist
new file mode 100644
index 000000000000..9bd92e00e87e
--- /dev/null
+++ b/textproc/p5-Markdown-Perl/pkg-plist
@@ -0,0 +1,10 @@
+bin/pmarkdown
+%%SITE_PERL%%/App/pmarkdown.pm
+%%SITE_PERL%%/Markdown/Perl.pm
+%%SITE_PERL%%/Markdown/Perl/BlockParser.pm
+%%SITE_PERL%%/Markdown/Perl/HTML.pm
+%%SITE_PERL%%/Markdown/Perl/InlineTree.pm
+%%SITE_PERL%%/Markdown/Perl/Inlines.pm
+%%SITE_PERL%%/Markdown/Perl/Options.pm
+%%SITE_PERL%%/Markdown/Perl/Util.pm
+%%PERL5_MAN1%%/pmarkdown.1.gz