# Created by: Oliver Braun <obraun@FreeBSD.org>
# $FreeBSD: branches/RELEASE_8_4_0/devel/cvs2darcs/Makefile 309275 2012-12-20 02:23:04Z pgj $

PORTNAME=	cvs2darcs
PORTVERSION=	0.8
PORTREVISION=	5
CATEGORIES=	devel
MASTER_SITES=	http://ab-initio.mit.edu/${PORTNAME}/

MAINTAINER=	haskell@FreeBSD.org
COMMENT=	Convert CVS module to darcs repository

LICENSE=	GPLv2

BUILD_DEPENDS=	darcs:${PORTSDIR}/devel/hs-darcs \
		cvsps:${PORTSDIR}/devel/cvsps \
		p5-libwww>=0:${PORTSDIR}/www/p5-libwww
RUN_DEPENDS:=	${BUILD_DEPENDS}

GNU_CONFIGURE=	yes
USE_PERL5=	yes
NO_BUILD=	yes
MAN1=	cvs2darcs.1
PLIST_FILES=	bin/cvs2darcs share/cvs2darcs/cvs_convert.pl \
		share/cvs2darcs/branch_detect.pl
PLIST_DIRS=	share/cvs2darcs

.include <bsd.port.mk>
