blob: b7434d4d5d32eb9601b643872293a6d3b58a01b8 (
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
|
# ex:ts=8
# Ports collection makefile for: File::Copy::Recursive
# Date created: Nov 26, 2005
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= File-Copy-Recursive
PORTVERSION= 0.18
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= File
PKGNAMEPREFIX= p5-
MAINTAINER= clsung@FreeBSD.org
COMMENT= Perl extension for recursively copying files and directories
PERL_CONFIGURE= yes
MAN3= File::Copy::Recursive.3
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500600
post-patch:
${PERL} -pi -e 's/(mkdir \S+)/$$1, 0755/g' ${WRKSRC}/Recursive.pm
${PERL} -pi -e 's/^our\s+([\$$\@\%]\w+)/use vars qw($$1); $$1/;' ${WRKSRC}/Recursive.pm
${REINPLACE_CMD} -e '/warnings/d' ${WRKSRC}/Recursive.pm
.endif
.include <bsd.port.post.mk>
|