Class: Autoproj::PackageManagers::PortManager

Inherits:
ShellScriptManager show all
Defined in:
lib/autoproj/package_managers/port_manager.rb

Overview

Package manager interface for systems that use port (i.e. MacPorts/Darwin) as their package manager

Instance Attribute Summary

Attributes inherited from ShellScriptManager

#auto_install_cmd, #needs_locking, #needs_root, #user_install_cmd

Attributes inherited from Manager

#enabled, #silent, #ws

Instance Method Summary collapse

Methods inherited from ShellScriptManager

execute, #generate_auto_os_script, #generate_script, #generate_user_os_script, #install, #needs_locking?, #needs_root?, #osdeps_interaction

Methods inherited from Manager

#call_while_empty?, #configure_manager, #enabled?, #initialize_environment, #os_dependencies, #silent?, #strict?

Constructor Details

#initialize(ws) ⇒ PortManager

Returns a new instance of PortManager.



6
7
8
9
10
# File 'lib/autoproj/package_managers/port_manager.rb', line 6

def initialize(ws)
    super(ws, true,
            %w[port install],
            %w[port install])
end