mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 09:49:18 -04:00
Upgrade to 3.13, and add DEPENDS to p5-HTML-Tagset.
This commit is contained in:
parent
7d342f50d4
commit
b05df5b5ce
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=33753
3 changed files with 27 additions and 2 deletions
|
@ -6,7 +6,7 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
PORTNAME= HTML-Parser
|
PORTNAME= HTML-Parser
|
||||||
PORTVERSION= 3.10
|
PORTVERSION= 3.13
|
||||||
CATEGORIES= www perl5
|
CATEGORIES= www perl5
|
||||||
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
|
||||||
MASTER_SITE_SUBDIR= HTML
|
MASTER_SITE_SUBDIR= HTML
|
||||||
|
@ -14,6 +14,8 @@ PKGNAMEPREFIX= p5-
|
||||||
|
|
||||||
MAINTAINER= dima@Chg.RU
|
MAINTAINER= dima@Chg.RU
|
||||||
|
|
||||||
|
BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/HTML/Tagset.pm:${PORTSDIR}/www/p5-HTML-Tagset
|
||||||
|
|
||||||
USE_PERL5= yes
|
USE_PERL5= yes
|
||||||
|
|
||||||
MAN3= HTML::Entities.3 \
|
MAN3= HTML::Entities.3 \
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
MD5 (HTML-Parser-3.10.tar.gz) = a8d95c347d8c7eb6de0a633ff220545e
|
MD5 (HTML-Parser-3.13.tar.gz) = 75a61c3207923774d028bebbadee35aa
|
||||||
|
|
23
www/p5-HTML-Parser/files/patch-Makefile.PL
Normal file
23
www/p5-HTML-Parser/files/patch-Makefile.PL
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
--- Makefile.PL.orig Fri Oct 13 08:53:50 2000
|
||||||
|
+++ Makefile.PL Fri Oct 13 09:29:25 2000
|
||||||
|
@@ -10,19 +10,7 @@
|
||||||
|
}
|
||||||
|
|
||||||
|
if ($] >= 5.006) {
|
||||||
|
- print <<"EOT";
|
||||||
|
-
|
||||||
|
-Perl-5.6 provide experimental core support for Unicode strings. You
|
||||||
|
-can compile HTML::Entities so that Unicode entities like € and
|
||||||
|
-€ are decoded into a string containing "\\x{20AC}". If you
|
||||||
|
-select no to the question below such entities will be left alone and
|
||||||
|
-only entities in the Latin-1 range is decoded.
|
||||||
|
-
|
||||||
|
-EOT
|
||||||
|
- my $ans = prompt("Do you want decoding on unicode entities?", "no");
|
||||||
|
- if ($ans =~ /^y(es)?$/i) {
|
||||||
|
- push(@define, "-DUNICODE_ENTITIES");
|
||||||
|
- }
|
||||||
|
+ push(@define, "-DUNICODE_ENTITIES");
|
||||||
|
}
|
||||||
|
push(@extra, "DEFINE" => "@define") if @define;
|
||||||
|
|
Loading…
Add table
Reference in a new issue