# 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.4 2004/03/30 02:29:11 kevlo Exp $
#

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

MAINTAINER=	lars@thegler.dk
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>
