# New ports collection makefile for:	SVN-Notify-Snapshot
# Date created:		2008-02-14
# Whom:			Greg Larkin <glarkin@FreeBSD.org>
#
# $FreeBSD: branches/RELEASE_8_4_0/devel/p5-SVN-Notify-Snapshot/Makefile 305664 2012-10-10 15:05:15Z glarkin $
#

PORTNAME=	SVN-Notify-Snapshot
PORTVERSION=	0.04
CATEGORIES=	devel perl5
MASTER_SITES=	CPAN
PKGNAMEPREFIX=	p5-

MAINTAINER=	glarkin@FreeBSD.org
COMMENT=	Take snapshots from Subversion activity

BUILD_DEPENDS=	${LOCALBASE}/bin/svnnotify:${PORTSDIR}/devel/p5-SVN-Notify
RUN_DEPENDS=	${LOCALBASE}/bin/svnnotify:${PORTSDIR}/devel/p5-SVN-Notify

OPTIONS_DEFINE=	CONFIG
CONFIG_DESC=	Enable YAML syntax for post-commit hook

PERL_MODBUILD=	yes

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MCONFIG}
BUILD_DEPENDS+=	p5-SVN-Notify-Config>=0:${PORTSDIR}/devel/p5-SVN-Notify-Config
RUN_DEPENDS+=	p5-SVN-Notify-Config>=0:${PORTSDIR}/devel/p5-SVN-Notify-Config
.endif

MAN3=		SVN::Notify::Snapshot.3 SVN::Notify::Snapshot::ConfigData.3

.include <bsd.port.mk>
