On Jan 24, 2013, at 14:05, [email protected] wrote: > Revision: 102014 > https://trac.macports.org/changeset/102014 > Author: [email protected] > Date: 2013-01-24 12:05:14 -0800 (Thu, 24 Jan 2013) > Log Message: > ----------- > ansible: new port for an SSH-based configuration management and deployment > system. > > Added Paths: > ----------- > trunk/dports/sysutils/ansible/ > trunk/dports/sysutils/ansible/Portfile
> +github.setup ansible ansible 0.9 To fix the livecheck, you can add the tag prefix as the 4th argument. Looks like with version 0.9 they started using a "v" prefix on their tag names. > +master_sites https://github.com/ansible/ansible/downloads This can be changed to "github.tarball_from downloads" for now. The github uploads / downloads feature is deprecated and going away soon, so the developers will probably be picking a new place to host their downloads and this will change again. > +patch { > + foreach f [exec find ${worksrcpath} -type f] { > + reinplace "s#/etc/ansible#${prefix}/etc/ansible#g" ${f} > + reinplace "s#/usr/share/ansible#${prefix}/share/ansible#g" ${f} > + } > +} This should use fs-traverse instead of calling out to the shell. The attached patch makes these changes and works for me.
ansible.diff
Description: Binary data
_______________________________________________ macports-dev mailing list [email protected] http://lists.macosforge.org/mailman/listinfo/macports-dev
