Sha256: c8382b92489ac1d0627105a3f5cdeaf9fe20bbac32274a79792dd329740fdcc1
Contents?: true
Size: 756 Bytes
Versions: 48
Compression:
Stored size: 756 Bytes
Contents
module Sprinkle module Installers # = OpenBSD and FreeBSD Port Installer # # The Port installer installs OpenBSD and FreeBSD ports. # Before usage, the ports sytem must be installed and # read on the target operating system. # # == Example Usage # # Installing the magic_beans port. # # package :magic_beans do # bsd_port 'magic/magic_beans' # end # class BsdPort < Installer attr_accessor :port #:nodoc: def initialize(parent, port, &block) #:nodoc: super parent, &block @port = port end protected def install_commands #:nodoc: "sh -c 'cd /usr/ports/#{@port} && make BATCH=yes install clean'" end end end end
Version data entries
48 entries across 48 versions & 10 rubygems