From nobody Sat May 27 23:50:53 2023 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4QTJT946k5z4Wy20; Sat, 27 May 2023 23:50:53 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QTJT93Nnyz3MK1; Sat, 27 May 2023 23:50:53 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1685231453; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=0NKosKGLyK0mAAr2io+ffQK+z9OWcg1JpueFBHOb3Lg=; b=i+WuLMFyTwPkHLavIiAX1GJn1+1vuXIjP9XGIHqNHXdr1Ii5uSlz6RdIIIRUMw2iTD8G47 IREgz6fxDkq2KkPVL4SDLN8YvDkCdZQCFL01S66T6x8j4bNFNImhdFoPCVuqaCVDhM/v7f z+XVa0WK6XjX7DbTqrBgUZpve5p3O+KjNY/XDrgq9kKJJ3dLx5uhDvmf+BaGM0xJlAyiye yvHob1POlPmR1X2MvQyPhMuQ5sN7glANumhpziihrrB9zkFKeqRgLYFoOLGAlvl2Ajitrz AbW9QPtObmYpFWZNxOGHI1GIBe5YKhxR3bbiHd5VF4KkDaRdIi3uAiOa8pxipQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1685231453; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=0NKosKGLyK0mAAr2io+ffQK+z9OWcg1JpueFBHOb3Lg=; b=pUTf3Opwei94S55ZQmIUUtW3enH5yropZHLs2CDtjb42Y0eQdJkDN4e6jqFH0R1HZr/Xqj zsD25vzLGM59oexaJTrrCCrchE5dPzYViVYgZKXOu7GSIiZHMtEs78iHxooTrGPKu2l73U FdCku9dOfPvZO69um2A7ri/MoH95l51FwolYHunt+QKMMMArdaA8wMa4+BRT5e6PZRpgBm V0lbzycZe4nhPSyARfhQDt82ihhYj8ik23MhKFoz7QC79KWt+xtZgyag+kLaEwbkr391DI FUYPPykaKvNBaM4+tqDXk7vcBKfMhPMHkfXh1y04KwMi+s3ECc0WM3FP4tUxyA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1685231453; a=rsa-sha256; cv=none; b=g4gggRk1uAANjmf/w71HFy+N22sWp43+T3XfZy9fIXR9HI4OGWDC549y8UCFrXvVpqbFZZ ngaMV9QSkBCNtfBdQnuP2k3Dn9lwLdzgsKPLic708BVsBDlbuzi4hbLMHYXvxpg/ud5Gbt 4iQVeY8JgRA9ZlV27a9NDsc8b8T/28Ul87QI5AHHuK+gJyZWSltnm+IfsoFIILTx+k1Mby nKu0CdaHqR9u03OtqolqXKOuS3v4C+nexUoBLw9YkML1O/SysKHokrO0QwlVtyaOVyEJJB 5xAdPe+qPHS1/7oQPXZkunNSkizjYAraYD9HxJGGEOM13xeksLaQzGst380GHg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4QTJT92RDjz16wl; Sat, 27 May 2023 23:50:53 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 34RNorR6052339; Sat, 27 May 2023 23:50:53 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 34RNor1a052338; Sat, 27 May 2023 23:50:53 GMT (envelope-from git) Date: Sat, 27 May 2023 23:50:53 GMT Message-Id: <202305272350.34RNor1a052338@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: ba55c52bad89 - main - textproc/p5-HTML-T5: Add p5-HTML-T5 0.013 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: ba55c52bad8967ee08b59da922f74244942d3482 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=ba55c52bad8967ee08b59da922f74244942d3482 commit ba55c52bad8967ee08b59da922f74244942d3482 Author: Po-Chuan Hsieh AuthorDate: 2023-05-27 23:18:13 +0000 Commit: Po-Chuan Hsieh CommitDate: 2023-05-27 23:43:35 +0000 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. --- textproc/Makefile | 1 + textproc/p5-HTML-T5/Makefile | 24 +++++++++++++++++ textproc/p5-HTML-T5/distinfo | 3 +++ textproc/p5-HTML-T5/files/patch-Makefile.PL | 42 +++++++++++++++++++++++++++++ textproc/p5-HTML-T5/pkg-descr | 2 ++ textproc/p5-HTML-T5/pkg-plist | 7 +++++ 6 files changed, 79 insertions(+) diff --git a/textproc/Makefile b/textproc/Makefile index 24043f501c4c..af0acefe7760 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -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 diff --git a/textproc/p5-HTML-T5/Makefile b/textproc/p5-HTML-T5/Makefile new file mode 100644 index 000000000000..e3912f43f622 --- /dev/null +++ b/textproc/p5-HTML-T5/Makefile @@ -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 diff --git a/textproc/p5-HTML-T5/distinfo b/textproc/p5-HTML-T5/distinfo new file mode 100644 index 000000000000..80973e3cc777 --- /dev/null +++ b/textproc/p5-HTML-T5/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1685162008 +SHA256 (HTML-T5-0.013.tar.gz) = c36493b8af1fbfa5defa78f5937f066afa48bb44cf26803bf8262babd2ed97ad +SIZE (HTML-T5-0.013.tar.gz) = 34605 diff --git a/textproc/p5-HTML-T5/files/patch-Makefile.PL b/textproc/p5-HTML-T5/files/patch-Makefile.PL new file mode 100644 index 000000000000..871381c12f2e --- /dev/null +++ b/textproc/p5-HTML-T5/files/patch-Makefile.PL @@ -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 ', +@@ -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 ) diff --git a/textproc/p5-HTML-T5/pkg-descr b/textproc/p5-HTML-T5/pkg-descr new file mode 100644 index 000000000000..c0b854a99a96 --- /dev/null +++ b/textproc/p5-HTML-T5/pkg-descr @@ -0,0 +1,2 @@ +HTML::T5 is an HTML checker in a handy dandy object. It's meant as a replacement +for HTML::Lint. diff --git a/textproc/p5-HTML-T5/pkg-plist b/textproc/p5-HTML-T5/pkg-plist new file mode 100644 index 000000000000..57c657dd8163 --- /dev/null +++ b/textproc/p5-HTML-T5/pkg-plist @@ -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