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
crafterm-sprinkle-0.2.1 lib/sprinkle/installers/mac_port.rb
crafterm-sprinkle-0.2.2 lib/sprinkle/installers/mac_port.rb
crafterm-sprinkle-0.2.3 lib/sprinkle/installers/mac_port.rb
crafterm-sprinkle-0.2.4 lib/sprinkle/installers/mac_port.rb
crafterm-sprinkle-0.2.5 lib/sprinkle/installers/mac_port.rb
crafterm-sprinkle-0.2.6 lib/sprinkle/installers/mac_port.rb
jemmyw-sprinkle-0.2.3 lib/sprinkle/installers/mac_port.rb
jemmyw-sprinkle-0.2.4 lib/sprinkle/installers/mac_port.rb
justsee-sprinkle-0.2.4 lib/sprinkle/installers/mac_port.rb
lachlan-sprinkle-0.0.1 lib/sprinkle/installers/mac_port.rb
lachlan-sprinkle-0.0.10 lib/sprinkle/installers/mac_port.rb
lachlan-sprinkle-0.0.11 lib/sprinkle/installers/mac_port.rb
lachlan-sprinkle-0.0.13 lib/sprinkle/installers/mac_port.rb
lachlan-sprinkle-0.0.14 lib/sprinkle/installers/mac_port.rb
lachlan-sprinkle-0.0.15 lib/sprinkle/installers/mac_port.rb
lachlan-sprinkle-0.0.16 lib/sprinkle/installers/mac_port.rb
lachlan-sprinkle-0.0.2 lib/sprinkle/installers/mac_port.rb
lachlan-sprinkle-0.0.3 lib/sprinkle/installers/mac_port.rb
lachlan-sprinkle-0.0.4 lib/sprinkle/installers/mac_port.rb
lachlan-sprinkle-0.0.5 lib/sprinkle/installers/mac_port.rb