textproc/p5-HTML-T5: Add p5-HTML-T5 0.013
HTML::T5 is an HTML checker in a handy dandy object. It's meant as a replacement for HTML::Lint.
This commit is contained in:
@@ -587,6 +587,7 @@
|
||||
SUBDIR += p5-HTML-RewriteAttributes
|
||||
SUBDIR += p5-HTML-SBC
|
||||
SUBDIR += p5-HTML-SuperForm
|
||||
SUBDIR += p5-HTML-T5
|
||||
SUBDIR += p5-HTML-TagFilter
|
||||
SUBDIR += p5-HTML-Tidy
|
||||
SUBDIR += p5-HTML-Tidy5
|
||||
|
||||
24
textproc/p5-HTML-T5/Makefile
Normal file
24
textproc/p5-HTML-T5/Makefile
Normal file
@@ -0,0 +1,24 @@
|
||||
PORTNAME= HTML-T5
|
||||
PORTVERSION= 0.013
|
||||
CATEGORIES= textproc perl5
|
||||
MASTER_SITES= CPAN
|
||||
PKGNAMEPREFIX= p5-
|
||||
|
||||
MAINTAINER= sunpoet@FreeBSD.org
|
||||
COMMENT= HTML validation in a Perl object
|
||||
WWW= https://metacpan.org/dist/HTML-T5
|
||||
|
||||
LICENSE= ART20
|
||||
|
||||
BUILD_DEPENDS= p5-Devel-CheckLib>=0:devel/p5-Devel-CheckLib \
|
||||
${RUN_DEPENDS}
|
||||
LIB_DEPENDS= libtidy5.so:www/tidy-html5
|
||||
RUN_DEPENDS= p5-Test-Exception>=0:devel/p5-Test-Exception
|
||||
|
||||
USES= localbase perl5
|
||||
USE_PERL5= configure
|
||||
|
||||
post-install:
|
||||
${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/HTML-T5/T5.so
|
||||
|
||||
.include <bsd.port.mk>
|
||||
3
textproc/p5-HTML-T5/distinfo
Normal file
3
textproc/p5-HTML-T5/distinfo
Normal file
@@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1685162008
|
||||
SHA256 (HTML-T5-0.013.tar.gz) = c36493b8af1fbfa5defa78f5937f066afa48bb44cf26803bf8262babd2ed97ad
|
||||
SIZE (HTML-T5-0.013.tar.gz) = 34605
|
||||
42
textproc/p5-HTML-T5/files/patch-Makefile.PL
Normal file
42
textproc/p5-HTML-T5/files/patch-Makefile.PL
Normal file
@@ -0,0 +1,42 @@
|
||||
--- Makefile.PL.orig 2020-11-17 10:01:32 UTC
|
||||
+++ Makefile.PL
|
||||
@@ -7,17 +7,12 @@ use strict;
|
||||
use warnings;
|
||||
|
||||
use ExtUtils::MakeMaker 6.52;
|
||||
-use Alien::Base::Wrapper 2.02;
|
||||
|
||||
my @build = (
|
||||
- alien_requires => {
|
||||
- 'Alien::TidyHTML5' => '0.3.0',
|
||||
- },
|
||||
);
|
||||
|
||||
my $parms = {
|
||||
CONFIGURE_REQUIRES => {
|
||||
- 'Alien::Base::Wrapper' => '2.02',
|
||||
},
|
||||
NAME => 'HTML::T5',
|
||||
AUTHOR => 'Andy Lester <andy@petdance.com>',
|
||||
@@ -42,8 +37,6 @@ my $parms = {
|
||||
prereqs => {
|
||||
configure => {
|
||||
'Devel::CheckLib' => 0,
|
||||
- 'Alien::Base::Wrapper' => 0,
|
||||
- 'Alien::TidyHTML5' => 0,
|
||||
},
|
||||
},
|
||||
resources => {
|
||||
@@ -64,11 +57,7 @@ my $parms = {
|
||||
dist => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', },
|
||||
clean => { FILES => 'HTML-T5-*' },
|
||||
};
|
||||
-
|
||||
-my %foo =
|
||||
- Alien::Base::Wrapper->new('Alien::TidyHTML5=0.3.0')->mm_args2(%$parms);
|
||||
-$foo{CONFIGURE_REQUIRES}{'Alien::Base::Wrapper'} = '2.02';
|
||||
-WriteMakefile(%foo);
|
||||
+WriteMakefile();
|
||||
|
||||
sub MY::postamble
|
||||
{ ## no critic ( Subroutines::ProhibitQualifiedSubDeclarations )
|
||||
2
textproc/p5-HTML-T5/pkg-descr
Normal file
2
textproc/p5-HTML-T5/pkg-descr
Normal file
@@ -0,0 +1,2 @@
|
||||
HTML::T5 is an HTML checker in a handy dandy object. It's meant as a replacement
|
||||
for HTML::Lint.
|
||||
7
textproc/p5-HTML-T5/pkg-plist
Normal file
7
textproc/p5-HTML-T5/pkg-plist
Normal file
@@ -0,0 +1,7 @@
|
||||
%%SITE_ARCH%%/HTML/T5.pm
|
||||
%%SITE_ARCH%%/HTML/T5/Message.pm
|
||||
%%SITE_ARCH%%/Test/HTML/T5.pm
|
||||
%%SITE_ARCH%%/auto/HTML-T5/T5.so
|
||||
%%PERL5_MAN3%%/HTML::T5.3.gz
|
||||
%%PERL5_MAN3%%/HTML::T5::Message.3.gz
|
||||
%%PERL5_MAN3%%/Test::HTML::T5.3.gz
|
||||
Reference in New Issue
Block a user