ports/contrib (3.3): p5-xml-twig: initial commit
commit 81212dfe2026940c8c134e30f6bf1cccf9540601 Author: Alexandr Savca <alexandr.savca89@gmail.com> Date: Sat Mar 31 22:50:48 2018 +0300 p5-xml-twig: initial commit diff --git a/p5-xml-twig/.footprint b/p5-xml-twig/.footprint new file mode 100644 index 00000000..9946b39a --- /dev/null +++ b/p5-xml-twig/.footprint @@ -0,0 +1,25 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/xml_grep +-rwxr-xr-x root/root usr/bin/xml_merge +-rwxr-xr-x root/root usr/bin/xml_pp +-rwxr-xr-x root/root usr/bin/xml_spellcheck +-rwxr-xr-x root/root usr/bin/xml_split +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.24/ +drwxr-xr-x root/root usr/lib/perl5/site_perl/5.24/XML/ +-rw-r--r-- root/root usr/lib/perl5/site_perl/5.24/XML/Twig.pm +drwxr-xr-x root/root usr/lib/perl5/site_perl/5.24/XML/Twig/ +-rw-r--r-- root/root usr/lib/perl5/site_perl/5.24/XML/Twig/XPath.pm +drwxr-xr-x root/root usr/share/ +drwxr-xr-x root/root usr/share/man/ +drwxr-xr-x root/root usr/share/man/man1/ +-rw-r--r-- root/root usr/share/man/man1/xml_grep.1pm.gz +-rw-r--r-- root/root usr/share/man/man1/xml_merge.1pm.gz +-rw-r--r-- root/root usr/share/man/man1/xml_pp.1pm.gz +-rw-r--r-- root/root usr/share/man/man1/xml_spellcheck.1pm.gz +-rw-r--r-- root/root usr/share/man/man1/xml_split.1pm.gz +drwxr-xr-x root/root usr/share/man/man3/ +-rw-r--r-- root/root usr/share/man/man3/XML::Twig.3pm.gz diff --git a/p5-xml-twig/.md5sum b/p5-xml-twig/.md5sum new file mode 100644 index 00000000..167ae64b --- /dev/null +++ b/p5-xml-twig/.md5sum @@ -0,0 +1 @@ +14fbaf5ea8729b797ada51a880b6720e XML-Twig-3.52.tar.gz diff --git a/p5-xml-twig/.signature b/p5-xml-twig/.signature new file mode 100644 index 00000000..f13adb90 --- /dev/null +++ b/p5-xml-twig/.signature @@ -0,0 +1,5 @@ +untrusted comment: verify with /etc/ports/contrib.pub +RWSagIOpLGJF346W6Ztajit7JKiGPOjQPCTgrrxY0qg/hGE/MgpK2tRfWgCK1/3yq5/4sAMD0dQTPesj6NtQe7nBK+OE3ix8mAo= +SHA256 (Pkgfile) = 188bb1f0db054c2c6828c6d4ea034874a877a9339ec31bb3061937e00e14e594 +SHA256 (.footprint) = 99519e2633337dd26c372deaaacf820cf0edbf7539fbc84bbeee6c720eb8c632 +SHA256 (XML-Twig-3.52.tar.gz) = fef75826c24f2b877d0a0d2645212fc4fb9756ed4d2711614ac15c497e8680ad diff --git a/p5-xml-twig/Pkgfile b/p5-xml-twig/Pkgfile new file mode 100644 index 00000000..0766beb4 --- /dev/null +++ b/p5-xml-twig/Pkgfile @@ -0,0 +1,26 @@ +# Description: Perl module for processing huge XML documents in tree mode +# URL: https://metacpan.org/pod/XML::Twig +# Maintainer: Alexandr Savca, alexandr dot savca89 at gmail dot com +# Depends on: perl-xml-parser + +name=p5-xml-twig +version=3.52 +release=1 +source=(http://search.cpan.org/CPAN/authors/id/M/MI/MIROD/XML-Twig-$version.tar.gz) + +build() { + cd XML-Twig-$version + perl Makefile.PL -y + + make OPTIMIZE="$CFLAGS" + make DESTDIR=$PKG install + + find $PKG -name perllocal.pod \ + -o -name "*.bs" \ + -o -name .packlist \ + -o -name autosplit.ix \ + | xargs rm -f + + find $PKG -depth -type d -empty -delete + find $PKG -type f -a -perm -u-w | xargs chmod u+w +}
participants (1)
-
crux@crux.nu