aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortobez <tobez@FreeBSD.org>2002-07-01 06:33:31 +0800
committertobez <tobez@FreeBSD.org>2002-07-01 06:33:31 +0800
commitf6615bd85d92f4967acd80edb930eeb9b13a95e5 (patch)
tree66623fce36f5efa00e68b7137daa6f7a226c6159
parentf0b2b28bab1ad3810f97989f61453a628e53000b (diff)
downloadfreebsd-ports-graphics-f6615bd85d92f4967acd80edb930eeb9b13a95e5.tar.gz
freebsd-ports-graphics-f6615bd85d92f4967acd80edb930eeb9b13a95e5.tar.zst
freebsd-ports-graphics-f6615bd85d92f4967acd80edb930eeb9b13a95e5.zip
Update to 2.00.
PR: 40040 Submitted by: maintainer
-rw-r--r--devel/p5-Term-ProgressBar/Makefile22
-rw-r--r--devel/p5-Term-ProgressBar/distinfo2
-rw-r--r--devel/p5-Term-ProgressBar/pkg-plist11
3 files changed, 29 insertions, 6 deletions
diff --git a/devel/p5-Term-ProgressBar/Makefile b/devel/p5-Term-ProgressBar/Makefile
index 21fe261fde7..88051049e6f 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 4cd2db3f8b9..3a106033cb9 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 e018dae3f94..bf6013413ae 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