On 01/25/2013 12:18 AM, Ryan Schmidt wrote:
On Jan 24, 2013, at 14:05, bl...@macports.org wrote:
Revision: 102014
https://trac.macports.org/changeset/102014
Author: bl...@macports.org
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.
Thanks, committed in r102039.
Blair
_______________________________________________
macports-dev mailing list
macports-dev@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo/macports-dev