freebsd-ports/databases/mytop/Makefile
Yen-Ming Lee 165991c04c - 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>
2004-08-10 16:24:46 +00:00

38 lines
915 B
Makefile

# New ports collection makefile for: mytop
# Date created: 28 Augest 2000
# Whom: Yen-Ming Lee <leeym@cae.ce.ntu.edu.tw>
#
# $FreeBSD$
#
PORTNAME= mytop
PORTVERSION= 1.4
PORTREVISION= 1
CATEGORIES= databases
MASTER_SITES= http://jeremy.zawodny.com/mysql/mytop/
MAINTAINER= leeym@FreeBSD.org
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
PERL_CONFIGURE= 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.post.mk>