# New ports collection makefile for:	fastest_cvsup
# Date created:        16 July 2002
# Whom:                A.J.Robinson (ajr@subdimension.com)
#
# $FreeBSD: ports/sysutils/fastest_cvsup/Makefile,v 1.20 2009/01/07 22:26:05 miwi Exp $
#

PORTNAME=	fastest_cvsup
PORTVERSION=	0.2.9
PORTREVISION=	6
CATEGORIES=	sysutils
MASTER_SITES=	http://www.chruetertee.ch/files/download/

MAINTAINER=	beat@chruetertee.ch
COMMENT=	Finds fastest CVSup server

DISTVERSION=	0.2.8
USE_PERL5=	yes

MAN7=		fastest_cvsup.7
PLIST_FILES=	bin/fastest_cvsup

OPTIONS=	ROUNDTRIP	"Build with round-trip patch" off

.include <bsd.port.pre.mk>

.if defined(WITH_ROUNDTRIP)
EXTRA_PATCHES=	${FILESDIR}/extrapatch-fastest_cvsup
.endif

.if ${PERL_LEVEL} < 500805
RUN_DEPENDS+=	${SITE_PERL}/${PERL_ARCH}/Time/HiRes.pm:${PORTSDIR}/devel/p5-Time-HiRes
.endif

.include <bsd.port.post.mk>
