commit 788fba9bf1d03eed97c268f0b23e081b80543c48 Author: Tim Biermann <tbier@posteo.de> Date: Sat Aug 31 10:40:50 2019 +0000 p5-variable-magic: initial commit, version 0.62 diff --git a/p5-variable-magic/.footprint b/p5-variable-magic/.footprint new file mode 100644 index 00000000..65e32f9b --- /dev/null +++ b/p5-variable-magic/.footprint @@ -0,0 +1,18 @@ +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/5.28/ +drwxr-xr-x root/root usr/lib/perl5/5.28/linux-thread-multi/ +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/linux-thread-multi/ +drwxr-xr-x root/root usr/lib/perl5/site_perl/5.28/linux-thread-multi/Variable/ +-r--r--r-- root/root usr/lib/perl5/site_perl/5.28/linux-thread-multi/Variable/Magic.pm +drwxr-xr-x root/root usr/lib/perl5/site_perl/5.28/linux-thread-multi/auto/ +drwxr-xr-x root/root usr/lib/perl5/site_perl/5.28/linux-thread-multi/auto/Variable/ +drwxr-xr-x root/root usr/lib/perl5/site_perl/5.28/linux-thread-multi/auto/Variable/Magic/ +-r-xr-xr-x root/root usr/lib/perl5/site_perl/5.28/linux-thread-multi/auto/Variable/Magic/Magic.so +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/Variable::Magic.3pm.gz diff --git a/p5-variable-magic/.signature b/p5-variable-magic/.signature new file mode 100644 index 00000000..db8ab38b --- /dev/null +++ b/p5-variable-magic/.signature @@ -0,0 +1,5 @@ +untrusted comment: verify with /etc/ports/contrib.pub +RWSagIOpLGJF3woMtuaMfqzXG84pS3PvRM2aPTqPWom5fCad8Rr5AUUYkivz4Tmfz4kLhQ0AFZHVCD1gcc2BG5dhmKXU+yTBEAk= +SHA256 (Pkgfile) = efbd11a282a8fd5423d6a6153ca5bce8cce330e4bb96c9f238309f0fe6000836 +SHA256 (.footprint) = 7cff6ff87e5aed647f1c500c47227c6cc9e6eb0c676a7ad065440daab3623588 +SHA256 (Variable-Magic-0.62.tar.gz) = 3f9a18517e33f006a9c2fc4f43f01b54abfe6ff2eae7322424f31069296b615c diff --git a/p5-variable-magic/Pkgfile b/p5-variable-magic/Pkgfile new file mode 100644 index 00000000..c3697a30 --- /dev/null +++ b/p5-variable-magic/Pkgfile @@ -0,0 +1,26 @@ +# Description: Associate user-defined magic to variables from Perl. +# URL: https://cpan.metacpan.org/dist/Variable-Magic +# Maintainer: Tim Biermann, tbier at posteo dot de +# Depends on: + +name=p5-variable-magic +version=0.62 +release=1 +source=(https://cpan.metacpan.org/authors/id/V/VP/VPIT/Variable-Magic-$version.tar.g...) + +build() { + cd Variable-Magic-$version + export \ + PERL_MM_USE_DEFAULT="1" \ + PERL_AUTOINSTALL="--skipdeps" \ + PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='${PKG//\'/\\\'}'" \ + PERL_MB_OPT="--installdirs vendor --destdir '${PKG//\'/\\\'}'" \ + MODULEBUILDRC="/dev/null" + perl Makefile.PL + make + make install + find $PKG -name .packlist -o \ + -name perllocal.pod -o \ + -name README -o \ + -name '*.bs' | xargs rm +}