You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/packaging/macports
Jimmy Tang 8a561d6cd7 Adopt best practices with distributing portfiles
Reorganised packaging and added some notes for less experienced users
on how to get the development version of ansible installed using macports.
12 years ago
..
sysutils/ansible Adopt best practices with distributing portfiles 12 years ago
.gitignore Adopt best practices with distributing portfiles 12 years ago
README.md Adopt best practices with distributing portfiles 12 years ago

README.md

This portfile installs ansible from the git repository, it will install the latest and greatest version of ansible. This portfile does not install the required dependancies to run in fireball mode.

Installing the stable version of ansible via macports

If you wish to run a stable version of ansible please do the following

First update your macports repo to the latest versions

$ sudo port sync

Then install ansible

$ sudo port install ansible

Installing the devel version of ansible via macports

To use this Portfile to install the development version of ansible one should follow the instructions at http://guide.macports.org/#development.local-repositories

The basic idea is to add the ansible/packaging/macports directory to your /opt/local/etc/macports/sources.conf file. You should have something similar to this at the end of the file

file:///Users/jtang/develop/ansible/packaging/macports rsync://rsync.macports.org/release/tarballs/ports.tar [default]

In the ansible/packaging/macports directory, do this

$ portindex

Once the index is created the Portfile will override the one in the upstream macports repository.

Installing newer development versions should involve an uninstall, clean, install process or else the Portfile will need its version number/epoch bumped.