1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00

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
This commit is contained in:
Po-Chuan Hsieh 2022-04-18 07:39:10 +08:00
parent d94a3db616
commit aac8eba91d
No known key found for this signature in database
GPG Key ID: 9A4BD10F002DD04B
5 changed files with 37 additions and 0 deletions

View File

@ -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

View File

@ -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>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1650228650
SHA256 (HTML-Escape-1.11.tar.gz) = 5a5eef896500d1ea6c24a9085ecfbe9a43abee68cfc66c03f889d2a2cb689a5d
SIZE (HTML-Escape-1.11.tar.gz) = 57093

View File

@ -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

View File

@ -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