# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
# $Id: Portfile 130543 2014-12-31 21:26:01Z larryv@macports.org $

PortSystem          1.0
PortGroup           perl5 1.0

perl5.branches      5.16
perl5.setup         MacOSX-File 0.71 BSD/DANKOGAI
revision            4
categories-append   sysutils
platforms           darwin
license             {Artistic-1 GPL}
maintainers         nomaintainer

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

if {${perl5.major} ne ""} {
supported_archs     i386 ppc
patchfiles          use-FSPathCopyObjectSync.patch \
                    fix-Copy-tiger.patch \
                    use-CoreServices-header.patch
post-patch {
    reinplace "s|/usr/local|${prefix}|g" ${worksrcpath}/Makefile.PL
}
test.run            yes
}
