Revision: 130539 https://trac.macports.org/changeset/130539 Author: larryv@macports.org Date: 2014-12-31 11:33:13 -0800 (Wed, 31 Dec 2014) Log Message: ----------- p5-macosx-file: Add modeline, rearrange, reformat Modified Paths: -------------- trunk/dports/perl/p5-macosx-file/Portfile Modified: trunk/dports/perl/p5-macosx-file/Portfile =================================================================== --- trunk/dports/perl/p5-macosx-file/Portfile 2014-12-31 19:33:11 UTC (rev 130538) +++ trunk/dports/perl/p5-macosx-file/Portfile 2014-12-31 19:33:13 UTC (rev 130539) @@ -1,31 +1,33 @@ +# -*- 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$ -PortSystem 1.0 -PortGroup perl5 1.0 +PortSystem 1.0 +PortGroup perl5 1.0 perl5.branches 5.16 -perl5.setup MacOSX-File 0.71 BSD/DANKOGAI -revision 4 -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 +perl5.setup MacOSX-File 0.71 BSD/DANKOGAI +revision 4 +categories-append sysutils +platforms darwin +license {Artistic-1 GPL} +maintainers nomaintainer -patchfiles patch-Copy-Copy.pm.diff \ - patch-Copy-filecopy.c.diff +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 patch-Copy-Copy.pm.diff \ + patch-Copy-filecopy.c.diff post-patch { - reinplace "s|/usr/local|${prefix}|g" ${worksrcpath}/Makefile.PL + reinplace "s|/usr/local|${prefix}|g" ${worksrcpath}/Makefile.PL } - -test.run yes +test.run yes }