37 lines
895 B
Makefile
37 lines
895 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
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's, -P , B<-P> ,g' ${WRKSRC}/mytop
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|