Sha256: 0d5ddc6e5d6981aaeab365b7a8ae66640ad7308dc58a2996b515c89c00b423de

Contents?: true

Size: 932 Bytes

Versions: 48

Compression:

Stored size: 932 Bytes

Contents

module Sprinkle
  module Installers
    # = Mac OS X Port Installer (macports)
    #
    # The Port 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
    # capistrano 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
    class MacPort < Installer
      attr_accessor :port #:nodoc:

      def initialize(parent, port, &block) #:nodoc:
        super parent, &block
        @port = port
      end

      protected

        def install_commands #:nodoc:
          "port install #{@port}"
        end

    end
  end
end

Version data entries

48 entries across 48 versions & 10 rubygems

Version Path
lachlan-sprinkle-0.0.6 lib/sprinkle/installers/mac_port.rb
lachlan-sprinkle-0.0.7 lib/sprinkle/installers/mac_port.rb
lachlan-sprinkle-0.0.8 lib/sprinkle/installers/mac_port.rb
lachlan-sprinkle-0.0.9 lib/sprinkle/installers/mac_port.rb
mdwan-sprinkle-0.2.2 lib/sprinkle/installers/mac_port.rb
mdwan-sprinkle-0.2.3 lib/sprinkle/installers/mac_port.rb
trevorturk-sprinkle-0.2.2 lib/sprinkle/installers/mac_port.rb
trevorturk-sprinkle-0.2.6 lib/sprinkle/installers/mac_port.rb
sprinkle-0.4.2 lib/sprinkle/installers/mac_port.rb
sprinkle-0.4.1 lib/sprinkle/installers/mac_port.rb
sprinkle-0.4.0 lib/sprinkle/installers/mac_port.rb
sprinkle-0.3.6 lib/sprinkle/installers/mac_port.rb
sprinkle-0.3.5 lib/sprinkle/installers/mac_port.rb
dhill-sprinkle-0.3.3.1 lib/sprinkle/installers/mac_port.rb
sprinkle-0.3.4 lib/sprinkle/installers/mac_port.rb
sprinkle-0.3.3 lib/sprinkle/installers/mac_port.rb
sprinkle-0.3.2 lib/sprinkle/installers/mac_port.rb
powcloud-sprinkle-0.3.4 lib/sprinkle/installers/mac_port.rb
powcloud-sprinkle-0.3.0 lib/sprinkle/installers/mac_port.rb
sprinkle-0.3.1 lib/sprinkle/installers/mac_port.rb