# New ports collection makefile for:	p5-MogileFS-Utils
# Date created:		2007-04-22
# Whom:			Gea-Suan Lin <gslin@gslin.org>
#
# $FreeBSD: ports/sysutils/p5-MogileFS-Utils/Makefile,v 1.11 2011/01/10 06:28:19 wen Exp $
#

PORTNAME=	MogileFS-Utils
PORTVERSION=	2.19
CATEGORIES=	sysutils net perl5
MASTER_SITES=	CPAN
MASTER_SITE_SUBDIR=	../../authors/id/D/DO/DORMANDO
PKGNAMEPREFIX=	p5-

MAINTAINER=	perl@FreeBSD.org
COMMENT=	MogileFS tools

RUN_DEPENDS=	${SITE_PERL}/LWP/Simple.pm:${PORTSDIR}/www/p5-libwww \
		p5-MogileFS-Client>=1.14:${PORTSDIR}/sysutils/p5-MogileFS-Client

PERL_CONFIGURE=	yes

MAN1=		mogadm.1 mogtool.1 mogdelete.1 \
		mogfetch.1 mogfiledebug.1 \
		mogfileinfo.1 moglistfids.1 \
		moglistkeys.1 mogstats.1 mogupload.1

MAN3=		MogileFS::Utils.3

.include <bsd.port.pre.mk>

.if ${PERL_LEVEL} < 500903
RUN_DEPENDS+=	p5-IO-Compress>=2.017:${PORTSDIR}/archivers/p5-IO-Compress
.endif

.include <bsd.port.post.mk>
