1997-11-09 06:05:45 +00:00
|
|
|
.\"
|
|
|
|
.\" Copyright (c) 1997 David E. O'Brien
|
|
|
|
.\"
|
|
|
|
.\" All rights reserved.
|
|
|
|
.\"
|
|
|
|
.\" Redistribution and use in source and binary forms, with or without
|
|
|
|
.\" modification, are permitted provided that the following conditions
|
|
|
|
.\" are met:
|
|
|
|
.\" 1. Redistributions of source code must retain the above copyright
|
|
|
|
.\" notice, this list of conditions and the following disclaimer.
|
|
|
|
.\" 2. Redistributions in binary form must reproduce the above copyright
|
|
|
|
.\" notice, this list of conditions and the following disclaimer in the
|
|
|
|
.\" documentation and/or other materials provided with the distribution.
|
|
|
|
.\"
|
|
|
|
.\" THIS SOFTWARE IS PROVIDED BY THE DEVELOPERS ``AS IS'' AND ANY EXPRESS OR
|
|
|
|
.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
|
|
|
.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
|
|
|
.\" IN NO EVENT SHALL THE DEVELOPERS BE LIABLE FOR ANY DIRECT, INDIRECT,
|
|
|
|
.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
|
|
|
|
.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
|
|
|
.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
|
|
|
.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
|
|
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
|
|
|
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
|
.\"
|
1999-08-28 00:22:10 +00:00
|
|
|
.\" $FreeBSD$
|
1997-11-09 06:05:45 +00:00
|
|
|
.\"
|
2004-06-02 15:03:59 +00:00
|
|
|
.Dd June 02, 2004
|
1997-11-09 06:05:45 +00:00
|
|
|
.Dt PORTS 7
|
2001-07-10 15:31:11 +00:00
|
|
|
.Os
|
1997-11-09 06:05:45 +00:00
|
|
|
.Sh NAME
|
|
|
|
.Nm ports
|
|
|
|
.Nd contributed applications
|
|
|
|
.Sh DESCRIPTION
|
|
|
|
The
|
2000-11-14 11:20:58 +00:00
|
|
|
.Fx
|
2002-03-18 10:07:22 +00:00
|
|
|
Ports Collection
|
1997-11-09 06:05:45 +00:00
|
|
|
offers a simple way for users and
|
|
|
|
administrators to install applications.
|
2001-07-14 19:41:16 +00:00
|
|
|
Each
|
1998-01-31 02:55:58 +00:00
|
|
|
.Em port
|
|
|
|
contains any patches necessary to make the original
|
2001-08-14 10:01:54 +00:00
|
|
|
application source code compile and run on
|
|
|
|
.Bx .
|
|
|
|
Compiling an
|
1998-01-31 02:55:58 +00:00
|
|
|
application is as simple as typing
|
2002-03-18 10:07:22 +00:00
|
|
|
.Nm make Cm build
|
|
|
|
in the port directory!
|
|
|
|
The
|
|
|
|
.Pa Makefile
|
1998-01-28 01:09:46 +00:00
|
|
|
automatically fetches the
|
2002-03-18 10:07:22 +00:00
|
|
|
application source code, either from a local disk or via FTP, unpacks it
|
|
|
|
on your system, applies the patches, and compiles it.
|
|
|
|
If all goes well,
|
1997-11-09 06:05:45 +00:00
|
|
|
simply type
|
2002-03-18 10:07:22 +00:00
|
|
|
.Nm make Cm install
|
1997-11-09 06:05:45 +00:00
|
|
|
to install the application.
|
|
|
|
.Pp
|
2000-11-14 11:20:58 +00:00
|
|
|
It is possible to download and use ports from the
|
|
|
|
.Fx
|
|
|
|
repository
|
1998-12-30 17:32:47 +00:00
|
|
|
that are newer than the installed system; however it is important to
|
2002-03-18 10:07:22 +00:00
|
|
|
install the appropriate
|
|
|
|
.Dq "Upgrade Kit"
|
|
|
|
from
|
|
|
|
.Pa http://www.FreeBSD.org/ports/
|
|
|
|
first!
|
|
|
|
The
|
1998-12-30 17:32:47 +00:00
|
|
|
.Xr portcheckout 1
|
|
|
|
script (also a port, of course!) will help to download new ports.
|
|
|
|
.Pp
|
1997-11-09 06:05:45 +00:00
|
|
|
For more information about using ports, see
|
2002-03-18 10:07:22 +00:00
|
|
|
.Dq "Packages and Ports"
|
2002-03-12 09:45:29 +00:00
|
|
|
in
|
2002-03-18 10:07:22 +00:00
|
|
|
.%B "The FreeBSD Handbook" ,
|
2002-10-22 23:06:29 +00:00
|
|
|
.Pa ( file:/usr/share/doc/en_US.ISO8859-1/books/handbook/ports.html
|
2002-03-18 10:07:22 +00:00
|
|
|
or
|
2002-10-22 23:06:29 +00:00
|
|
|
.Pa http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/ports.html ) .
|
1997-11-09 06:05:45 +00:00
|
|
|
For information about creating new ports, see
|
2002-03-18 10:07:22 +00:00
|
|
|
.%B "The Porter's Handbook"
|
2003-11-12 08:26:08 +00:00
|
|
|
.Pa ( file:/usr/share/doc/en_US.ISO8859-1/books/porters-handbook/index.html
|
2002-03-18 10:07:22 +00:00
|
|
|
or
|
2002-07-30 21:04:26 +00:00
|
|
|
.Pa http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/porters-handbook/ ) .
|
1998-01-28 01:09:46 +00:00
|
|
|
.Sh TARGETS
|
1998-01-31 02:55:58 +00:00
|
|
|
Some of the targets work recursively through subdirectories.
|
2002-03-18 10:07:22 +00:00
|
|
|
This lets you, for example, install all of the
|
|
|
|
.Dq Li biology
|
|
|
|
ports.
|
|
|
|
The targets that do this are
|
|
|
|
.Cm build , checksum , clean , configure ,
|
|
|
|
.Cm depends , extract , fetch , install ,
|
1998-01-31 02:55:58 +00:00
|
|
|
and
|
2002-03-18 10:07:22 +00:00
|
|
|
.Cm package .
|
1998-01-31 02:55:58 +00:00
|
|
|
.Pp
|
|
|
|
The following targets will be run automatically by each proceeding
|
2002-03-18 10:07:22 +00:00
|
|
|
target in order.
|
|
|
|
That is,
|
|
|
|
.Cm build
|
1998-01-31 02:55:58 +00:00
|
|
|
will be run
|
2001-08-07 15:48:51 +00:00
|
|
|
(if necessary)
|
1998-01-31 02:55:58 +00:00
|
|
|
by
|
2002-03-18 10:07:22 +00:00
|
|
|
.Cm install ,
|
1998-01-31 02:55:58 +00:00
|
|
|
and so on all the way to
|
2002-03-18 10:07:22 +00:00
|
|
|
.Cm fetch .
|
2001-04-22 00:28:40 +00:00
|
|
|
Usually, you will only use the
|
2002-03-18 10:07:22 +00:00
|
|
|
.Cm install
|
2001-04-22 00:28:40 +00:00
|
|
|
target.
|
2002-03-18 10:07:22 +00:00
|
|
|
.Bl -tag -width ".Cm configure"
|
2004-06-02 14:15:35 +00:00
|
|
|
.It Cm config
|
|
|
|
Configure
|
|
|
|
.Va OPTIONS
|
|
|
|
for this port using
|
|
|
|
.Xr dialog 1 .
|
2002-03-18 10:07:22 +00:00
|
|
|
.It Cm fetch
|
|
|
|
Fetch all of the files needed to build this port from the sites
|
|
|
|
listed in
|
|
|
|
.Va MASTER_SITES
|
1998-01-31 02:55:58 +00:00
|
|
|
and
|
2002-03-18 10:07:22 +00:00
|
|
|
.Va PATCH_SITES .
|
|
|
|
See
|
|
|
|
.Va FETCH_CMD
|
|
|
|
and
|
|
|
|
.Va MASTER_SITE_OVERRIDE .
|
|
|
|
.It Cm checksum
|
2001-04-22 00:28:40 +00:00
|
|
|
Verify that the fetched distfile's checksum matches the one the port was
|
|
|
|
tested against.
|
1998-01-31 02:55:58 +00:00
|
|
|
Defining
|
2002-03-18 10:07:22 +00:00
|
|
|
.Va NO_CHECKSUM
|
1998-01-31 02:55:58 +00:00
|
|
|
will skip this step.
|
2002-03-18 10:07:22 +00:00
|
|
|
.It Cm depends
|
1998-01-31 02:55:58 +00:00
|
|
|
Install
|
2001-08-07 15:48:51 +00:00
|
|
|
(or compile if only compilation is necessary)
|
2002-03-18 10:07:22 +00:00
|
|
|
any dependencies of the current port.
|
|
|
|
When called by the
|
|
|
|
.Cm extract
|
1998-01-31 02:55:58 +00:00
|
|
|
or
|
2002-03-18 10:07:22 +00:00
|
|
|
.Cm fetch
|
1998-01-31 02:55:58 +00:00
|
|
|
targets, this is run in piecemeal as
|
2002-03-18 10:07:22 +00:00
|
|
|
.Cm fetch-depends , build-depends ,
|
|
|
|
etc.
|
|
|
|
Defining
|
|
|
|
.Va NO_DEPENDS
|
1998-01-31 02:55:58 +00:00
|
|
|
will skip this step.
|
2002-03-18 10:07:22 +00:00
|
|
|
.It Cm extract
|
1998-01-31 02:55:58 +00:00
|
|
|
Expand the distfile into a work directory.
|
2002-03-18 10:07:22 +00:00
|
|
|
.It Cm patch
|
1998-01-31 02:55:58 +00:00
|
|
|
Apply any patches that are necessary for the port.
|
2002-03-18 10:07:22 +00:00
|
|
|
.It Cm configure
|
|
|
|
Configure the port.
|
|
|
|
Some ports will ask you questions during this stage.
|
|
|
|
See
|
|
|
|
.Va INTERACTIVE
|
1998-01-31 02:55:58 +00:00
|
|
|
and
|
2002-03-18 10:07:22 +00:00
|
|
|
.Va BATCH .
|
|
|
|
.It Cm build
|
|
|
|
Build the port.
|
|
|
|
This is the same as calling the
|
|
|
|
.Cm all
|
1998-01-31 02:55:58 +00:00
|
|
|
target.
|
2002-03-18 10:07:22 +00:00
|
|
|
.It Cm install
|
|
|
|
Install the port and register it with the package system.
|
|
|
|
This is all you really need to do.
|
1998-01-31 02:55:58 +00:00
|
|
|
.El
|
|
|
|
.Pp
|
|
|
|
The following targets are not run during the normal install process.
|
2002-10-22 23:11:38 +00:00
|
|
|
.Bl -tag -width ".Cm fetch-recursive"
|
2004-06-02 14:15:35 +00:00
|
|
|
.It Cm showconfig
|
|
|
|
Display
|
|
|
|
.Va OPTIONS
|
|
|
|
config for this port.
|
|
|
|
.It Cm rmconfig
|
|
|
|
Remove
|
|
|
|
.Va OPTIONS
|
|
|
|
config for this port.
|
2002-03-18 10:07:22 +00:00
|
|
|
.It Cm fetch-list
|
2004-06-02 14:15:35 +00:00
|
|
|
Show list of files to be fetched in order to build the port.
|
2002-10-22 23:11:38 +00:00
|
|
|
.It Cm fetch-recursive
|
|
|
|
Fetch the distfiles of the port and all its dependencies.
|
2003-11-12 08:06:35 +00:00
|
|
|
.It Cm fetch-recursive-list
|
|
|
|
Show list of files that would be retrieved by
|
|
|
|
.Cm fetch-recursive .
|
2002-03-18 10:07:22 +00:00
|
|
|
.It Cm pretty-print-run-depends-list , pretty-print-build-depends-list
|
1998-01-31 02:55:58 +00:00
|
|
|
Print a list of all the compile and run dependencies, and dependencies
|
|
|
|
of those dependencies.
|
2002-03-18 10:07:22 +00:00
|
|
|
.It Cm clean
|
|
|
|
Remove the expanded source code.
|
|
|
|
This recurses to dependencies unless
|
|
|
|
.Va NOCLEANDEPENDS
|
1998-01-31 02:55:58 +00:00
|
|
|
is defined.
|
2002-03-18 10:07:22 +00:00
|
|
|
.It Cm distclean
|
|
|
|
Remove the port's distfiles and perform the
|
|
|
|
.Cm clean
|
2001-04-22 00:28:40 +00:00
|
|
|
target.
|
|
|
|
The
|
2002-03-18 10:07:22 +00:00
|
|
|
.Cm clean
|
1998-01-31 02:55:58 +00:00
|
|
|
portion recurses to dependencies unless
|
2002-03-18 10:07:22 +00:00
|
|
|
.Va NOCLEANDEPENDS
|
1998-01-31 02:55:58 +00:00
|
|
|
is defined, but the
|
2002-03-18 10:07:22 +00:00
|
|
|
.Cm distclean
|
1998-01-31 02:55:58 +00:00
|
|
|
portion never recurses
|
2001-08-07 15:48:51 +00:00
|
|
|
(this is perhaps a bug).
|
2002-03-18 10:07:22 +00:00
|
|
|
.It Cm reinstall
|
1998-01-31 02:55:58 +00:00
|
|
|
Use this to restore a port after using
|
|
|
|
.Xr pkg_delete 1
|
|
|
|
when you should have used
|
2002-03-18 10:07:22 +00:00
|
|
|
.Cm deinstall .
|
|
|
|
.It Cm deinstall
|
1998-01-31 02:55:58 +00:00
|
|
|
Remove an installed port from the system, similar to
|
|
|
|
.Xr pkg_delete 1 .
|
2003-11-12 08:06:35 +00:00
|
|
|
.It Cm deinstall-all
|
|
|
|
Remove all installed ports with the same
|
|
|
|
.Va PKGORIGIN
|
|
|
|
from the system.
|
2002-03-18 10:07:22 +00:00
|
|
|
.It Cm package
|
|
|
|
Make a binary package for the port.
|
|
|
|
The port will be installed if it has not already been.
|
|
|
|
The package is a
|
2003-02-22 11:57:09 +00:00
|
|
|
.Pa .tbz
|
2002-03-18 10:07:22 +00:00
|
|
|
file that you can use to
|
1998-01-31 02:55:58 +00:00
|
|
|
install the port on other machines with
|
|
|
|
.Xr pkg_add 1 .
|
|
|
|
If the directory specified by
|
2002-03-18 10:07:22 +00:00
|
|
|
.Va PACKAGES
|
|
|
|
does not exist, the package will be put into the current directory.
|
1998-02-07 21:07:51 +00:00
|
|
|
See
|
2002-03-18 10:07:22 +00:00
|
|
|
.Va PKGREPOSITORY
|
1998-02-07 21:07:51 +00:00
|
|
|
and
|
2002-03-18 10:07:22 +00:00
|
|
|
.Va PKGFILE .
|
2003-11-09 09:30:39 +00:00
|
|
|
.It Cm package-recursive
|
|
|
|
Like
|
|
|
|
.Cm package ,
|
|
|
|
but makes a package for each depending port as well.
|
2002-03-18 10:07:22 +00:00
|
|
|
.It Cm readmes
|
1998-02-07 21:07:51 +00:00
|
|
|
Create a port's
|
|
|
|
.Pa README.html .
|
1999-07-12 02:33:47 +00:00
|
|
|
This can be used from
|
|
|
|
.Pa /usr/ports
|
|
|
|
to create a browsable web of all ports on your system!
|
2002-03-18 10:07:22 +00:00
|
|
|
.It Cm search
|
2001-04-22 00:28:40 +00:00
|
|
|
Search the
|
|
|
|
.Pa INDEX
|
|
|
|
file for the pattern specified by either the
|
2002-03-18 10:07:22 +00:00
|
|
|
.Va key
|
2001-04-22 00:28:40 +00:00
|
|
|
(searches the port name, comment, and dependencies) or
|
2002-03-18 10:07:22 +00:00
|
|
|
.Va name
|
|
|
|
(searches the port name only)
|
|
|
|
.Xr make 1
|
|
|
|
variable.
|
2001-04-22 00:28:40 +00:00
|
|
|
For example, one would type:
|
|
|
|
.Pp
|
2002-03-18 10:07:22 +00:00
|
|
|
.Dl "cd /usr/ports && make search name=query"
|
2001-04-22 00:28:40 +00:00
|
|
|
.Pp
|
|
|
|
to find all ports whose
|
|
|
|
name matches
|
2002-03-18 10:07:22 +00:00
|
|
|
.Dq Li query .
|
2001-04-22 00:28:40 +00:00
|
|
|
Results include the matching ports' path, comment, maintainer,
|
|
|
|
build dependencies, and run dependencies.
|
2004-06-02 14:15:35 +00:00
|
|
|
.It Cm describe
|
|
|
|
Generate a one-line description of each port for use in the
|
|
|
|
.Pa INDEX
|
|
|
|
file.
|
2002-03-18 10:07:22 +00:00
|
|
|
.It Cm index
|
2001-04-22 00:28:40 +00:00
|
|
|
Create
|
|
|
|
.Pa /usr/ports/INDEX ,
|
|
|
|
which is used by the
|
2002-03-18 10:07:22 +00:00
|
|
|
.Cm pretty-print-*
|
2001-04-22 00:28:40 +00:00
|
|
|
and
|
2002-03-18 10:07:22 +00:00
|
|
|
.Cm search
|
2001-04-22 00:28:40 +00:00
|
|
|
targets.
|
2002-03-18 10:07:22 +00:00
|
|
|
While the master
|
|
|
|
.Pa INDEX
|
|
|
|
file in the CVS repository is periodically
|
2001-04-22 00:28:40 +00:00
|
|
|
updated, running the
|
2002-03-18 10:07:22 +00:00
|
|
|
.Cm index
|
|
|
|
target will ensure your
|
|
|
|
.Pa INDEX
|
|
|
|
file is up to date with your ports tree.
|
2000-12-29 09:18:45 +00:00
|
|
|
.El
|
1999-08-15 10:48:36 +00:00
|
|
|
.Sh ENVIRONMENT
|
1998-01-31 02:55:58 +00:00
|
|
|
You can change all of these.
|
2002-03-18 10:07:22 +00:00
|
|
|
.Bl -tag -width ".Va MASTER_SITES"
|
|
|
|
.It Va PORTSDIR
|
|
|
|
Location of the ports tree.
|
|
|
|
This is
|
1998-01-31 02:55:58 +00:00
|
|
|
.Pa /usr/ports
|
|
|
|
on
|
2000-11-14 11:20:58 +00:00
|
|
|
.Fx
|
1998-01-28 01:09:46 +00:00
|
|
|
and
|
2002-03-18 10:07:22 +00:00
|
|
|
.Ox ,
|
1998-01-31 02:55:58 +00:00
|
|
|
and
|
|
|
|
.Pa /usr/pkgsrc
|
|
|
|
on
|
|
|
|
.Nx .
|
2002-03-18 10:07:22 +00:00
|
|
|
.It Va WRKDIRPREFIX
|
|
|
|
Where to create any temporary files.
|
|
|
|
Useful if
|
|
|
|
.Va PORTSDIR
|
|
|
|
is read-only (perhaps mounted from a CD-ROM).
|
|
|
|
.It Va DISTDIR
|
1998-01-31 02:55:58 +00:00
|
|
|
Where to find/put distfiles, normally
|
|
|
|
.Pa distfiles/
|
|
|
|
in
|
2002-03-18 10:07:22 +00:00
|
|
|
.Va PORTSDIR .
|
|
|
|
.It Va PACKAGES
|
1998-01-31 02:55:58 +00:00
|
|
|
Used only for the
|
2002-03-18 10:07:22 +00:00
|
|
|
.Cm package
|
1998-01-31 02:55:58 +00:00
|
|
|
target; the base directory for the packages tree, normally
|
|
|
|
.Pa packages/
|
|
|
|
in
|
2002-03-18 10:07:22 +00:00
|
|
|
.Va PORTSDIR .
|
1998-01-31 02:55:58 +00:00
|
|
|
If this directory exists, the package tree will be (partially) constructed.
|
2002-03-18 10:07:22 +00:00
|
|
|
This directory does not have to exist; if it does not, packages will be
|
1998-02-07 21:07:51 +00:00
|
|
|
placed into the current directory, or you can define one of
|
2002-03-18 10:07:22 +00:00
|
|
|
.Bl -tag -width ".Va PKGREPOSITORY"
|
|
|
|
.It Va PKGREPOSITORY
|
1998-02-07 21:07:51 +00:00
|
|
|
Directory to put the package in.
|
2002-03-18 10:07:22 +00:00
|
|
|
.It Va PKGFILE
|
1998-01-31 02:55:58 +00:00
|
|
|
The full path to the package.
|
|
|
|
.El
|
2002-03-18 10:07:22 +00:00
|
|
|
.It Va PREFIX
|
1998-01-31 02:55:58 +00:00
|
|
|
Where to install things in general
|
2001-08-07 15:48:51 +00:00
|
|
|
(usually
|
1998-01-31 02:55:58 +00:00
|
|
|
.Pa /usr/local
|
|
|
|
or
|
2002-03-18 10:07:22 +00:00
|
|
|
.Pa /usr/X11R6 ) .
|
|
|
|
.It Va MASTER_SITES
|
1998-01-28 01:09:46 +00:00
|
|
|
Primary sites for distribution files if not found locally.
|
2002-03-18 10:07:22 +00:00
|
|
|
.It Va PATCH_SITES
|
|
|
|
Primary locations for distribution patch files if not found
|
1998-01-28 01:09:46 +00:00
|
|
|
locally.
|
2002-03-18 10:07:22 +00:00
|
|
|
.It Va MASTER_SITE_FREEBSD
|
2000-11-14 11:20:58 +00:00
|
|
|
If set, go to the master
|
|
|
|
.Fx
|
|
|
|
site for all files.
|
2002-03-18 10:07:22 +00:00
|
|
|
.It Va MASTER_SITE_OVERRIDE
|
2003-06-23 20:01:58 +00:00
|
|
|
Try going to these sites for all files and patches, first.
|
2002-03-18 10:07:22 +00:00
|
|
|
.It Va NOCLEANDEPENDS
|
|
|
|
If defined, do not let
|
|
|
|
.Cm clean
|
1998-01-31 02:55:58 +00:00
|
|
|
recurse to dependencies.
|
2002-03-18 10:07:22 +00:00
|
|
|
.It Va FETCH_CMD
|
|
|
|
Command to use to fetch files.
|
|
|
|
Normally
|
1998-01-31 02:55:58 +00:00
|
|
|
.Xr fetch 1 .
|
2002-03-18 10:07:22 +00:00
|
|
|
.It Va FORCE_PKG_REGISTER
|
1998-01-31 02:55:58 +00:00
|
|
|
If set, overwrite any existing package registration on the system.
|
2002-03-18 10:07:22 +00:00
|
|
|
.It Va MOTIFLIB
|
|
|
|
Location of
|
|
|
|
.Pa libXm. Ns Brq Pa a , Ns Pa so .
|
|
|
|
.It Va INTERACTIVE
|
1998-01-31 02:55:58 +00:00
|
|
|
If defined, only operate on a port if it requires interaction.
|
2002-03-18 10:07:22 +00:00
|
|
|
.It Va BATCH
|
1998-01-31 02:55:58 +00:00
|
|
|
If defined, only operate on a port if it can be installed 100% automatically.
|
2004-06-02 14:15:35 +00:00
|
|
|
.It Va OPTIONS
|
|
|
|
If defined, list of what
|
|
|
|
.Va WITH_*
|
|
|
|
options this port accepts.
|
|
|
|
.Em Note :
|
|
|
|
to make
|
|
|
|
.Va OPTIONS
|
|
|
|
actually work, it is necessary to include
|
|
|
|
.Pa bsd.port.pre.mk
|
|
|
|
before starting to test the
|
|
|
|
.Va WITH_*
|
|
|
|
variables.
|
1998-01-31 02:55:58 +00:00
|
|
|
.El
|
1997-11-09 06:05:45 +00:00
|
|
|
.Sh FILES
|
2002-03-18 10:07:22 +00:00
|
|
|
.Bl -tag -width ".Pa /usr/ports/Mk/bsd.port.mk" -compact
|
1997-11-09 06:05:45 +00:00
|
|
|
.It Pa /usr/ports
|
2000-11-14 11:20:58 +00:00
|
|
|
The default ports directory
|
2001-08-07 15:48:51 +00:00
|
|
|
.No ( Fx
|
2000-11-14 11:20:58 +00:00
|
|
|
and
|
2001-08-07 15:48:51 +00:00
|
|
|
.Ox ) .
|
1998-01-28 01:09:46 +00:00
|
|
|
.It Pa /usr/pkgsrc
|
2001-08-13 17:00:36 +00:00
|
|
|
The default ports directory
|
|
|
|
.Pq Nx .
|
1999-05-02 05:04:26 +00:00
|
|
|
.It Pa /usr/ports/Mk/bsd.port.mk
|
1998-01-31 02:55:58 +00:00
|
|
|
The big Kahuna.
|
2000-12-29 09:18:45 +00:00
|
|
|
.El
|
1997-11-09 06:05:45 +00:00
|
|
|
.Sh SEE ALSO
|
|
|
|
.Xr make 1 ,
|
|
|
|
.Xr pkg_add 1 ,
|
|
|
|
.Xr pkg_create 1 ,
|
|
|
|
.Xr pkg_delete 1 ,
|
1998-12-30 17:32:47 +00:00
|
|
|
.Xr pkg_info 1 ,
|
2000-01-02 17:55:03 +00:00
|
|
|
.Xr pkg_version 1
|
1999-08-15 10:48:36 +00:00
|
|
|
.Pp
|
|
|
|
The following are part of the ports collection:
|
|
|
|
.Pp
|
|
|
|
.Xr pib 1 ,
|
|
|
|
.Xr portcheckout 1 ,
|
1999-07-12 07:49:28 +00:00
|
|
|
.Xr portlint 1
|
2002-03-18 10:07:22 +00:00
|
|
|
.Rs
|
|
|
|
.%B "The FreeBSD Handbook"
|
|
|
|
.Re
|
1998-01-31 02:55:58 +00:00
|
|
|
.Pp
|
2002-03-18 10:07:22 +00:00
|
|
|
.Pa http://www.FreeBSD.org/ports
|
2001-08-07 15:48:51 +00:00
|
|
|
(searchable index of all ports)
|
1997-11-09 06:05:45 +00:00
|
|
|
.Sh AUTHORS
|
2000-11-22 09:35:58 +00:00
|
|
|
.An -nosplit
|
1998-03-12 07:31:21 +00:00
|
|
|
This man page was originated by
|
|
|
|
.An David O'Brien .
|
1997-11-09 06:05:45 +00:00
|
|
|
.Sh HISTORY
|
2002-03-18 10:07:22 +00:00
|
|
|
The Ports Collection
|
1997-11-09 06:05:45 +00:00
|
|
|
appeared in
|
|
|
|
.Fx 1.0 .
|
1999-07-12 02:33:47 +00:00
|
|
|
It has since spread to
|
|
|
|
.Nx
|
|
|
|
and
|
|
|
|
.Ox .
|
1998-01-31 02:55:58 +00:00
|
|
|
.Sh BUGS
|
2002-03-18 10:07:22 +00:00
|
|
|
Ports documentation is split over four places \(em
|
1999-04-29 21:41:11 +00:00
|
|
|
.Pa /usr/ports/Mk/bsd.port.mk ,
|
2002-03-18 10:07:22 +00:00
|
|
|
.%B "The Porter's Handbook" ,
|
1998-01-31 02:55:58 +00:00
|
|
|
the
|
2002-03-18 10:07:22 +00:00
|
|
|
.Dq "Packages and Ports"
|
2002-03-12 09:45:29 +00:00
|
|
|
chapter of
|
2002-03-18 10:07:22 +00:00
|
|
|
.%B "The FreeBSD Handbook" ,
|
2002-03-12 09:45:29 +00:00
|
|
|
and
|
2002-12-24 13:41:48 +00:00
|
|
|
this man page.
|
1998-01-31 02:55:58 +00:00
|
|
|
.Pp
|
|
|
|
This man page is too long.
|