2012-11-04 14:05:04 +01:00
|
|
|
# Created by: Grzegorz Blach <gblach@FreeBSD.org>
|
2011-09-03 22:23:13 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= Dancer-Plugin-Redis
|
|
|
|
PORTVERSION= 0.02
|
2011-11-01 02:36:41 +01:00
|
|
|
PORTREVISION= 1
|
2011-09-03 22:23:13 +02:00
|
|
|
CATEGORIES= databases perl5
|
|
|
|
MASTER_SITES= CPAN
|
|
|
|
MASTER_SITE_SUBDIR= CPAN:CSCM
|
|
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
|
2012-11-04 14:05:04 +01:00
|
|
|
MAINTAINER= gblach@FreeBSD.org
|
2011-09-03 22:23:13 +02:00
|
|
|
COMMENT= Redis database connector for Dancer
|
|
|
|
|
|
|
|
LICENSE= ART10 GPLv1
|
|
|
|
LICENSE_COMB= dual
|
|
|
|
|
|
|
|
BUILD_DEPENDS= p5-Dancer>=1.1750:${PORTSDIR}/www/p5-Dancer \
|
2011-11-01 02:36:41 +01:00
|
|
|
p5-Redis>=1.902:${PORTSDIR}/databases/p5-Redis
|
2011-09-03 22:23:13 +02:00
|
|
|
RUN_DEPENDS= p5-Dancer>=1.1750:${PORTSDIR}/www/p5-Dancer \
|
2011-11-01 02:36:41 +01:00
|
|
|
p5-Redis>=1.902:${PORTSDIR}/databases/p5-Redis
|
2011-09-03 22:23:13 +02:00
|
|
|
|
|
|
|
PERL_CONFIGURE= yes
|
|
|
|
|
|
|
|
MAN3= Dancer::Plugin::Redis.3
|
|
|
|
|
2011-11-01 02:36:41 +01:00
|
|
|
post-patch:
|
2011-11-02 02:10:23 +01:00
|
|
|
@${REINPLACE_CMD} -i '' -e \
|
2011-11-01 02:36:41 +01:00
|
|
|
's/_check_connection($$handle->{dbh})/$$handle->{dbh}->ping/' \
|
|
|
|
${WRKSRC}/lib/Dancer/Plugin/Redis.pm
|
|
|
|
|
2011-09-03 22:23:13 +02:00
|
|
|
.include <bsd.port.mk>
|