source: trunk/dports/perl/p5-macosx-file/Portfile

Last change on this file was 154393, checked in by mojca@…, 13 months ago

p5-*: remove subports for perl5.22 (#52081)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.6 KB
Line 
1# -*- 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
2# $Id: Portfile 154393 2016-10-28 22:10:07Z ryandesign@macports.org $
3
4# This comment was inserted on 20160713 to force reindexing of
5# this port after the default homepage definition in the perl5
6# PortGroup was changed to use metacpan.org (r150080).
7# Reindexing is necessary for the new definition to take effect.
8# This comment may be removed in subsequent updates of this port.
9
10PortSystem          1.0
11PortGroup           perl5 1.0
12
13perl5.branches      5.24
14perl5.setup         MacOSX-File 0.71 BSD/DANKOGAI
15revision            4
16categories-append   sysutils
17license             {Artistic-1 GPL}
18maintainers         nomaintainer
19
20description         A collection of Perl modules to manipulate files \
21                    on Mac OS X
22long_description    MacOSX::File is a collection of Perl modules that \
23                    allows you to do what binaries in /Developer/Tools \
24                    allows you to do directly via perl. You can \
25                    implement your own CpMac, MvMac, GetFileInfo and \
26                    SetFile without calling these binaries.
27
28checksums           rmd160  a7e06d8126cff447cf7f3a422138fa7f6d140a36 \
29                    sha256  0a5a0b5f52446d305f590508e29f59fca90609663a8f4581cb2694165438e903
30
31platforms           darwin
32supported_archs     i386 ppc
33
34if {${perl5.major} != ""} {
35    patchfiles      use-FSPathCopyObjectSync.patch \
36                    fix-Copy-tiger.patch \
37                    avoid-FlatCarbon-headers.patch
38
39    post-patch {
40        reinplace   "s|/usr/local|${prefix}|g" ${worksrcpath}/Makefile.PL
41    }
42
43    test.run        yes
44}
Note: See TracBrowser for help on using the repository browser.