Import sysutils/p5-MogileFS-Utils version 2.26
[dports.git] / sysutils / p5-MogileFS-Utils / Makefile
1 # New ports collection makefile for:    p5-MogileFS-Utils
2 # Date created:         2007-04-22
3 # Whom:                 Gea-Suan Lin <gslin@gslin.org>
4 #
5 # $FreeBSD: ports/sysutils/p5-MogileFS-Utils/Makefile,v 1.22 2012/11/17 06:01:40 svnexp Exp $
6 #
7
8 PORTNAME=       MogileFS-Utils
9 PORTVERSION=    2.26
10 CATEGORIES=     sysutils net perl5
11 MASTER_SITES=   CPAN
12 MASTER_SITE_SUBDIR=     CPAN:DORMANDO
13 PKGNAMEPREFIX=  p5-
14
15 MAINTAINER=     perl@FreeBSD.org
16 COMMENT=        MogileFS tools
17
18 BUILD_DEPENDS=  p5-MogileFS-Client>=1.16:${PORTSDIR}/sysutils/p5-MogileFS-Client \
19                 p5-libwww>=0:${PORTSDIR}/www/p5-libwww
20 RUN_DEPENDS:=   ${BUILD_DEPENDS}
21
22 PERL_CONFIGURE= yes
23
24 MAN1=           mogadm.1 \
25                 mogdelete.1 \
26                 mogfetch.1 \
27                 mogfiledebug.1 \
28                 mogfileinfo.1 \
29                 moglistfids.1 \
30                 moglistkeys.1 \
31                 mogrename.1 \
32                 mogstats.1 \
33                 mogtool.1 \
34                 mogupload.1
35 MAN3=           MogileFS::Utils.3
36
37 .include <bsd.port.pre.mk>
38
39 .if ${PERL_LEVEL} < 501000
40 BUILD_DEPENDS+= p5-IO-Compress>=0:${PORTSDIR}/archivers/p5-IO-Compress
41 RUN_DEPENDS+=   p5-IO-Compress>=0:${PORTSDIR}/archivers/p5-IO-Compress
42 .endif
43
44 post-patch:
45         @${REINPLACE_CMD} -e '/NAME/ s|MogileFS-Utils|MogileFS::Utils|' ${WRKSRC}/Makefile.PL
46
47 .include <bsd.port.post.mk>