# $Id: Portfile 48869 2009-03-31 01:02:51Z ricci@macports.org $
PortSystem		1.0
PortGroup		perl5 1.0

perl5.setup		MacOSX-File 0.71 BSD/DANKOGAI
revision		1
maintainers		ricci
categories-append	sysutils
description		A collection of Perl modules to manipulate files on Mac OS X
long_description	MacOSX::File is a collection of Perl modules that \
					allows you to do what binaries in /Developer/Tools \
					allows you to do directly via perl. You can \
					implement your own CpMac, MvMac, GetFileInfo and \
					SetFile without calling these binaries.
checksums		md5 c63681cb87eb52df07d78897283bd493
platforms		darwin

patchfiles		patch-Copy-Copy.pm.diff \
				patch-Copy-filecopy.c.diff

post-patch {
	reinplace "s|/usr/local|${prefix}|g" ${worksrcpath}/Makefile.PL
}

test.run		yes
