class Sprinkle::Installers::MacPort
The MacPort
installer installs macports ports.
Example Usage¶ ↑
Installing the magic_beans port.
package :magic_beans do mac_port 'magic/magic_beans' end
Notes¶ ↑
Before MacPorts packages can be installed, the PATH environment variable probably has to be changed so Sprinkle
can find the /opt/local/bin/port executable
You must set PATH in ~/.ssh/environment on the remote system and enable 'PermitUserEnvironment yes' in /etc/sshd_config
Public Instance Methods
mac_port(port, options={}, &block)
click to toggle source
# File lib/sprinkle/installers/mac_port.rb, line 25 def mac_port(port, options={}, &block) install MacPort.new(self, port, options, &block) end