aboutsummaryrefslogtreecommitdiffstats
path: root/devel/p5-Git-PurePerl/Makefile
blob: 81dbeeb1588388e87e75c318548436973e2ed2e0 (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
36
37
38
39
40
41
# New ports collection makefile for:    devel/p5-Git-PurePerl
# Date created:             Nov 21 2008
# Whom:                 Cheng-Lung Sung <clsung@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   Git-PurePerl
PORTVERSION=    0.41
PORTREVISION=   2
CATEGORIES= devel perl5
MASTER_SITES=   CPAN
MASTER_SITE_SUBDIR= CPAN:LBROCARD
PKGNAMEPREFIX=  p5-

MAINTAINER= clsung@FreeBSD.org
COMMENT=    A Pure Perl interface to Git repositories

BUILD_DEPENDS=  p5-Archive-Extract>=0:${PORTSDIR}/archivers/p5-Archive-Extract \
        p5-Data-Stream-Bulk>=0:${PORTSDIR}/devel/p5-Data-Stream-Bulk \
        p5-Moose>=0:${PORTSDIR}/devel/p5-Moose \
        p5-MooseX-StrictConstructor>=0:${PORTSDIR}/devel/p5-MooseX-StrictConstructor \
        p5-MooseX-Types-Path-Class>=0:${PORTSDIR}/devel/p5-MooseX-Types-Path-Class \
        p5-DateTime>=0:${PORTSDIR}/devel/p5-DateTime \
        p5-Digest-SHA1>=0:${PORTSDIR}/security/p5-Digest-SHA1 \
        p5-File-Find-Rule>0:${PORTSDIR}/devel/p5-File-Find-Rule \
        p5-IO-Digest>0:${PORTSDIR}/devel/p5-IO-Digest
RUN_DEPENDS:=   ${BUILD_DEPENDS}

PERL_CONFIGURE= yes

MAN3=       Git::PurePerl.3

.include <bsd.port.pre.mk>

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

.include <bsd.port.post.mk>