[133368] trunk/dports/perl
Ryan Schmidt
ryandesign at macports.org
Fri Feb 27 20:31:47 PST 2015
> On Feb 27, 2015, at 5:08 PM, devans at macports.org wrote:
>
> Revision
> 133368
> Author
> devans at macports.org
> Date
> 2015-02-27 15:08:00 -0800 (Fri, 27 Feb 2015)
> Log Message
>
> p5-file-find-object: new port, an object oriented File::Find replacement.
> Added Paths
>
> • trunk/dports/perl/p5-file-find-object/
> • trunk/dports/perl/p5-file-find-object/Portfile
> Diff
>
> Added: trunk/dports/perl/p5-file-find-object/Portfile (0 => 133368)
>
> --- trunk/dports/perl/p5-file-find-object/Portfile (rev 0)
> +++ trunk/dports/perl/p5-file-find-object/Portfile 2015-02-27 23:08:00 UTC (rev 133368)
>
> @@ -0,0 +1,25 @@
>
> +# -*- 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
> +
> +perl5.branches 5.16 5.18 5.20
> +perl5.setup File-Find-Object v0.2.12
This will cause the installed version to be "v0.2.12". We would want the installed version to be "0.2.12", without any preceding "v". To do this, you would probably change the version in the perl5.setup line to "0.2.12", and then change the distname later in the portfile.
More information about the macports-dev
mailing list