mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-03 06:04:53 +00:00
- Time::HiRes is included in perl 5.8.5, depends on it only when perl < 5.8.5
- fix for POD when perl < 5.6.0 only - bump PORTREVISION PR: 70247 Submitted by: Rong-En Fan <rafan@infor.org>
This commit is contained in:
parent
ec83f9d228
commit
165991c04c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=115846
@ -7,6 +7,7 @@
|
||||
|
||||
PORTNAME= mytop
|
||||
PORTVERSION= 1.4
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= databases
|
||||
MASTER_SITES= http://jeremy.zawodny.com/mysql/mytop/
|
||||
|
||||
@ -15,15 +16,23 @@ COMMENT= A top clone for MySQL
|
||||
|
||||
RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Term/ReadKey.pm:${PORTSDIR}/devel/p5-Term-ReadKey \
|
||||
${SITE_PERL}/${PERL_ARCH}/DBD/mysql.pm:${PORTSDIR}/databases/p5-DBD-mysql \
|
||||
${SITE_PERL}/Term/ANSIColor.pm:${PORTSDIR}/devel/p5-Term-ANSIColor \
|
||||
${SITE_PERL}/${PERL_ARCH}/Time/HiRes.pm:${PORTSDIR}/devel/p5-Time-HiRes
|
||||
${SITE_PERL}/Term/ANSIColor.pm:${PORTSDIR}/devel/p5-Term-ANSIColor
|
||||
|
||||
PERL_CONFIGURE= yes
|
||||
USE_REINPLACE= yes
|
||||
|
||||
MAN1= mytop.1
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${PERL_LEVEL} < 500805
|
||||
RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Time/HiRes.pm:${PORTSDIR}/devel/p5-Time-HiRes
|
||||
.endif
|
||||
|
||||
.if ${PERL_LEVEL} < 500600
|
||||
USE_REINPLACE= yes
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's, -P , B<-P> ,g' ${WRKSRC}/mytop
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
.include <bsd.port.post.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user