# This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # p5-CPAN-DistnameInfo # p5-CPAN-DistnameInfo/Makefile # p5-CPAN-DistnameInfo/pkg-plist # p5-CPAN-DistnameInfo/distinfo # p5-CPAN-DistnameInfo/pkg-descr # echo c - p5-CPAN-DistnameInfo mkdir -p p5-CPAN-DistnameInfo > /dev/null 2>&1 echo x - p5-CPAN-DistnameInfo/Makefile sed 's/^X//' >p5-CPAN-DistnameInfo/Makefile << 'END-of-p5-CPAN-DistnameInfo/Makefile' X# New ports collection makefile for: p5-CPAN-DistnameInfo X# Date created: Mar 27 2004 X# Whom: Lars Thegler X# X# $FreeBSD$ X XPORTNAME= CPAN-DistnameInfo XPORTVERSION= 0.03 XCATEGORIES= devel perl5 XMASTER_SITES= ${MASTER_SITE_PERL_CPAN} XMASTER_SITE_SUBDIR= CPAN XPKGNAMEPREFIX= p5- X XMAINTAINER= lars@thegler.dk XCOMMENT= Extract distribution name and version from a CPAN filename X XPERL_CONFIGURE= yes X XMAN3= CPAN::DistnameInfo.3 X X.include X X.if ${PERL_LEVEL} <= 500503 X# make PREFIX-clean under perl 5.005_03 Xpost-configure: X ${PERL} -pi -e 's,/usr/local/,\$$(PREFIX)/,g' ${WRKSRC}/Makefile X.endif X X.include END-of-p5-CPAN-DistnameInfo/Makefile echo x - p5-CPAN-DistnameInfo/pkg-plist sed 's/^X//' >p5-CPAN-DistnameInfo/pkg-plist << 'END-of-p5-CPAN-DistnameInfo/pkg-plist' X%%SITE_PERL%%/CPAN/DistnameInfo.pm X%%SITE_PERL%%/%%PERL_ARCH%%/auto/CPAN/DistnameInfo/.packlist X@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/CPAN/DistnameInfo X@unexec rmdir %D/%%SITE_PERL%%/CPAN 2>/dev/null || true X@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/CPAN 2>/dev/null || true END-of-p5-CPAN-DistnameInfo/pkg-plist echo x - p5-CPAN-DistnameInfo/distinfo sed 's/^X//' >p5-CPAN-DistnameInfo/distinfo << 'END-of-p5-CPAN-DistnameInfo/distinfo' XMD5 (CPAN-DistnameInfo-0.03.tar.gz) = 23ef62999ea4a6ad70c36d0ee034323d XSIZE (CPAN-DistnameInfo-0.03.tar.gz) = 25885 END-of-p5-CPAN-DistnameInfo/distinfo echo x - p5-CPAN-DistnameInfo/pkg-descr sed 's/^X//' >p5-CPAN-DistnameInfo/pkg-descr << 'END-of-p5-CPAN-DistnameInfo/pkg-descr' XCPAN::DistnameInfo uses heuristics that have been learnt by Xhttp://search.cpan.org/ to extract the distribution name and version Xfrom filenames and also report if the version is to be treated as Xa developer release. X XWWW: http://search.cpan.org/dist/CPAN-DistnameInfo/ END-of-p5-CPAN-DistnameInfo/pkg-descr exit