aboutsummaryrefslogtreecommitdiffstats
path: root/net/p5-File-RsyncP/Makefile
blob: ae11f8104c1e6fe5c42464d5c651eeac36fa4a15 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# 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$
#

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>