# $Id: Portfile 84467 2011-09-26 15:08:19Z jmr@macports.org $

PortSystem		1.0
PortGroup		perl5 1.0

perl5.setup		MacOSX-File 0.71 BSD/DANKOGAI
revision		3
license		{Artistic-1 GPL}
maintainers		nomaintainer
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
if {${perl5.major} != ""} {
supported_archs	i386 ppc

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
}
