=================================================================== RCS file: /cvsrepo/anoncvs/cvs/www/Attic/ports.html,v retrieving revision 1.54 retrieving revision 1.55 diff -u -r1.54 -r1.55 --- www/Attic/ports.html 2001/08/06 21:57:18 1.54 +++ www/Attic/ports.html 2001/08/12 20:14:29 1.55 @@ -28,6 +28,8 @@
  • Using Ports
  • Life Cycle of the Ports Tree
  • Ports and XFree86
  • +
  • Example Use of the Ports Tree
  • +
  • Advanced Usage of the Ports Tree
  • Creating New Ports
  • Problems and Contacts
  • @@ -67,7 +69,8 @@

    Packages are the binary equivalent of ports. A compiled port becomes -a package that can be registered into the system using pkg_add(1). +a package that can be registered into the system using +pkg_add(1)

    @@ -184,7 +187,8 @@ The current ports tree may not be used with the previous release once the switch to tracking OpenBSD-current occurs. This is due to changes, typically with the port make process, that require code -based upon the OpenBSD-current source tree. +based upon the OpenBSD-current source tree. This switch will be announced +on the ports@openbsd.org mailing list.

    The ports tree works as a single entity. Updating a single directory is not guaranteed to work, as package dependencies may force you to update and recompile vast portions of the ports tree. @@ -225,13 +229,9 @@ to a default binary XFree86 4.0.x distribution for it to work with the OpenBSD ports tree. -

    Example Use of the Ports Tree

    +

    Example Use of the Ports Tree

    -First, please read the

    /usr/ports/README
    file on your system. -

    - -

    Let's say you managed to get a ports tree and you want to compile and install the archiving utility unzip. You should be able to do something like this: @@ -262,7 +262,8 @@

    As ports get built, the /usr/ports/distfiles directory gets filled with program sources, and /usr/ports/packages gets filled with binary packages. -Users with low connectivity may refer to mirror-distfiles(7) for +Users with low connectivity may refer to +mirroring-ports(7) for an efficient way to grab all distfiles at once. In OpenBSD-current, you can use the script /usr/ports/infrastructure/fetch/clean-old to track old distfiles. @@ -270,6 +271,19 @@ If you wish to have the distfiles, you will have to get them through an independent way. +

    Advanced Usage of the Ports Tree

    + +

    +Ports tree has many features for the advanced user that make it a valuable +tool beyond basic installation. Advanced users may wish to tamper with +the makefiles (you should read the +make(1) +manual page first) or set various variables from the make commandline or in +/etc/mk.conf. These variables are described in detail in the +bsd.port.mk(5) +manual page, and the porting documents below. +

    +

    Creating New Ports

    If you are interested in helping to expand the OpenBSD ports tree @@ -328,6 +342,6 @@


    OpenBSD www@openbsd.org -
    $OpenBSD: ports.html,v 1.54 2001/08/06 21:57:18 lebel Exp $ +
    $OpenBSD: ports.html,v 1.55 2001/08/12 20:14:29 heko Exp $