diff options
author | Anton Berezin <tobez@FreeBSD.org> | 2002-06-30 22:33:31 +0000 |
---|---|---|
committer | Anton Berezin <tobez@FreeBSD.org> | 2002-06-30 22:33:31 +0000 |
commit | ddcaa6edd1999209c670d5029d6817cabeb1891f (patch) | |
tree | 2bfd7c94ff9b092e4481e904041d5441f7719436 /devel/p5-Term-ProgressBar | |
parent | Add a WITH_PYTHON knob. (diff) |
Update to 2.00.
PR: 40040
Submitted by: maintainer
Diffstat (limited to 'devel/p5-Term-ProgressBar')
-rw-r--r-- | devel/p5-Term-ProgressBar/Makefile | 22 | ||||
-rw-r--r-- | devel/p5-Term-ProgressBar/distinfo | 2 | ||||
-rw-r--r-- | devel/p5-Term-ProgressBar/pkg-plist | 11 |
3 files changed, 29 insertions, 6 deletions
diff --git a/devel/p5-Term-ProgressBar/Makefile b/devel/p5-Term-ProgressBar/Makefile index 21fe261fde78..88051049e6f6 100644 --- a/devel/p5-Term-ProgressBar/Makefile +++ b/devel/p5-Term-ProgressBar/Makefile @@ -6,17 +6,35 @@ # PORTNAME= Term-ProgressBar -PORTVERSION= 1.0 +PORTVERSION= 2.00 CATEGORIES= devel perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN} -MASTER_SITE_SUBDIR= Term +MASTER_SITE_SUBDIR= ../../authors/id/F/FL/FLUFFY PKGNAMEPREFIX= p5- MAINTAINER= svenasse@polaris.ca +BUILD_DEPENDS= ${SITE_PERL}/Class/MethodMaker.pm:${PORTSDIR}/devel/p5-Class-MethodMaker \ + ${SITE_PERL}/${PERL_ARCH}/Term/ReadKey.pm:${PORTSDIR}/devel/p5-Term-ReadKey +RUN_DEPENDS= ${BUILD_DEPENDS} + +SITE_PERL= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER} +EXAMPLESDIR?= ${PREFIX}/share/examples/${PORTNAME} PERL_CONFIGURE= yes MAN3= Term::ProgressBar.3 MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} +pre-fetch: + @${ECHO} "" + @${ECHO} "This port requires a newer version of perl than what is available" + @${ECHO} "in the base system. You may have to install the lang/perl5 port." + @${ECHO} "" + +post-install: +.if !defined(NOPORTDOCS) + @${MKDIR} ${EXAMPLESDIR} + @${INSTALL_DATA} ${WRKSRC}/examples/* ${EXAMPLESDIR} +.endif + .include <bsd.port.mk> diff --git a/devel/p5-Term-ProgressBar/distinfo b/devel/p5-Term-ProgressBar/distinfo index 4cd2db3f8b9c..3a106033cb90 100644 --- a/devel/p5-Term-ProgressBar/distinfo +++ b/devel/p5-Term-ProgressBar/distinfo @@ -1 +1 @@ -MD5 (Term-ProgressBar-1.0.tar.gz) = 24414a44eff4f2f0b45a4b83518dfc47 +MD5 (Term-ProgressBar-2.00.tar.gz) = ae032ad67497f0a1fa7ed9c66fef1ce9 diff --git a/devel/p5-Term-ProgressBar/pkg-plist b/devel/p5-Term-ProgressBar/pkg-plist index e018dae3f944..bf6013413ae3 100644 --- a/devel/p5-Term-ProgressBar/pkg-plist +++ b/devel/p5-Term-ProgressBar/pkg-plist @@ -1,5 +1,10 @@ lib/perl5/site_perl/%%PERL_VER%%/Term/ProgressBar.pm -lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Term/ProgressBar/.packlist -@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Term/ProgressBar -@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Term 2>/dev/null || true +lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Term-ProgressBar/.packlist +%%PORTDOCS%%share/examples/Term-ProgressBar/powers +%%PORTDOCS%%share/examples/Term-ProgressBar/powers2 +%%PORTDOCS%%share/examples/Term-ProgressBar/powers3 +%%PORTDOCS%%share/examples/Term-ProgressBar/powers4 +%%PORTDOCS%%share/examples/Term-ProgressBar/powers5 +%%PORTDOCS%%@dirrm share/examples/Term-ProgressBar +@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Term-ProgressBar 2>/dev/null || true @unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Term 2>/dev/null || true |