forked from ports/contrib
p5-cpan-distnameinfo: initial import
This commit is contained in:
parent
c4202e816b
commit
231c0caf9f
15
p5-cpan-distnameinfo/.footprint
Normal file
15
p5-cpan-distnameinfo/.footprint
Normal file
@ -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
|
1
p5-cpan-distnameinfo/.md5sum
Normal file
1
p5-cpan-distnameinfo/.md5sum
Normal file
@ -0,0 +1 @@
|
||||
06bc803c0e4fb7735ddc7282163f1cc3 CPAN-DistnameInfo-0.12.tar.gz
|
20
p5-cpan-distnameinfo/Pkgfile
Normal file
20
p5-cpan-distnameinfo/Pkgfile
Normal file
@ -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.gz)
|
||||
|
||||
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 {} +
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user