freebsd-ports/databases/p5-Redis/Makefile
Sunpoet Po-Chuan Hsieh 2c2ce564cf - Update to 1.951
Changes:	http://search.cpan.org/dist/Redis/Changes
Feature safe:	yes
2012-03-14 05:00:20 +00:00

42 lines
1.1 KiB
Makefile

# New ports collection makefile for: p5-Redis
# Date created: 2009-09-19
# Whom: Gea-Suan Lin <gslin@gslin.org>
#
# $FreeBSD$
#
PORTNAME= Redis
PORTVERSION= 1.9510
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>