source: trunk/README @ 276

Last change on this file since 276 was 276, checked in by jkh, 17 years ago

Correctly point out that sudo is necessary to install

  • Property svn:eol-style set to native
File size: 1.7 KB
Line 
1WHAT IS THE DARWIN PORTS SYSTEM
2
3    Darwin Ports is a software build, install, and packaging infrastructure
4designed to meet the same functionality requirements as the FreeBSD ports
5architecture while maintaining extensibility for future enhancement.
6
7    Darwin Ports currently builds and runs on MacOS X 10.2 (Darwin 6.0). The
8system is portable, written in TCL with a limited set of TCL extensions in C.
9
10INSTALLING
11
12    Summary:
13        1. bsdmake
14        2. sudo bsdmake install
15
16    All necessary code and TCL will be compiled and installed as follows:
17        /System/Library/Tcl/8.3/darwinports1.0
18            - TCL library for interfacing with the Darwin Ports System
19        /usr/local/bin/portbuild
20            - Command line port building utility
21        /usr/local/share/darwinports/
22            - TCL libraries internal to the ports system
23
24USING PORTBUILD
25
26    All included port descriptions are currently stored in the software/
27subdirectory of the ports distribution, in the form of:
28
29        software/<category>/<portname>
30
31    To build a port, cd to the port's directory and run 'portbuild'. To install
32a port, run 'portbuild -t install'. Please refer to the portbuild man page for
33complete documentation on the 'portbuild' command.
34
35CREATING NEW PORTS
36
37    Ports consist of directory containing both a Portfile and associated
38files. Currently the only bundled files are patch files, and these are likely
39to be kept to a minimum.
40
41    A Portfile consists of valid TCL, evaluated by a TCL interpreter
42instantiated by the Darwin Ports System. Portfiles use extremely straight-
43forward key/value pair syntax, while allowing the author to use the full
44extent of TCL's functionality where necessary.
45
46    To get started, refer to doc/exampleport.
Note: See TracBrowser for help on using the repository browser.