From 4e9fabd750740215200525e3eaa58dddefaa6848 Mon Sep 17 00:00:00 2001 From: Tim Biermann Date: Sat, 19 Aug 2023 11:57:20 +0200 Subject: [PATCH] p5-html-tagset: moved from opt, adopted port --- p5-html-tagset/.footprint | 11 +++++++++++ p5-html-tagset/.signature | 5 +++++ p5-html-tagset/Pkgfile | 23 +++++++++++++++++++++++ 3 files changed, 39 insertions(+) create mode 100644 p5-html-tagset/.footprint create mode 100644 p5-html-tagset/.signature create mode 100644 p5-html-tagset/Pkgfile diff --git a/p5-html-tagset/.footprint b/p5-html-tagset/.footprint new file mode 100644 index 000000000..fddedd7da --- /dev/null +++ b/p5-html-tagset/.footprint @@ -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 diff --git a/p5-html-tagset/.signature b/p5-html-tagset/.signature new file mode 100644 index 000000000..26bacb197 --- /dev/null +++ b/p5-html-tagset/.signature @@ -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 diff --git a/p5-html-tagset/Pkgfile b/p5-html-tagset/Pkgfile new file mode 100644 index 000000000..5daf1b128 --- /dev/null +++ b/p5-html-tagset/Pkgfile @@ -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 {} \; +}