# Created by: Rong-En Fan <rafan@FreeBSD.org>
# $FreeBSD$

PORTNAME=	pushmi
PORTVERSION=	1.0.0
PORTREVISION=	8
CATEGORIES=	devel perl5
MASTER_SITES=	CPAN
MASTER_SITE_SUBDIR=	CPAN:CLKAO
DISTNAME=	Pushmi-v${PORTVERSION}

MAINTAINER=	rafan@FreeBSD.org
COMMENT=	Subversion repository replication tool

RUN_DEPENDS=	p5-subversion>=0:${PORTSDIR}/devel/p5-subversion \
		p5-App-CLI>=0.06:${PORTSDIR}/devel/p5-App-CLI \
		p5-Cache-Memcached>=0:${PORTSDIR}/databases/p5-Cache-Memcached \
		p5-Log-Log4perl>=0:${PORTSDIR}/devel/p5-Log-Log4perl \
		p5-YAML-Syck>=0:${PORTSDIR}/textproc/p5-YAML-Syck \
		p5-version>=0:${PORTSDIR}/devel/p5-version \
		svk>=2.0.0:${PORTSDIR}/devel/svk
BUILD_DEPENDS:=	${RUN_DEPENDS} \
		p5-IPC-Run3>=0:${PORTSDIR}/devel/p5-IPC-Run3 \
		p5-RunApp>=0.13:${PORTSDIR}/devel/p5-RunApp \
		p5-Test-Output>=0:${PORTSDIR}/devel/p5-Test-Output \
		${APACHE_PKGNAMEPREFIX}mod_perl2>=0:${PORTSDIR}/www/mod_perl2

USES=		perl5
USE_PERL5=	configure
USE_APACHE=	22+

.include <bsd.port.mk>