Date: Mon, 18 Apr 2022 00:00:18 GMT From: Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: aac8eba91dd9 - main - www/p5-HTML-Escape: Add p5-HTML-Escape 1.11 Message-ID: <202204180000.23I00IoL035803@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=aac8eba91dd9eb57bdccab6a3d0441a7e975eb29 commit aac8eba91dd9eb57bdccab6a3d0441a7e975eb29 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2022-04-17 23:39:10 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2022-04-17 23:39:10 +0000 www/p5-HTML-Escape: Add p5-HTML-Escape 1.11 HTML::Escape provides a function which escapes HTML's special characters. It performs a similar function to PHP's htmlspecialchars. It escapes the following characters: " & ' < > ` { } WWW: https://metacpan.org/dist/HTML-Escape --- www/Makefile | 1 + www/p5-HTML-Escape/Makefile | 24 ++++++++++++++++++++++++ www/p5-HTML-Escape/distinfo | 3 +++ www/p5-HTML-Escape/pkg-descr | 5 +++++ www/p5-HTML-Escape/pkg-plist | 4 ++++ 5 files changed, 37 insertions(+) diff --git a/www/Makefile b/www/Makefile index 5ec0f36d3780..b82a03a159ce 100644 --- a/www/Makefile +++ b/www/Makefile @@ -806,6 +806,7 @@ SUBDIR += p5-HTML-Element-Library SUBDIR += p5-HTML-Element-Replacer SUBDIR += p5-HTML-Encoding + SUBDIR += p5-HTML-Escape SUBDIR += p5-HTML-ExtractContent SUBDIR += p5-HTML-ExtractMain SUBDIR += p5-HTML-Field diff --git a/www/p5-HTML-Escape/Makefile b/www/p5-HTML-Escape/Makefile new file mode 100644 index 000000000000..3b7fa4bd1e70 --- /dev/null +++ b/www/p5-HTML-Escape/Makefile @@ -0,0 +1,24 @@ +# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org> + +PORTNAME= HTML-Escape +PORTVERSION= 1.11 +CATEGORIES= www perl5 +MASTER_SITES= CPAN +PKGNAMEPREFIX= p5- + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Extremely fast HTML escaping + +LICENSE= ART10 GPLv1+ +LICENSE_COMB= dual +LICENSE_FILE= ${WRKSRC}/LICENSE + +TEST_DEPENDS= p5-Test-Requires>=0:devel/p5-Test-Requires + +USES= perl5 +USE_PERL5= modbuild + +post-install: + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/HTML/Escape/Escape.so + +.include <bsd.port.mk> diff --git a/www/p5-HTML-Escape/distinfo b/www/p5-HTML-Escape/distinfo new file mode 100644 index 000000000000..504a6a227fff --- /dev/null +++ b/www/p5-HTML-Escape/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1650228650 +SHA256 (HTML-Escape-1.11.tar.gz) = 5a5eef896500d1ea6c24a9085ecfbe9a43abee68cfc66c03f889d2a2cb689a5d +SIZE (HTML-Escape-1.11.tar.gz) = 57093 diff --git a/www/p5-HTML-Escape/pkg-descr b/www/p5-HTML-Escape/pkg-descr new file mode 100644 index 000000000000..965f916fa8ce --- /dev/null +++ b/www/p5-HTML-Escape/pkg-descr @@ -0,0 +1,5 @@ +HTML::Escape provides a function which escapes HTML's special characters. It +performs a similar function to PHP's htmlspecialchars. It escapes the following +characters: " & ' < > ` { } + +WWW: https://metacpan.org/dist/HTML-Escape diff --git a/www/p5-HTML-Escape/pkg-plist b/www/p5-HTML-Escape/pkg-plist new file mode 100644 index 000000000000..fd678ec42089 --- /dev/null +++ b/www/p5-HTML-Escape/pkg-plist @@ -0,0 +1,4 @@ +%%SITE_ARCH%%/HTML/Escape.pm +%%SITE_ARCH%%/HTML/Escape/PurePerl.pm +%%SITE_ARCH%%/auto/HTML/Escape/Escape.so +%%PERL5_MAN3%%/HTML::Escape.3.gz
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202204180000.23I00IoL035803>