1
0
forked from ports/contrib

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

This commit is contained in:
Tim Biermann 2023-08-19 11:57:20 +02:00
parent defaf42be4
commit 4e9fabd750
3 changed files with 39 additions and 0 deletions

11
p5-html-tagset/.footprint Normal file
View File

@ -0,0 +1,11 @@
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/HTML/
-r--r--r-- root/root usr/lib/perl5/site_perl/5.36/HTML/Tagset.pm
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::Tagset.3pm.gz

View File

@ -0,0 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF38yWo4mjLI5OE3ye1X5G6/nSQ3CdS/A2orHsY1rjBF+krx5Gy1ExBHqEnUkCEb4BG7agYHffEFAGXxr7/5PoaQ8=
SHA256 (Pkgfile) = c046f01dcf13a975641bfefa426fd6a289b8e6900f5c80137795a62fef245b20
SHA256 (.footprint) = 94e80a216102e5100fe6c2c8ddec60bd3efeaca3899407ddd235943dea6cc1d2
SHA256 (HTML-Tagset-3.20.tar.gz) = adb17dac9e36cd011f5243881c9739417fd102fce760f8de4e9be4c7131108e2

23
p5-html-tagset/Pkgfile Normal file
View File

@ -0,0 +1,23 @@
# Description: Data tables useful in parsing HTML
# URL: https://metacpan.org/release/HTML-Tagset
# Maintainer: Tim Biermann, tbier at posteo dot de
name=p5-html-tagset
version=3.20
release=3
source=(https://search.cpan.org/CPAN/authors/id/P/PE/PETDANCE/HTML-Tagset-$version.tar.gz)
build() {
cd HTML-Tagset-$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 {} \;
}