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:
parent
d94a3db616
commit
aac8eba91d
@ -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
|
||||
|
24
www/p5-HTML-Escape/Makefile
Normal file
24
www/p5-HTML-Escape/Makefile
Normal 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>
|
3
www/p5-HTML-Escape/distinfo
Normal file
3
www/p5-HTML-Escape/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1650228650
|
||||
SHA256 (HTML-Escape-1.11.tar.gz) = 5a5eef896500d1ea6c24a9085ecfbe9a43abee68cfc66c03f889d2a2cb689a5d
|
||||
SIZE (HTML-Escape-1.11.tar.gz) = 57093
|
5
www/p5-HTML-Escape/pkg-descr
Normal file
5
www/p5-HTML-Escape/pkg-descr
Normal 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
|
4
www/p5-HTML-Escape/pkg-plist
Normal file
4
www/p5-HTML-Escape/pkg-plist
Normal 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
|
Loading…
Reference in New Issue
Block a user