From ad0017e9ab15c3ede18444fe00b5454b773d3b00 Mon Sep 17 00:00:00 2001
From: Alexandr Savca <alexandr.savca89@gmail.com>
Date: Sun, 22 Nov 2020 12:47:24 +0200
Subject: [PATCH] p5-module-install: initial commit, v1.19

---
 p5-module-install/.footprint | 73 ++++++++++++++++++++++++++++++++++++
 p5-module-install/.signature |  5 +++
 p5-module-install/Pkgfile    | 28 ++++++++++++++
 3 files changed, 106 insertions(+)
 create mode 100644 p5-module-install/.footprint
 create mode 100644 p5-module-install/.signature
 create mode 100644 p5-module-install/Pkgfile

diff --git a/p5-module-install/.footprint b/p5-module-install/.footprint
new file mode 100644
index 000000000..1713dafaa
--- /dev/null
+++ b/p5-module-install/.footprint
@@ -0,0 +1,73 @@
+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.28/
+drwxr-xr-x	root/root	usr/lib/perl5/site_perl/5.28/Module/
+-r--r--r--	root/root	usr/lib/perl5/site_perl/5.28/Module/AutoInstall.pm
+-r--r--r--	root/root	usr/lib/perl5/site_perl/5.28/Module/Install.pm
+-r--r--r--	root/root	usr/lib/perl5/site_perl/5.28/Module/Install.pod
+drwxr-xr-x	root/root	usr/lib/perl5/site_perl/5.28/Module/Install/
+-r--r--r--	root/root	usr/lib/perl5/site_perl/5.28/Module/Install/API.pod
+-r--r--r--	root/root	usr/lib/perl5/site_perl/5.28/Module/Install/Admin.pm
+drwxr-xr-x	root/root	usr/lib/perl5/site_perl/5.28/Module/Install/Admin/
+-r--r--r--	root/root	usr/lib/perl5/site_perl/5.28/Module/Install/Admin/Bundle.pm
+-r--r--r--	root/root	usr/lib/perl5/site_perl/5.28/Module/Install/Admin/Compiler.pm
+-r--r--r--	root/root	usr/lib/perl5/site_perl/5.28/Module/Install/Admin/Find.pm
+-r--r--r--	root/root	usr/lib/perl5/site_perl/5.28/Module/Install/Admin/Include.pm
+-r--r--r--	root/root	usr/lib/perl5/site_perl/5.28/Module/Install/Admin/Makefile.pm
+-r--r--r--	root/root	usr/lib/perl5/site_perl/5.28/Module/Install/Admin/Manifest.pm
+-r--r--r--	root/root	usr/lib/perl5/site_perl/5.28/Module/Install/Admin/Metadata.pm
+-r--r--r--	root/root	usr/lib/perl5/site_perl/5.28/Module/Install/Admin/ScanDeps.pm
+-r--r--r--	root/root	usr/lib/perl5/site_perl/5.28/Module/Install/Admin/WriteAll.pm
+-r--r--r--	root/root	usr/lib/perl5/site_perl/5.28/Module/Install/AutoInstall.pm
+-r--r--r--	root/root	usr/lib/perl5/site_perl/5.28/Module/Install/Base.pm
+-r--r--r--	root/root	usr/lib/perl5/site_perl/5.28/Module/Install/Bundle.pm
+-r--r--r--	root/root	usr/lib/perl5/site_perl/5.28/Module/Install/Can.pm
+-r--r--r--	root/root	usr/lib/perl5/site_perl/5.28/Module/Install/Compiler.pm
+-r--r--r--	root/root	usr/lib/perl5/site_perl/5.28/Module/Install/DSL.pm
+-r--r--r--	root/root	usr/lib/perl5/site_perl/5.28/Module/Install/Deprecated.pm
+-r--r--r--	root/root	usr/lib/perl5/site_perl/5.28/Module/Install/External.pm
+-r--r--r--	root/root	usr/lib/perl5/site_perl/5.28/Module/Install/FAQ.pod
+-r--r--r--	root/root	usr/lib/perl5/site_perl/5.28/Module/Install/Fetch.pm
+-r--r--r--	root/root	usr/lib/perl5/site_perl/5.28/Module/Install/Include.pm
+-r--r--r--	root/root	usr/lib/perl5/site_perl/5.28/Module/Install/Inline.pm
+-r--r--r--	root/root	usr/lib/perl5/site_perl/5.28/Module/Install/MakeMaker.pm
+-r--r--r--	root/root	usr/lib/perl5/site_perl/5.28/Module/Install/Makefile.pm
+-r--r--r--	root/root	usr/lib/perl5/site_perl/5.28/Module/Install/Metadata.pm
+-r--r--r--	root/root	usr/lib/perl5/site_perl/5.28/Module/Install/PAR.pm
+-r--r--r--	root/root	usr/lib/perl5/site_perl/5.28/Module/Install/Philosophy.pod
+-r--r--r--	root/root	usr/lib/perl5/site_perl/5.28/Module/Install/Run.pm
+-r--r--r--	root/root	usr/lib/perl5/site_perl/5.28/Module/Install/Scripts.pm
+-r--r--r--	root/root	usr/lib/perl5/site_perl/5.28/Module/Install/Share.pm
+-r--r--r--	root/root	usr/lib/perl5/site_perl/5.28/Module/Install/Win32.pm
+-r--r--r--	root/root	usr/lib/perl5/site_perl/5.28/Module/Install/With.pm
+-r--r--r--	root/root	usr/lib/perl5/site_perl/5.28/Module/Install/WriteAll.pm
+drwxr-xr-x	root/root	usr/lib/perl5/site_perl/5.28/inc/
+drwxr-xr-x	root/root	usr/lib/perl5/site_perl/5.28/inc/Module/
+-r--r--r--	root/root	usr/lib/perl5/site_perl/5.28/inc/Module/Install.pm
+drwxr-xr-x	root/root	usr/lib/perl5/site_perl/5.28/inc/Module/Install/
+-r--r--r--	root/root	usr/lib/perl5/site_perl/5.28/inc/Module/Install/DSL.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/Module::AutoInstall.3pm.gz
+-r--r--r--	root/root	usr/share/man/man3/Module::Install.3pm.gz
+-r--r--r--	root/root	usr/share/man/man3/Module::Install::API.3pm.gz
+-r--r--r--	root/root	usr/share/man/man3/Module::Install::Admin.3pm.gz
+-r--r--r--	root/root	usr/share/man/man3/Module::Install::Admin::Include.3pm.gz
+-r--r--r--	root/root	usr/share/man/man3/Module::Install::Admin::Manifest.3pm.gz
+-r--r--r--	root/root	usr/share/man/man3/Module::Install::Base.3pm.gz
+-r--r--r--	root/root	usr/share/man/man3/Module::Install::Bundle.3pm.gz
+-r--r--r--	root/root	usr/share/man/man3/Module::Install::Can.3pm.gz
+-r--r--r--	root/root	usr/share/man/man3/Module::Install::Compiler.3pm.gz
+-r--r--r--	root/root	usr/share/man/man3/Module::Install::Deprecated.3pm.gz
+-r--r--r--	root/root	usr/share/man/man3/Module::Install::External.3pm.gz
+-r--r--r--	root/root	usr/share/man/man3/Module::Install::FAQ.3pm.gz
+-r--r--r--	root/root	usr/share/man/man3/Module::Install::Makefile.3pm.gz
+-r--r--r--	root/root	usr/share/man/man3/Module::Install::PAR.3pm.gz
+-r--r--r--	root/root	usr/share/man/man3/Module::Install::Philosophy.3pm.gz
+-r--r--r--	root/root	usr/share/man/man3/Module::Install::Share.3pm.gz
+-r--r--r--	root/root	usr/share/man/man3/Module::Install::With.3pm.gz
+-r--r--r--	root/root	usr/share/man/man3/inc::Module::Install.3pm.gz
+-r--r--r--	root/root	usr/share/man/man3/inc::Module::Install::DSL.3pm.gz
diff --git a/p5-module-install/.signature b/p5-module-install/.signature
new file mode 100644
index 000000000..4bf34e909
--- /dev/null
+++ b/p5-module-install/.signature
@@ -0,0 +1,5 @@
+untrusted comment: verify with /etc/ports/contrib.pub
+RWSagIOpLGJF3wIrjFJ7qQMLZFK4YzUJnXFoH8powZvZU3VX3UNl4ECDs/XXtpBO0JoAgvBgqfegiBGzRqSad9dO7+sM5xUxtQY=
+SHA256 (Pkgfile) = 201ca124bbf9ddb1511e14c9b2828c91c8527586cb467fe4d0ab9d70efddc400
+SHA256 (.footprint) = 2f1f895149aacb40deebca6b1a9ffa4b6a96136b1f8e7f8c2090a6e45b152a68
+SHA256 (Module-Install-1.19.tar.gz) = 1a53a78ddf3ab9e3c03fc5e354b436319a944cba4281baf0b904fa932a13011b
diff --git a/p5-module-install/Pkgfile b/p5-module-install/Pkgfile
new file mode 100644
index 000000000..61b756ffd
--- /dev/null
+++ b/p5-module-install/Pkgfile
@@ -0,0 +1,28 @@
+# Description: Standalone, extensible Perl module installer
+# URL:         https://metacpan.org/pod/distribution/Module-Install/lib/Module/Install.pm
+# Maintainer:  Alexandr Savca, alexandrsavca89 at gmail dot com
+# Depends on:  p5-file-remove p5-module-build p5-module-scandeps p5-yaml-tiny
+
+name=p5-module-install
+version=1.19
+release=1
+source=(https://cpan.metacpan.org/authors/id/E/ET/ETHER/Module-Install-${version}.tar.gz)
+
+build() {
+	cd Module-Install-$version
+
+	perl Makefile.PL
+
+	make
+	make install DESTDIR=$PKG
+
+	# 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
+}