aboutsummaryrefslogtreecommitdiffstats
path: root/databases/p5-Redis/Makefile
blob: 88f4f7490ffcfb8031f91d863c6284097f4c02fc (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
42
# New ports collection makefile for:    p5-Redis
# Date created:     2009-09-19
# Whom:         Gea-Suan Lin <gslin@gslin.org>
#
# $FreeBSD$
#

PORTNAME=   Redis
PORTVERSION=    1.9500
CATEGORIES= databases perl5
MASTER_SITES=   CPAN
MASTER_SITE_SUBDIR= CPAN:MELO
PKGNAMEPREFIX=  p5-
DISTNAME=   ${PORTNAME}-${PORTVERSION:C/0$//}

MAINTAINER= perl@FreeBSD.org
COMMENT=    Perl binding for Redis database

BUILD_DEPENDS=  p5-IO-String>=0:${PORTSDIR}/devel/p5-IO-String \
        p5-Try-Tiny>=0:${PORTSDIR}/lang/p5-Try-Tiny
RUN_DEPENDS=    p5-IO-String>=0:${PORTSDIR}/devel/p5-IO-String \
        p5-Try-Tiny>=0:${PORTSDIR}/lang/p5-Try-Tiny

TEST_DEPENDS=   p5-Test-Deep>=0:${PORTSDIR}/devel/p5-Test-Deep \
        p5-Test-Exception>=0:${PORTSDIR}/devel/p5-Test-Exception \
        p5-Test-Fatal>=0:${PORTSDIR}/devel/p5-Test-Fatal

PERL_CONFIGURE= yes

MAN3=       Redis.3 Redis::Hash.3 Redis::List.3

.include <bsd.port.pre.mk>

.if ${PERL_LEVEL} < 501000
BUILD_DEPENDS+= p5-IPC-Cmd>=0:${PORTSDIR}/devel/p5-IPC-Cmd
.endif

.if ${PERL_LEVEL} < 501000
TEST_DEPENDS+=  p5-Test-Simple>=0.96:${PORTSDIR}/devel/p5-Test-Simple
.endif

.include <bsd.port.post.mk>