cookbook 'macports', '~> 1.1.3'
macports (5) Versions 1.1.3 Follow1
Installs the Macports subsystem
cookbook 'macports', '~> 1.1.3', :supermarket
knife supermarket install macports
knife supermarket download macports
MacPorts Cookbook
Installs the MacPorts system.
Requirements
Platforms
Mac OS X 10.4-10.10
Cookbooks
dmg
mac_os_x
Attributes
macports::default
<table>
<tr>
<th>Key</th>
<th>Type</th>
<th>Description</th>
<th>Default</th>
</tr>
<tr>
<td><tt>['macports']['url']</tt></td>
<td>String</td>
<td>where to retrieve either the DMG or PKG for MacPorts</td>
<td>depends on platform_version</td>
</tr>
<tr>
<td><tt>['macports']['checksum']</tt></td>
<td>String</td>
<td>checksum for foregoing package</td>
</td>
</tr>
</table>
Usage
macports::default
The default recipe will install MacPorts, either using a DMG package
(for Mac OS X =< 10.4) or a PKG (for Mac OS X >= 10.5).
To actually use MacPorts, you will need to run /opt/local/bin/port selfupdate
to download the latest version of the MacPorts database.
Once MacPorts is installed on a system, Chef's built-in package
resource
can be used; however, you must ensure that /opt/local/bin
is in Chef's
path. This can be accomplished with a directive such as
ENV['PATH'] += ':/opt/local/bin'
in Chef's client.rb
.
License and Authors
- Author: Julian C. Dunn (jdunn@aquezada.com)
- Copyright: 2013-2014 Julian C. Dunn
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Dependent cookbooks
dmg >= 0.0.0 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
macports CHANGELOG
This file is used to list changes made in each version of the macports cookbook.
1.1.3
- Update to MacPorts 2.3.4
- Support El Capitan
1.1.2
- Ensure correct DMG name
1.1.1
- Update to MacPorts 2.3.3
1.1.0
- Update all to MacPorts 2.3.2
- Add Yosemite support
1.0.0
- Initial release of macports
Collaborator Number Metric
1.1.3 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
1.1.3 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Foodcritic Metric
1.1.3 passed this metric
No Binaries Metric
1.1.3 passed this metric
Testing File Metric
1.1.3 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
1.1.3 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
1.1.3 failed this metric
1.1.3 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Foodcritic Metric
1.1.3 passed this metric
No Binaries Metric
1.1.3 passed this metric
Testing File Metric
1.1.3 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
1.1.3 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
1.1.3 passed this metric
1.1.3 passed this metric
Testing File Metric
1.1.3 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
1.1.3 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
1.1.3 failed this metric
1.1.3 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number