1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-14 07:43:06 +00:00
freebsd-ports/databases/p5-Dancer-Plugin-Redis/Makefile
2011-11-02 01:10:23 +00:00

37 lines
877 B
Makefile

# New ports collection makefile for: p5-Dancer-Plugin-Redis
# Date created: 31 August 2011
# Whom: Grzegorz Blach <magik@roorback.net>
#
# $FreeBSD$
#
PORTNAME= Dancer-Plugin-Redis
PORTVERSION= 0.02
PORTREVISION= 1
CATEGORIES= databases perl5
MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= CPAN:CSCM
PKGNAMEPREFIX= p5-
MAINTAINER= magik@roorback.net
COMMENT= Redis database connector for Dancer
LICENSE= ART10 GPLv1
LICENSE_COMB= dual
BUILD_DEPENDS= p5-Dancer>=1.1750:${PORTSDIR}/www/p5-Dancer \
p5-Redis>=1.902:${PORTSDIR}/databases/p5-Redis
RUN_DEPENDS= p5-Dancer>=1.1750:${PORTSDIR}/www/p5-Dancer \
p5-Redis>=1.902:${PORTSDIR}/databases/p5-Redis
PERL_CONFIGURE= yes
MAN3= Dancer::Plugin::Redis.3
post-patch:
@${REINPLACE_CMD} -i '' -e \
's/_check_connection($$handle->{dbh})/$$handle->{dbh}->ping/' \
${WRKSRC}/lib/Dancer/Plugin/Redis.pm
.include <bsd.port.mk>