# New ports collection makefile for:	p5-File-RsyncP
# Date created:				Mon Dec 22 10:30:25 GMT 2003
# Whom:					Lars Thegler <lars@thegler.dk>
#
# $FreeBSD: ports/net/p5-File-RsyncP/Makefile,v 1.7 2004/06/01 12:32:31 lth Exp $
#

PORTNAME=	File-RsyncP
PORTVERSION=	0.52
CATEGORIES=	net perl5
MASTER_SITES=	${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR=	File
PKGNAMEPREFIX=	p5-

MAINTAINER=	lth@FreeBSD.org
COMMENT=	Perl Rsync client

PERL_CONFIGURE=	yes

MAN3=		File::RsyncP.3 \
		File::RsyncP::Digest.3 \
		File::RsyncP::FileList.3 \
		File::RsyncP::FileIO.3

post-patch:
	@${FIND} ${WRKSRC} -name \*.orig -delete

.include <bsd.port.pre.mk>

.if ${PERL_LEVEL} <= 500503
# make PREFIX-clean under perl 5.005_03
post-configure:
	${PERL} -pi -e 's,/usr/local/,\$$(PREFIX)/,g' \
		${WRKSRC}/Makefile \
		${WRKSRC}/Digest/Makefile \
		${WRKSRC}/FileList/Makefile
.endif

.include <bsd.port.post.mk>
