git: 746aa3ee36fa - main - textproc/p5-Text-Diff-FormattedHTML: new port had been added (+)

From: Alexey Dokuchaev <danfe_at_FreeBSD.org>
Date: Sat, 30 Dec 2023 08:11:41 UTC
The branch main has been updated by danfe:

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

commit 746aa3ee36fa0ab9e1d9657835135f2a9cd8c926
Author:     Alexey Dokuchaev <danfe@FreeBSD.org>
AuthorDate: 2023-12-30 08:11:10 +0000
Commit:     Alexey Dokuchaev <danfe@FreeBSD.org>
CommitDate: 2023-12-30 08:11:10 +0000

    textproc/p5-Text-Diff-FormattedHTML: new port had been added (+)
    
    Module to produce HTML table with a nice diff of two strings/files.
---
 textproc/Makefile                             |  1 +
 textproc/p5-Text-Diff-FormattedHTML/Makefile  | 23 +++++++++++++++++++++++
 textproc/p5-Text-Diff-FormattedHTML/distinfo  |  3 +++
 textproc/p5-Text-Diff-FormattedHTML/pkg-descr |  1 +
 textproc/p5-Text-Diff-FormattedHTML/pkg-plist |  2 ++
 5 files changed, 30 insertions(+)

diff --git a/textproc/Makefile b/textproc/Makefile
index 4519241c9389..2bd8cffd9503 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -898,6 +898,7 @@
     SUBDIR += p5-Text-Decorator
     SUBDIR += p5-Text-Delimited
     SUBDIR += p5-Text-Diff
+    SUBDIR += p5-Text-Diff-FormattedHTML
     SUBDIR += p5-Text-Diff-HTML
     SUBDIR += p5-Text-Diff-Parser
     SUBDIR += p5-Text-Diff3
diff --git a/textproc/p5-Text-Diff-FormattedHTML/Makefile b/textproc/p5-Text-Diff-FormattedHTML/Makefile
new file mode 100644
index 000000000000..c9133a1cd905
--- /dev/null
+++ b/textproc/p5-Text-Diff-FormattedHTML/Makefile
@@ -0,0 +1,23 @@
+PORTNAME=	Text-Diff-FormattedHTML
+PORTVERSION=	0.08
+CATEGORIES=	textproc perl5
+MASTER_SITES=	CPAN
+PKGNAMEPREFIX=	p5-
+
+MAINTAINER=	perl@FreeBSD.org
+COMMENT=	Generate a colorful HTML diff of strings/files
+WWW=		https://metacpan.org/dist/Text-Diff-FormattedHTML
+
+LICENSE=	ART10 GPLv1+
+LICENSE_COMB=	dual
+
+RUN_DEPENDS=	p5-Algorithm-Diff>=1.1900:devel/p5-Algorithm-Diff \
+		p5-File-Slurp>=0:devel/p5-File-Slurp \
+		p5-String-Diff>=0.04:devel/p5-String-Diff
+
+USES=		perl5
+USE_PERL5=	configure
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/textproc/p5-Text-Diff-FormattedHTML/distinfo b/textproc/p5-Text-Diff-FormattedHTML/distinfo
new file mode 100644
index 000000000000..700182a5b14c
--- /dev/null
+++ b/textproc/p5-Text-Diff-FormattedHTML/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1485871785
+SHA256 (Text-Diff-FormattedHTML-0.08.tar.gz) = 39ab775a5c056745f2abd8cc7c1cbc5496dfef7e52a9f4bd8ada6aa6c9c7b70d
+SIZE (Text-Diff-FormattedHTML-0.08.tar.gz) = 5281
diff --git a/textproc/p5-Text-Diff-FormattedHTML/pkg-descr b/textproc/p5-Text-Diff-FormattedHTML/pkg-descr
new file mode 100644
index 000000000000..38a0af9022da
--- /dev/null
+++ b/textproc/p5-Text-Diff-FormattedHTML/pkg-descr
@@ -0,0 +1 @@
+Perl module to produce HTML table with a nice diff of two strings/files.
diff --git a/textproc/p5-Text-Diff-FormattedHTML/pkg-plist b/textproc/p5-Text-Diff-FormattedHTML/pkg-plist
new file mode 100644
index 000000000000..e9517b3a6d4e
--- /dev/null
+++ b/textproc/p5-Text-Diff-FormattedHTML/pkg-plist
@@ -0,0 +1,2 @@
+%%SITE_PERL%%/Text/Diff/FormattedHTML.pm
+%%PERL5_MAN3%%/Text::Diff::FormattedHTML.3.gz