9c82ac475e
Changelog: - added sector-size and symlink-size patch, thanks to Darin McBride - fixed a couple of things on fdu While at it, add SHA256. PR: 89047 Submitted by: maintainer
33 lines
763 B
Makefile
33 lines
763 B
Makefile
# New ports collection makefile for: sysutils/p5-Filesys-DiskUsage
|
|
# Date created: 20 September 2005
|
|
# Whom: Alex Deiter <tiamat@komi.mts.ru>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= Filesys-DiskUsage
|
|
PORTVERSION= 0.04
|
|
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 <bsd.port.pre.mk>
|
|
|
|
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 <bsd.port.post.mk>
|