From bdb380f6fa65ef22999cde949d54bf83cf580370 Mon Sep 17 00:00:00 2001 From: Yen-Ming Lee Date: Sat, 22 Apr 2006 01:53:48 +0000 Subject: [PATCH] - update to 0.21 - assign to perl@ --- devel/p5-String-Random/Makefile | 18 ++++++++++++++---- devel/p5-String-Random/distinfo | 6 +++--- devel/p5-String-Random/pkg-plist | 3 --- 3 files changed, 17 insertions(+), 10 deletions(-) diff --git a/devel/p5-String-Random/Makefile b/devel/p5-String-Random/Makefile index d76074257fb0..ec6a899b27da 100644 --- a/devel/p5-String-Random/Makefile +++ b/devel/p5-String-Random/Makefile @@ -6,18 +6,28 @@ # PORTNAME= String-Random -PORTVERSION= 0.20 +PORTVERSION= 0.21 PORTEPOCH= 1 CATEGORIES= devel perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN} MASTER_SITE_SUBDIR= String PKGNAMEPREFIX= p5- -MAINTAINER= ports@FreeBSD.org +MAINTAINER= perl@FreeBSD.org COMMENT= Perl interface to generate "random" strings -PERL_CONFIGURE= yes +BUILD_DEPENDS= ${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple + +PERL_MODBUILD= yes MAN3= String::Random.3 -.include +.include + +.if ${PERL_LEVEL} < 500600 +post-patch: + ${PERL} -pi -e '$$_ = "" if m{use warnings};' ${WRKSRC}/lib/String/Random.pm \ + ${WRKSRC}/Build.PL ${WRKSRC}/t/*.t +.endif + +.include diff --git a/devel/p5-String-Random/distinfo b/devel/p5-String-Random/distinfo index fa60d298eaa8..a0c66b8598ca 100644 --- a/devel/p5-String-Random/distinfo +++ b/devel/p5-String-Random/distinfo @@ -1,3 +1,3 @@ -MD5 (String-Random-0.20.tar.gz) = 20e704a98633ad7b62ae2a73859dd37b -SHA256 (String-Random-0.20.tar.gz) = 232255d55fd0ba0c22c94344b24715ed350fdfbd123d0476b4634b4b4768f205 -SIZE (String-Random-0.20.tar.gz) = 7102 +MD5 (String-Random-0.21.tar.gz) = 4ecfdd140deeba4636223c5a00072f62 +SHA256 (String-Random-0.21.tar.gz) = 3be34158f3c265a1203bbc372737362eb99eccda22c83c1594614483fb6ce226 +SIZE (String-Random-0.21.tar.gz) = 7423 diff --git a/devel/p5-String-Random/pkg-plist b/devel/p5-String-Random/pkg-plist index 54542cc223da..62a04a00431d 100644 --- a/devel/p5-String-Random/pkg-plist +++ b/devel/p5-String-Random/pkg-plist @@ -1,5 +1,2 @@ %%SITE_PERL%%/String/Random.pm -%%SITE_PERL%%/%%PERL_ARCH%%/auto/String/Random/.packlist -@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/String/Random -@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/String @dirrmtry %%SITE_PERL%%/String