aboutsummaryrefslogtreecommitdiffstats
path: root/devel/p5-CPAN-Mini/Makefile
blob: 81eb318b87f1c4f82891e035792bdfacab72b259 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# New ports collection makefile for:    devel/p5-CPAN-Mini
# Date created:             16 February 2005
# Whom:                 Anton Berezin <tobez@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   CPAN-Mini
PORTVERSION=    1.111008
CATEGORIES= devel perl5
MASTER_SITES=   CPAN
MASTER_SITE_SUBDIR= CPAN:RJBS
PKGNAMEPREFIX=  p5-

MAINTAINER= tobez@FreeBSD.org
COMMENT=    CPAN::Mini - create a minimal mirror of CPAN

RUN_DEPENDS=    p5-File-HomeDir>=0.57:${PORTSDIR}/devel/p5-File-HomeDir \
        p5-libwww>=5:${PORTSDIR}/www/p5-libwww \
        p5-URI>=1:${PORTSDIR}/net/p5-URI
BUILD_DEPENDS=  ${RUN_DEPENDS}
TEST_DEPENDS=   p5-Test-Simple>=0.96:${PORTSDIR}/devel/p5-Test-Simple

PERL_CONFIGURE= yes

MAN1=   minicpan.1
MAN3=   CPAN::Mini.3 CPAN::Mini::App.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>