source: trunk/README @ 340

Last change on this file since 340 was 340, checked in by landonf (Landon Fuller), 18 years ago

Last GNU / BSD makefile fixes

  • Property svn:eol-style set to native
File size: 2.3 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. make
14        2. sudo make install
15        3. edit /etc/ports.conf
16
17    All necessary code and TCL will be compiled and installed as follows:
18        /System/Library/Tcl/8.3/darwinports1.0
19            - TCL library for interfacing with the Darwin Ports System
20        /usr/local/bin/portbuild
21            - Command line port building utility
22        /usr/local/share/darwinports/
23            - TCL libraries internal to the ports system
24        /etc/ports.conf
25            - System-wide port settings
26
27    The /etc/ports.conf configuration file takes the same directives as
28a Portfile, and can be used to override all ports' defaults. There are optional
29and required directives that you should configure at install time.
30
31        sysportpath     - (required) Specifies the path to the ports system.
32                            Used to find and build port dependencies
33        ports_debug     - (optional) Takes either a "yes" or "no" value.
34                            If set, debug messages are printed
35        ports_verbose   - (optional) Takes either a "yes" or "no" value.
36                            If set, informational messages are printed
37
38USING PORTBUILD
39
40    All included port descriptions are currently stored in the software/
41subdirectory of the ports distribution, in the form of:
42
43        software/<category>/<portname>
44
45    To build a port, cd to the port's directory and run 'portbuild'. To install
46a port, run 'portbuild install'. Please refer to the portbuild man page for
47complete documentation on the 'portbuild' command.
48
49CREATING NEW PORTS
50
51    Ports consist of directory containing both a Portfile and associated
52files. Currently the only bundled files are patch files, and these are likely
53to be kept to a minimum.
54
55    A Portfile consists of valid TCL, evaluated by a TCL interpreter
56instantiated by the Darwin Ports System. Portfiles use extremely straight-
57forward key/value pair syntax, while allowing the author to use the full
58extent of TCL's functionality where necessary.
59
60    To get started, refer to doc/exampleport.
Note: See TracBrowser for help on using the repository browser.