- Update to 2.17

- Use PORTEXAMPLES
- Remove outdated post-patch:
- Sort PLIST

Changes:	http://search.cpan.org/dist/Term-ProgressBar/Changes
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2015-01-27 11:26:42 +00:00
parent 4fd04cfaa9
commit 0649636805
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=377994
3 changed files with 8 additions and 21 deletions

View file

@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= Term-ProgressBar
PORTVERSION= 2.16
PORTREVISION= 1
PORTVERSION= 2.17
CATEGORIES= devel perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
@ -20,20 +19,15 @@ RUN_DEPENDS:= ${BUILD_DEPENDS}
TEST_DEPENDS= p5-Capture-Tiny>=0.13:${PORTSDIR}/devel/p5-Capture-Tiny \
p5-Test-Exception>=0.31:${PORTSDIR}/devel/p5-Test-Exception
OPTIONS_DEFINE= EXAMPLES
USES= perl5
USE_PERL5= configure
post-patch:
${REINPLACE_CMD} -e 's|Term-ProgressBar|Term/ProgressBar|' ${WRKSRC}/Makefile.PL
OPTIONS_DEFINE= EXAMPLES
.include <bsd.port.options.mk>
PORTEXAMPLES= *
post-install:
.if ${PORT_OPTIONS:MEXAMPLES}
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/
${INSTALL_DATA} ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR}/
.endif
.include <bsd.port.mk>

View file

@ -1,2 +1,2 @@
SHA256 (Term-ProgressBar-2.16.tar.gz) = 3da80a51b9ceb2cdc5c9541996ee4b507112b18710abbd820681ec0e73234132
SIZE (Term-ProgressBar-2.16.tar.gz) = 17053
SHA256 (Term-ProgressBar-2.17.tar.gz) = c1e0602c738a91fe54b01bcaa0d1a898b07ef6815c55eb2ebd6da4e3be20f696
SIZE (Term-ProgressBar-2.17.tar.gz) = 18711

View file

@ -1,11 +1,4 @@
%%PERL5_MAN3%%/Term::ProgressBar.3.gz
%%PERL5_MAN3%%/Term::ProgressBar::IO.3.gz
%%SITE_PERL%%/Term/ProgressBar.pm
%%SITE_PERL%%/Term/ProgressBar/IO.pm
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/powers
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/powers2
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/powers3
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/powers4
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/powers5
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/simple_use.pl
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/smooth_bar.pl
%%PERL5_MAN3%%/Term::ProgressBar.3.gz
%%PERL5_MAN3%%/Term::ProgressBar::IO.3.gz