1
0
forked from ports/contrib

p5-html-parser: moved from opt, adopted port

This commit is contained in:
Tim Biermann 2023-08-19 11:57:13 +02:00
parent 2d73767dc0
commit defaf42be4
3 changed files with 57 additions and 0 deletions

28
p5-html-parser/.footprint Normal file
View File

@ -0,0 +1,28 @@
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/lib/
drwxr-xr-x root/root usr/lib/perl5/
drwxr-xr-x root/root usr/lib/perl5/site_perl/
drwxr-xr-x root/root usr/lib/perl5/site_perl/5.36/
drwxr-xr-x root/root usr/lib/perl5/site_perl/5.36/linux-thread-multi/
drwxr-xr-x root/root usr/lib/perl5/site_perl/5.36/linux-thread-multi/HTML/
-r--r--r-- root/root usr/lib/perl5/site_perl/5.36/linux-thread-multi/HTML/Entities.pm
-r--r--r-- root/root usr/lib/perl5/site_perl/5.36/linux-thread-multi/HTML/Filter.pm
-r--r--r-- root/root usr/lib/perl5/site_perl/5.36/linux-thread-multi/HTML/HeadParser.pm
-r--r--r-- root/root usr/lib/perl5/site_perl/5.36/linux-thread-multi/HTML/LinkExtor.pm
-r--r--r-- root/root usr/lib/perl5/site_perl/5.36/linux-thread-multi/HTML/Parser.pm
-r--r--r-- root/root usr/lib/perl5/site_perl/5.36/linux-thread-multi/HTML/PullParser.pm
-r--r--r-- root/root usr/lib/perl5/site_perl/5.36/linux-thread-multi/HTML/TokeParser.pm
drwxr-xr-x root/root usr/lib/perl5/site_perl/5.36/linux-thread-multi/auto/
drwxr-xr-x root/root usr/lib/perl5/site_perl/5.36/linux-thread-multi/auto/HTML/
drwxr-xr-x root/root usr/lib/perl5/site_perl/5.36/linux-thread-multi/auto/HTML/Parser/
-r-xr-xr-x root/root usr/lib/perl5/site_perl/5.36/linux-thread-multi/auto/HTML/Parser/Parser.so
drwxr-xr-x root/root usr/share/
drwxr-xr-x root/root usr/share/man/
drwxr-xr-x root/root usr/share/man/man3/
-r--r--r-- root/root usr/share/man/man3/HTML::Entities.3pm.gz
-r--r--r-- root/root usr/share/man/man3/HTML::Filter.3pm.gz
-r--r--r-- root/root usr/share/man/man3/HTML::HeadParser.3pm.gz
-r--r--r-- root/root usr/share/man/man3/HTML::LinkExtor.3pm.gz
-r--r--r-- root/root usr/share/man/man3/HTML::Parser.3pm.gz
-r--r--r-- root/root usr/share/man/man3/HTML::PullParser.3pm.gz
-r--r--r-- root/root usr/share/man/man3/HTML::TokeParser.3pm.gz

View File

@ -0,0 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF3/+i++1ZeA7lHjYWUsuOkTwsO1m/8izM4tFBLljS7JXUGpX7kJHnMM18R48dvTaRKD2Wx/tf4SXdxnjn917/AA4=
SHA256 (Pkgfile) = 01baa2bfc0e42c282cc8a51a7b95a1570995b5c0abed7dc6b2321d4ff3b46403
SHA256 (.footprint) = dd42a7299d1d235ae6c8eafea52139d38ae303f17a1b3b899e575192ddd9af29
SHA256 (HTML-Parser-3.81.tar.gz) = c0910a5c8f92f8817edd06ccfd224ba1c2ebe8c10f551f032587a1fc83d62ff2

24
p5-html-parser/Pkgfile Normal file
View File

@ -0,0 +1,24 @@
# Description: Perl HTML parser class
# URL: https://metacpan.org/release/HTML-Parser
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: p5-html-tagset
name=p5-html-parser
version=3.81
release=1
source=(https://www.cpan.org/modules/by-module/HTML/HTML-Parser-$version.tar.gz)
build() {
cd HTML-Parser-$version
perl Makefile.PL INSTALLDIRS=vendor
make OPTIMIZE="$CFLAGS"
make DESTDIR=$PKG install
find $PKG -type f \( \
-name '.packlist' -or \
-name '*.bs' -or \
-name 'autosplit.ix' -or \
-name 'perllocal.pod' \) -delete
find $PKG -depth -empty -exec rm -r {} \;
}