# New ports collection makefile for: sysutils/p5-Filesys-DiskUsage # Date created: 20 September 2005 # Whom: Alex Deiter # # $FreeBSD$ # PORTNAME= Filesys-DiskUsage PORTVERSION= 0.02 CATEGORIES= sysutils perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN} MASTER_SITE_SUBDIR= Filesys PKGNAMEPREFIX= p5- MAINTAINER= tiamat@komi.mts.ru COMMENT= Perl equivalent of du(1) PERL_CONFIGURE= yes MAN3= Filesys::DiskUsage.3 .include post-patch: @${RM} ${WRKSRC}/lib/Filesys/DiskUsage.pm.orig .if ${PERL_LEVEL} < 500600 @${PERL} -pi -e '$$_ = "" if /use warnings;/;' \ -e 's/^our\s+([\$$\@\%]\w+)/use vars qw($$1); $$1/;' \ ${WRKSRC}/lib/Filesys/DiskUsage.pm \ ${WRKSRC}/Makefile.PL .endif .include