cookbook 'macports', '= 1.0.0', :supermarket
macports (5) Versions 1.0.0 Follow1
Installs the Macports subsystem
cookbook 'macports', '= 1.0.0'
knife cookbook site install macports
knife cookbook site download macports
Installs the MacPorts system.
Mac OS X 10.4-10.9
<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>
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
to download the latest version of the MacPorts database.
Once MacPorts is installed on a system, Chef's built-in
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'
License and Authors
- Author: Julian C. Dunn (firstname.lastname@example.org)
- 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.
|dmg >= 0.0.0|
There are no cookbooks that are contingent upon this one.