Lines 6-12
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= File-Slurp |
8 |
PORTNAME= File-Slurp |
9 |
PORTVERSION= 2004.0904 |
9 |
PORTVERSION= 9999.03 |
10 |
CATEGORIES= devel perl5 |
10 |
CATEGORIES= devel perl5 |
11 |
MASTER_SITES= ${MASTER_SITE_PERL_CPAN} |
11 |
MASTER_SITES= ${MASTER_SITE_PERL_CPAN} |
12 |
MASTER_SITE_SUBDIR= File |
12 |
MASTER_SITE_SUBDIR= File |
Lines 19-22
Link Here
|
19 |
|
19 |
|
20 |
MAN3= File::Slurp.3 |
20 |
MAN3= File::Slurp.3 |
21 |
|
21 |
|
22 |
.include <bsd.port.mk> |
22 |
.include <bsd.port.pre.mk> |
|
|
23 |
|
24 |
.if ${PERL_LEVEL} < 500601 |
25 |
post-configure: |
26 |
cd ${WRKSRC}; \ |
27 |
${PERL} -pi -e 's|(.*Fcntl.*):seek(.*)|\1\2\nuse POSIX qw(SEEK_SET SEEK_CUR SEEK_END);|; \ |
28 |
s|.*= O_BINARY.*||;' lib/File/Slurp.pm t/*.t |
29 |
.endif |
30 |
|
31 |
.include <bsd.port.post.mk> |