    # File lib/chef/provider/package/freebsd.rb, line 113
            def remove_package(name, version)
              # a version is mandatory
              if version
                shell_out!("pkg_delete #{package_name}-#{version}", :env => nil).status
              else
                shell_out!("pkg_delete #{package_name}-#{@current_resource.version}", :env => nil).status
              end
            end