1996-10-24 10:04:19 +02:00
|
|
|
# New ports collection makefile for: p5-File-Slurp
|
|
|
|
# Date created: October 17th 1996
|
|
|
|
# Whom: James FitzGibbon <jfitz@FreeBSD.org>
|
|
|
|
#
|
1999-08-25 07:57:29 +02:00
|
|
|
# $FreeBSD$
|
1996-10-24 10:04:19 +02:00
|
|
|
#
|
|
|
|
|
2000-04-11 23:30:15 +02:00
|
|
|
PORTNAME= File-Slurp
|
2006-03-24 13:08:03 +01:00
|
|
|
PORTVERSION= 9999.12
|
1997-04-20 15:53:29 +02:00
|
|
|
CATEGORIES= devel perl5
|
1996-11-18 09:47:32 +01:00
|
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
|
|
|
|
MASTER_SITE_SUBDIR= File
|
2000-04-11 23:30:15 +02:00
|
|
|
PKGNAMEPREFIX= p5-
|
1996-10-24 10:04:19 +02:00
|
|
|
|
2005-01-21 10:06:18 +01:00
|
|
|
MAINTAINER= perl@FreeBSD.org
|
2003-02-20 18:07:10 +01:00
|
|
|
COMMENT= Perl5 module for single call read & write file routines
|
1996-10-24 10:04:19 +02:00
|
|
|
|
2001-03-01 07:39:18 +01:00
|
|
|
PERL_CONFIGURE= YES
|
1996-10-24 10:04:19 +02:00
|
|
|
|
1996-11-18 09:47:32 +01:00
|
|
|
MAN3= File::Slurp.3
|
|
|
|
|
2003-12-22 14:32:53 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${PERL_LEVEL} < 500601
|
|
|
|
post-configure:
|
|
|
|
cd ${WRKSRC}; \
|
|
|
|
${PERL} -pi -e 's|(.*Fcntl.*):seek(.*)|\1\2\nuse POSIX qw(SEEK_SET SEEK_CUR SEEK_END);|; \
|
|
|
|
s|.*= O_BINARY.*||;' lib/File/Slurp.pm t/*.t
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|