ports/contrib (3.2): p5-cpan-distnameinfo: initial import
commit 231c0caf9f6ba99ae47dbf7d1113539cdd114c18 Author: Alan Mizrahi <alan+crux@mizrahi.com.ve> Date: Tue Mar 8 15:58:01 2016 +0900 p5-cpan-distnameinfo: initial import diff --git a/p5-cpan-distnameinfo/.footprint b/p5-cpan-distnameinfo/.footprint new file mode 100644 index 0000000..094c095 --- /dev/null +++ b/p5-cpan-distnameinfo/.footprint @@ -0,0 +1,15 @@ +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.22/ +drwxr-xr-x root/root usr/lib/perl5/site_perl/ +drwxr-xr-x root/root usr/lib/perl5/site_perl/5.22/ +drwxr-xr-x root/root usr/lib/perl5/site_perl/5.22/CPAN/ +-r--r--r-- root/root usr/lib/perl5/site_perl/5.22/CPAN/DistnameInfo.pm +drwxr-xr-x root/root usr/lib/perl5/site_perl/5.22/linux-thread-multi/ +drwxr-xr-x root/root usr/lib/perl5/site_perl/5.22/linux-thread-multi/auto/ +drwxr-xr-x root/root usr/lib/perl5/site_perl/5.22/linux-thread-multi/auto/CPAN/ +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/CPAN::DistnameInfo.3pm.gz diff --git a/p5-cpan-distnameinfo/.md5sum b/p5-cpan-distnameinfo/.md5sum new file mode 100644 index 0000000..f512787 --- /dev/null +++ b/p5-cpan-distnameinfo/.md5sum @@ -0,0 +1 @@ +06bc803c0e4fb7735ddc7282163f1cc3 CPAN-DistnameInfo-0.12.tar.gz diff --git a/p5-cpan-distnameinfo/Pkgfile b/p5-cpan-distnameinfo/Pkgfile new file mode 100644 index 0000000..8ca186c --- /dev/null +++ b/p5-cpan-distnameinfo/Pkgfile @@ -0,0 +1,20 @@ +# Description: Extract distribution name and version from a distribution filename +# URL: http://github.com/gbarr/CPAN-DistnameInfo +# Maintainer: Alan Mizrahi, alan at mizrahi dot com dot ve +# Depends on: perl + +name=p5-cpan-distnameinfo +version=0.12 +release=1 +source=(http://search.cpan.org/CPAN/authors/id/G/GB/GBARR/CPAN-DistnameInfo-0.12.tar...) + +build(){ + cd CPAN-DistnameInfo-$version + + perl Makefile.PL + make OPTIMIZE="$CFLAGS" DESTDIR="$PKG" install + + find "$PKG" -depth \ + -type f \( -name .packlist -o -name \*.bs -o -name autosplit.ix -o -name perllocal.pod \) -delete , \ + -type d -empty -exec rmdir {} + +}
participants (1)
-
crux@crux.nu