diff options
author | Alexandr Savca <alexandr.savca89@gmail.com> | 2020-11-19 17:32:48 +0200 |
---|---|---|
committer | Alexandr Savca <alexandr.savca89@gmail.com> | 2020-11-19 17:32:48 +0200 |
commit | eec927d25d8ea11c1ae9ab13309335b7d137040d (patch) | |
tree | 4e3a64d5645a42bcc1a585c25e4a34aa962ad2b7 | |
parent | 0df5e07a9f13025389f3a614628c50b3c2569f2b (diff) | |
download | contrib-eec927d25d8ea11c1ae9ab13309335b7d137040d.tar.gz contrib-eec927d25d8ea11c1ae9ab13309335b7d137040d.tar.xz |
perltidy: initial commit, v20201001
-rw-r--r-- | perltidy/.footprint | 35 | ||||
-rw-r--r-- | perltidy/.signature | 5 | ||||
-rw-r--r-- | perltidy/Pkgfile | 27 |
3 files changed, 67 insertions, 0 deletions
diff --git a/perltidy/.footprint b/perltidy/.footprint new file mode 100644 index 000000000..5a405b718 --- /dev/null +++ b/perltidy/.footprint @@ -0,0 +1,35 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-r-xr-xr-x root/root usr/bin/perltidy +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.28/ +drwxr-xr-x root/root usr/lib/perl5/site_perl/5.28/Perl/ +-r--r--r-- root/root usr/lib/perl5/site_perl/5.28/Perl/Tidy.pm +-r--r--r-- root/root usr/lib/perl5/site_perl/5.28/Perl/Tidy.pod +drwxr-xr-x root/root usr/lib/perl5/site_perl/5.28/Perl/Tidy/ +-r--r--r-- root/root usr/lib/perl5/site_perl/5.28/Perl/Tidy/Debugger.pm +-r--r--r-- root/root usr/lib/perl5/site_perl/5.28/Perl/Tidy/DevNull.pm +-r--r--r-- root/root usr/lib/perl5/site_perl/5.28/Perl/Tidy/Diagnostics.pm +-r--r--r-- root/root usr/lib/perl5/site_perl/5.28/Perl/Tidy/FileWriter.pm +-r--r--r-- root/root usr/lib/perl5/site_perl/5.28/Perl/Tidy/Formatter.pm +-r--r--r-- root/root usr/lib/perl5/site_perl/5.28/Perl/Tidy/HtmlWriter.pm +-r--r--r-- root/root usr/lib/perl5/site_perl/5.28/Perl/Tidy/IOScalar.pm +-r--r--r-- root/root usr/lib/perl5/site_perl/5.28/Perl/Tidy/IOScalarArray.pm +-r--r--r-- root/root usr/lib/perl5/site_perl/5.28/Perl/Tidy/IndentationItem.pm +-r--r--r-- root/root usr/lib/perl5/site_perl/5.28/Perl/Tidy/LineBuffer.pm +-r--r--r-- root/root usr/lib/perl5/site_perl/5.28/Perl/Tidy/LineSink.pm +-r--r--r-- root/root usr/lib/perl5/site_perl/5.28/Perl/Tidy/LineSource.pm +-r--r--r-- root/root usr/lib/perl5/site_perl/5.28/Perl/Tidy/Logger.pm +-r--r--r-- root/root usr/lib/perl5/site_perl/5.28/Perl/Tidy/Tokenizer.pm +-r--r--r-- root/root usr/lib/perl5/site_perl/5.28/Perl/Tidy/VerticalAligner.pm +drwxr-xr-x root/root usr/lib/perl5/site_perl/5.28/Perl/Tidy/VerticalAligner/ +-r--r--r-- root/root usr/lib/perl5/site_perl/5.28/Perl/Tidy/VerticalAligner/Alignment.pm +-r--r--r-- root/root usr/lib/perl5/site_perl/5.28/Perl/Tidy/VerticalAligner/Line.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/ +-r--r--r-- root/root usr/share/man/man1/perltidy.1pm.gz +drwxr-xr-x root/root usr/share/man/man3/ +-r--r--r-- root/root usr/share/man/man3/Perl::Tidy.3pm.gz diff --git a/perltidy/.signature b/perltidy/.signature new file mode 100644 index 000000000..9a85a36d9 --- /dev/null +++ b/perltidy/.signature @@ -0,0 +1,5 @@ +untrusted comment: verify with /etc/ports/contrib.pub +RWSagIOpLGJF3+ImfpqT9kbrEmZY9M5cExAtP7qYU16XafeHMze0J3ivs3WnyJ+Xj4NfeFCH1Oc9AVj7K1LMoJfYvpDipP1bDQ8= +SHA256 (Pkgfile) = 31205f9cd95966d64948d575549522bcda5ceb493b67abae39968f0fac8e20d5 +SHA256 (.footprint) = d778bccc138bcfb39051e16e6c48f33ab08b381cfc972fb2b3a439a9cddfb720 +SHA256 (Perl-Tidy-20201001.tar.gz) = 0873ebb300239d792fb8e67164b0e04bb8fb1ff153659630d321c0b4a1dc9a12 diff --git a/perltidy/Pkgfile b/perltidy/Pkgfile new file mode 100644 index 000000000..1644c58e2 --- /dev/null +++ b/perltidy/Pkgfile @@ -0,0 +1,27 @@ +# Description: Perl script indenter and reformatter +# URL: https://metacpan.org/release/Perl-Tidy +# Maintainer: Alexandr Savca, alexandrsavca89 at gmail dot com + +name=perltidy +version=20201001 +release=1 +source=(https://cpan.metacpan.org/authors/id/S/SH/SHANCOCK/Perl-Tidy-$version.tar.gz) + +build() { + cd Perl-Tidy-$version + + perl Makefile.PL + + make + make DESTDIR=$PKG install + + # remove perlcrap + find $PKG -name perllocal.pod \ + -o -name "*.bs" \ + -o -name .packlist \ + -o -name autosplit.ix \ + | xargs rm -f + + # remove empty dirs + find $PKG -depth -type d -empty -delete +} |