diff options
author | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2022-04-17 23:39:10 +0000 |
---|---|---|
committer | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2022-04-17 23:39:10 +0000 |
commit | aac8eba91dd9eb57bdccab6a3d0441a7e975eb29 (patch) | |
tree | 18e75cea224763a0f8e9d4acf8d0eec4dbe191a2 | |
parent | d94a3db6161308a6b4f44b0f9380328f40d83266 (diff) | |
download | ports-aac8eba91dd9eb57bdccab6a3d0441a7e975eb29.tar.gz ports-aac8eba91dd9eb57bdccab6a3d0441a7e975eb29.zip |
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
-rw-r--r-- | www/Makefile | 1 | ||||
-rw-r--r-- | www/p5-HTML-Escape/Makefile | 24 | ||||
-rw-r--r-- | www/p5-HTML-Escape/distinfo | 3 | ||||
-rw-r--r-- | www/p5-HTML-Escape/pkg-descr | 5 | ||||
-rw-r--r-- | www/p5-HTML-Escape/pkg-plist | 4 |
5 files changed, 37 insertions, 0 deletions
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 |