1
0
forked from ports/contrib

p5-variable-magic: initial commit, version 0.62

This commit is contained in:
Tim Biermann 2019-08-31 10:40:50 +00:00
parent 0be1fe8b30
commit 788fba9bf1
Signed by untrusted user: tb
GPG Key ID: 42F8B4E30B673606
3 changed files with 49 additions and 0 deletions

View File

@ -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

View File

@ -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

26
p5-variable-magic/Pkgfile Normal file
View File

@ -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.gz)
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
}